Skip to content

Files

Latest commit

 

History

History
9 lines (5 loc) · 618 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 618 Bytes

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.

For more information, please see: https://meta.discourse.org/t/prometheus-exporter-plugin-for-discourse/72666