Prometheus integration for Zope/Plone.
Project description
This package publishes Plone statistics in a format that can be consumed by Prometheus.
It was largely based on munin.zope. See https://pypi.org/project/munin.zope/
It provides the following data:
The number of running Zope threads
The number of Zope threads not in use
The number of objects in the Zope cache
Memory used by the Zope cache
The number of objects that can be stored in the Zope cache
ZODB load count
ZODB store count
ZODB connections
Active Zope Objects
Total Zope Objects
Installation (using Buildout)
Add collective.prometheus to your instance eggs in buildout.cfg.
Usage
Assuming Plone listens on localhost:8000, start your Plone instance and visit http://localhost:8000/@@metrics to see the output and confirm that data is being reported.
If so, add a job to your scrape_configs in pometheus.yaml:
- job_name: 'plone'
metrics_path: '/@@metrics'
static_configs:
- targets: ['localhost:8000']
1.1
Add per connection caches active and total object counts
1.0
Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for collective.prometheus-1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3901f72a279729ffd370c9e986412adcad3b68fd5290ec181119031b7d1379b |
|
MD5 | 89e8f127be2c81ab980ab0fe72e82579 |
|
BLAKE2b-256 | 94440a50a3b215926326e153025a13c307f9cfa1b463c29fb8ba9dbcf7f4ba2b |
Hashes for collective.prometheus-1.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72d197d12a76b2dca5f51f92d81accb805bf60a512a57e0f8544a8b0c2cf81fb |
|
MD5 | 5f8b51e714aab75a4c29779bb1e470fb |
|
BLAKE2b-256 | c6ae54859b032a797fa7f2902bf563300a3eeefd4427f5139bc66ae4c68e1bd6 |