The configuration of the metrics-reporter-prometheus plugin is done in the
To access the monitoring URL, a user must be a member of a group that is granted the ‘View Metrics’ capability (provided by this plugin) or the ‘Administrate Server’ capability. Alternatively, authentication using prometheus bearer token is also supported.
This capability can be configured in the ‘Global Capabilities’ section of the ‘All-Projects’ access right.
It is possible to allow anonymous access to the metrics by giving the capability to the ‘Anonymous Users’ group.
When defined, access to the plugins/metrics-reporter-prometheus/metrics URL does not require any authentication and do not check any ACL related to the ‘View Metrics’ global capability. See Prometheus documentation for how to configure the integration with Prometheus.
excludeMetrics = cache.*
Back to metrics-reporter-prometheus documentation index