mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08: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
|
@ -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…
Reference in a new issue