You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/practices/labels.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,22 @@ Prometheus labels can come from both the target and from
15
15
16
16
By default Prometheus configures two primary discovery target labels.
17
17
18
-
*`job`
19
-
* The `job` label is one of the few ubiquitious labels, set at scrape time, and is
20
-
used to identify metrics scraped from the same target/exporter.
21
-
* If not specified in PromQL expressions, they will match unrelated metrics with the same name. This is especially true in a multi system or multi tenant installation
18
+
-`job`
19
+
- The `job` label is one of the few ubiquitious labels, set at scrape time, and is
20
+
used to identify metrics scraped from the same target/exporter.
21
+
- If not specified in PromQL expressions, they will match unrelated metrics with the same name. This is especially true in a multi system or multi tenant installation
22
22
23
23
WARNING: When using `without`, be careful not to strip out the `job` label accidentally.
24
24
25
-
*`instance`
26
-
* The `instance` label will include the `ip:port` what was scraped, providing a
27
-
crucial breadcrumb for debugging scrape time issues
25
+
-`instance`
26
+
- The `instance` label will include the `ip:port` what was scraped
28
27
29
28
### General Labelling Advice
30
29
31
30
Use labels to differentiate the characteristics of the thing that is being measured:
0 commit comments