https://github.com/discourse/discourse-prometheus
Official Discourse Plugin for Prometheus Monitoring
https://github.com/discourse/discourse-prometheus
discourse-plugin
Last synced: 3 months ago
JSON representation
Official Discourse Plugin for Prometheus Monitoring
- Host: GitHub
- URL: https://github.com/discourse/discourse-prometheus
- Owner: discourse
- License: mit
- Created: 2017-10-18T06:25:43.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T12:26:32.000Z (3 months ago)
- Last Synced: 2025-04-09T13:29:58.310Z (3 months ago)
- Topics: discourse-plugin
- Language: Ruby
- Homepage:
- Size: 679 KB
- Stars: 16
- Watchers: 20
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Official Prometheus Exporter Plugin for Discourse
The Discourse Prometheus plugin collects key metrics from Discourse and exposes them in the `/metrics` path so prometheus can consume them.
## Adding custom global collectors
The global reporter can pick custom metrics added by other Discourse plugins. The metric needs to define a collect method, and the `name`, `labels`, `description`, `value`, and `type` attributes. See an example [here](https://github.com/discourse/discourse-antivirus/pull/15).
For more information, please see: https://meta.discourse.org/t/prometheus-exporter-plugin-for-discourse/72666