Ganglia is going away, and we have a couple of things that talk directly to it.
Here is the replacement:
https://wikitech.wikimedia.org/w/index.php?title=Prometheus
Ganglia is going away, and we have a couple of things that talk directly to it.
Here is the replacement:
https://wikitech.wikimedia.org/w/index.php?title=Prometheus
PHP client library: https://github.com/Jimdo/prometheus_client_php
Metric types: https://prometheus.io/docs/concepts/metric_types/
All we're using it for is to count donations per gateway and overall at the end of each donation queue consumer run. Sounds like the 'counter' metric is just fine.
The client library says it uses redis for client-side aggregation. Any reason we can't use the same instance as we do for queues?
Change 379442 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/crm@master] WIP: Prometheus metrics reporting
Change 379806 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/crm@master] Delete ganglia_reporter, use new module
Change 379442 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Prometheus metrics reporting
Change 379806 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Delete ganglia_reporter, use new module
Please write to /var/spool/prometheus/*.prom and just make sure they're readable by user prometheus. The dir has a group sticky bit, hopefully that will help.
Change 380799 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/crm@master] Prometheus: add extension, update default dir
Change 380799 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Prometheus: add extension, update default dir
OK, the new file queue2civicrm.prom is appearing in that directory. Do we have to do anything more to make the stats show up in the dashboards?