mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-03 19:13:23 +00:00
Example config: Add labels to static_configs (#13327)
Signed-off-by: 김가윤 <60080153+KaYunKIM@users.noreply.github.com> Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
e04913aea2
commit
86bb04783c
1 changed files with 3 additions and 0 deletions
|
@ -27,3 +27,6 @@ scrape_configs:
|
||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ["localhost:9090"]
|
- targets: ["localhost:9090"]
|
||||||
|
# The label name is added as a label `label_name=<label_value>` to any timeseries scraped from this config.
|
||||||
|
labels:
|
||||||
|
app: "prometheus"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue