As time of writing, we have two Prometheus exports supported. We should document how this works - [x] #3406 - [x] #3421 - [x] https://github.com/coder/coder/pull/5179
Activity
[-]Docs for prometheus metrics export[/-][+]docs: prometheus metrics export[/+]ammario commentedon Sep 8, 2022
We should also share what exactly we export, ideally by linking to some code to avoid staleness.
[-]docs: prometheus metrics export[/-][+]docs: observability & prometheus[/+]mtojek commentedon Nov 28, 2022
I spent some time browsing the source code to collect all references to Prometheus metrics:
CODER_PROMETHEUS_ENABLEor--prometheus-enableto expose the Prometheus endpoint.I will convert these points into a dedicated doc page.
Prometheus response for reference:
localhost:2112