You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Admin docs: monitoring OpenCloud with Prometheus #1237
The admin docs have no page about metrics or monitoring yet: OpenCloud exposes Prometheus metrics, and OpenCloud Compose has monitoring files for them, but admins have to find out on their own where the metrics are and how to collect them.
Add an admin page "Monitoring with Prometheus" that documents how it works today:
where OpenCloud exposes its metrics: the debug server of each service (*_DEBUG_ADDR, path /metrics); in a single OpenCloud process all debug servers return the same metrics, so one endpoint is enough; the default address only accepts local connections;
enabling the metrics endpoints with OpenCloud Compose (monitoring/monitoring.yml, monitoring/monitoring-collaboration.yml, the opencloud-net network), and how to check them;
protecting the endpoint with *_DEBUG_TOKEN (bearer token);
a Prometheus scrape configuration, with and without the token;
the duration histograms: classic histograms (buckets, _bucket/_count/_sum, example output, PromQL examples), and the native histogram of the proxy (opencloud_proxy_request_duration_seconds), how to enable native histograms in Prometheus per version, and the classic fallbacks for setups without native histograms;
a list of the duration histograms with their labels and buckets.
The changes to the histograms that are in progress (opencloud-eu/opencloud#3817) are documented separately in #1235, on top of this page.
Activity