Comments (5)
Definitely keep it. We make use of it to log load and store counts and record those statistics to statsd and maybe other things I'm forgetting.
We currently have our own base class that all of our monitors inherit from so that we can chain them together:
def register_subscriber(event):
"""
Subscriber to the :class:`zope.processlifetime.IDatabaseOpenedWithRoot`
that registers an activity monitor.
"""
# IDatabaseOpened fires for each database, so if we sub to that we'd do this many times.
# WithRoot fires only once.
for database in event.database.databases.values():
dam = database.getActivityMonitor()
database.setActivityMonitor(StatsdActivityMonitor(LogActivityMonitor(dam)))
from zodb.
I gather that at least sometimes some others found it useful too. Although they have perhaps not been maintained
from zodb.
haha zc.zodbactivitylog
from zodb.
I guess it should get documented.
from zodb.
haha zc.zodbactivitylog
Which turns out to be remarkably like our own solution. I honestly don't think I'd come across it until now. Great minds think alike, as they say, or at least, sometimes later lesser minds like mine experience inspiration without knowing it.
from zodb.
Related Issues (20)
- fsoids script fails reporting the shortened tid description on Python 3
- DeprecationWarning in Python 3.10
- `fsstats` no longer matches output of `fsdump`
- Change `pack_date` interpretation?
- Any objections to releasing 5.7.0? HOT 3
- Blob usage depending on file size HOT 4
- 5.7.0: missing git tag? HOT 2
- 5.7.0: documentation build fails with sphinx 5.x HOT 11
- 5.7.0: pytest warning and ZODB/tests should not be installed HOT 13
- PyInstaller fails to find ZODB's config.xml and exe will no run when using a provided config from URL HOT 2
- Incorporating Blob with ClientStorage HOT 8
- Dual Inquiry: 2022 Best Practices for ZODB usage outside of ZOPE using ZEO SharedStorage HOT 1
- FileStorage and other api doesn't support pathlib interface. HOT 1
- with transaction() doesn't work as expected
- On ZODB's scalability HOT 6
- [Question] documentation for contributor of ZODB ecosystem HOT 1
- Switch test name prefix from `check` to `test`. HOT 2
- ZODB with nogil Python HOT 1
- check7ZODBThreads -> failed with InvalidObjectReference HOT 5
- PyPI Owner rights for ZODB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zodb.