Deployment metrics
Learn about the deployment metrics Coder exposes and how to use them to monitor health.
On this page
Coder exposes Prometheus metrics that show the current state of a live Coder deployment. This page helps administrators find the metrics for each part of a deployment and turn them on.
If you don't have a Prometheus server, follow the Prometheus Getting started guide.
Set up metrics
Set up metricsThe Prometheus integration guide covers setup for the control plane:
- Enable Prometheus metrics in the control plane.
- Enable the Prometheus endpoint in Helm if you deploy on Kubernetes.
- Configure Prometheus to scrape Coder metrics.
Some components run as separate processes and serve metrics on their own endpoints. Turn on and scrape each of them separately. The pages in the next section explain how.
Metrics by area
Metrics by areaEach of these pages covers monitoring for one part of a deployment:
| Area | Page | Separate endpoint |
|---|---|---|
| External provisioners | Provisioner metrics | Yes |
| Workspace proxies | Workspace proxy observability | Yes |
| Prebuilt workspaces | Prebuilt workspace metrics | No |
| AI Gateway | AI Gateway Prometheus metrics | Standalone only |
| Agent Relay | Agent Relay Prometheus metrics | Yes |
All metrics
All metricsFor every metric Coder exports, with its type, description, and labels, refer to Available metrics.