Файли
rocm-systems/projects/rdc/python_binding/rdc_prometheus_example.yml
T
systems-assistant[bot] c2312be1a2 Add 'projects/rdc/' from commit '5ae7eeb3550d4cb14cbc31d3022e545b054f1ad1'
git-subtree-dir: projects/rdc
git-subtree-mainline: a68afa42a1
git-subtree-split: 5ae7eeb355
2025-07-22 22:52:37 +00:00

24 рядки
807 B
YAML

# global config
global:
scrape_interval: 10s # Set the scrape interval to every 10 seconds. Default is every 1 minute.
evaluation_interval: 10s # Evaluate rules every 10 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# A scrape configuration where the endpoints to scrape will be defined at prometheus_targets.json:
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'rdc'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
# Remove the port for display
relabel_configs:
- source_labels: [__address__]
regex: '([^:]+):\d+'
target_label: short_instance
file_sd_configs:
- files:
- 'prometheus_targets.json'