Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions admin/prometheus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Prometheus integration
description: Learn how to configure Prometheus with Coder.
---

The Prometheus integration enables you to query and visualize Coder's platform
metrics.

## Requirements

- A Coder deployment on Kubernetes
- [Prometheus Operator](https://github.com/prometheus-operator/prometheus-operator)
installed on your cluster

## Configuration

Coder sends Prometheus-formatted metrics to port `2112` on the `coderd`
container. Use the below PodMonitor resource to connect the Prometheus Operator
to this endpoint:

```yaml
apiVersion: monitoring.coreos.com/v1
kind: PodMonitor
metadata:
name: master-monitor
namespace: coder
spec:
selector:
matchLabels:
app.kubernetes.io/component: coderd
podMetricsEndpoints:
- port: prom-coderd
```
3 changes: 3 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,9 @@
{
"path": "./admin/git.md"
},
{
"path": "./admin/prometheus.md"
},
{
"path": "./admin/licensing.md"
},
Expand Down