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 (if ZServer is available)
The number of Zope threads not in use (if ZServer is available)
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.3.0
Fail gracefully when ZServer isn’t available
1.2.1
Fix a typo in output
1.2
Add documentation
Number Zope connections instead of using their ID
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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1506c6e2804f54ba1e95bbe219c60e7bc824e47724603021fc82517734bbc7a5 |
|
MD5 | c14a854a3ffbced68b5f8236715223ac |
|
BLAKE2b-256 | 65a26a348bc467448441dc2858a6d924fb957c88f4601da5fe76000104006de4 |
Hashes for collective.prometheus-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1198684cfd3b4412c491db225ede6e30b04e413f87505d8c554b80276a79fee |
|
MD5 | 2bae922e0552db716e8f87a1e14569ca |
|
BLAKE2b-256 | 54c1849a6a1d1016c82d88793e8c3f472e52c833dd092e31a62ae835709a6240 |