comparison config/scrape_recent.yaml @ 58:0064c490c33d

some tiny scrape configs for testing multi-node vmstorage/vmselect
author drewp@bigasterisk.com
date Fri, 26 Apr 2024 15:48:22 -0700
parents
children
comparison
equal deleted inserted replaced
57:b3addcd4486c 58:0064c490c33d
1 # see https://relabeler.promlabs.com/
2
3 global:
4 scrape_interval: 1m
5 scrape_timeout: 10s
6
7
8 scrape_configs:
9 # some based on https://github.com/prometheus/prometheus/blob/main/documentation/examples/prometheus-kubernetes.yml
10
11 - job_name: "telegraf"
12 scheme: http
13 kubernetes_sd_configs: [{ role: node }]
14 relabel_configs:
15 - source_labels: [__address__]
16 regex: "(.*):(\\d+)"
17 target_label: __address__
18 replacement: "${1}:9273"
19 action: replace