Skip to content

Commit afbd36c

Browse files
committed
improve docs
1 parent 5479ba7 commit afbd36c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stacks/monitoring/prometheus-service-monitors.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ spec:
5858
targetLabel: __tmp_clusterdomain__
5959
regex: ^$
6060
replacement: "cluster.local"
61-
# Scheme and Port
61+
# Scheme and port extraction
6262
- sourceLabels:
6363
- __meta_kubernetes_service_annotation_prometheus_io_scheme
6464
targetLabel: __scheme__
@@ -75,6 +75,7 @@ spec:
7575
- __meta_kubernetes_service_annotation_prometheus_io_port
7676
targetLabel: __address__
7777
regex: (.+);(.+);(.+);(\d+)
78+
# <service-name>.<namespace>.svc.<cluster-domain>:<port>
7879
replacement: $1.$2.svc.$3:$4
7980
tlsConfig:
8081
ca:

0 commit comments

Comments
 (0)