mirror of
https://github.com/fosrl/newt.git
synced 2025-12-05 19:17:38 -06:00
17 lines
420 B
YAML
17 lines
420 B
YAML
global:
|
|
scrape_interval: 15s
|
|
|
|
scrape_configs:
|
|
# IMPORTANT: Do not scrape Newt directly; scrape only the Collector!
|
|
- job_name: 'otel-collector'
|
|
static_configs:
|
|
- targets: ['otel-collector:8889']
|
|
|
|
# optional: limit metric cardinality
|
|
relabel_configs:
|
|
- action: labeldrop
|
|
regex: 'tunnel_id'
|
|
# - action: keep
|
|
# source_labels: [site_id]
|
|
# regex: '(site-a|site-b)'
|