Coder has open-sourced a new remote development platform 🥳 Check it out at coder/coder on GitHub.

Prometheus integration

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

Requirements

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:

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

Was this page helpful? Share your experience with us.

 

See an opportunity to improve our docs? Make an edit.