1
0
mirror of https://github.com/prometheus/prometheus synced 2025-03-25 04:36:53 +00:00

Example config: Add labels to static_configs ()

Signed-off-by: 김가윤 <60080153+KaYunKIM@users.noreply.github.com>
Co-authored-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
김가윤 2025-02-20 00:24:30 +09:00 committed by GitHub
parent e04913aea2
commit 86bb04783c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"