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>
pull/16006/head
김가윤 4 months ago committed by GitHub
parent e04913aea2
commit 86bb04783c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      documentation/examples/prometheus.yml

@ -27,3 +27,6 @@ scrape_configs:
static_configs:
- 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…
Cancel
Save