-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMetrics.example.yaml
More file actions
56 lines (50 loc) · 1.53 KB
/
Metrics.example.yaml
File metadata and controls
56 lines (50 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# How long to keep metrics before clearing. Set to null to disable clearing
# (only safe when using label_whitelist to bound cardinality).
metric_clear_timeout: 1s
# metric_clear_timeout: null # disable clearing
# Scrape endpoint (default: true). Set to false if using remote write only.
# scrape_enabled: false
# Remote write destinations (optional). Push metrics to one or more
# Prometheus-compatible endpoints instead of (or in addition to) scraping.
# remote_write:
# - name: grafana-cloud
# url: https://prometheus-prod-01-eu-west-0.grafana.net/api/prom/push
# username: "123456"
# password: "glc_xxx..."
# interval: 15s
# - name: local-victoriametrics
# url: http://localhost:8428/api/v1/write
# interval: 10s
# headers:
# X-Custom-Header: "my-value"
metrics:
- type: dns
endpoint: jup.ag
frequency: 1s
# Only keep these labels on recorded metrics (reduces cardinality).
# Omit to keep all labels.
label_whitelist:
- country_code
- endpoint
network:
proxy: denied
mobile: allowed
residential: required
country_code: PHL
- type: dns
endpoint: bitping.com
frequency: 1s
network:
proxy: denied
mobile: allowed
residential: required
- type: icmp
endpoint: bitping.com
frequency: 1s
network:
proxy: denied
mobile: allowed
residential: required
- type: hls
endpoint: https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel.mp4/.m3u8
frequency: 15s