File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Prometheus integration
3
+ description : Learn how to configure Prometheus with Coder.
4
+ ---
5
+
6
+ The Prometheus integration enables you to query and visualize Coder's platform
7
+ metrics.
8
+
9
+ ## Requirements
10
+
11
+ - A Coder deployment on Kubernetes
12
+ - [ Prometheus Operator] ( https://github.com/prometheus-operator/prometheus-operator )
13
+ installed on your cluster
14
+
15
+ ## Configuration
16
+
17
+ Coder sends Prometheus-formatted metrics to port ` 2112 ` on the ` coderd `
18
+ container. Use the below PodMonitor resource to connect the Prometheus Operator
19
+ to this endpoint:
20
+
21
+ ``` yaml
22
+ apiVersion : monitoring.coreos.com/v1
23
+ kind : PodMonitor
24
+ metadata :
25
+ name : master-monitor
26
+ namespace : coder
27
+ spec :
28
+ selector :
29
+ matchLabels :
30
+ app.kubernetes.io/component : coderd
31
+ podMetricsEndpoints :
32
+ - port : prom-coderd
33
+ ` ` `
Original file line number Diff line number Diff line change 371
371
{
372
372
"path" : " ./admin/git.md"
373
373
},
374
+ {
375
+ "path" : " ./admin/prometheus.md"
376
+ },
374
377
{
375
378
"path" : " ./admin/licensing.md"
376
379
},
You can’t perform that action at this time.
0 commit comments