An open API service indexing awesome lists of open source software.

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

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