2025-11-18 21:32:01 +02:00
|
|
|
---
|
|
|
|
|
apiVersion: monitoring.coreos.com/v1
|
|
|
|
|
kind: ServiceMonitor
|
|
|
|
|
metadata:
|
|
|
|
|
name: iperf3-exporter
|
|
|
|
|
labels:
|
|
|
|
|
app: iperf3-exporter
|
|
|
|
|
release: prometheus
|
|
|
|
|
spec:
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: iperf3-exporter
|
|
|
|
|
endpoints:
|
|
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
2025-11-18 22:30:15 +02:00
|
|
|
target: ['iperf3-ch.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
2025-11-18 21:32:01 +02:00
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
2025-11-18 22:30:15 +02:00
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: ch.tail2fe2d.ts.net
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-us.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: us.tail2fe2d.ts.net
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-iris.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: iris.khv
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-home.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: home.homenet
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-master.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
2025-11-18 22:13:12 +02:00
|
|
|
- sourceLabels: [__param_target]
|
2025-11-18 22:30:15 +02:00
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: de.hexor.cy
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-it.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
2025-11-18 22:21:17 +02:00
|
|
|
- sourceLabels: [__param_target]
|
2025-11-18 22:30:15 +02:00
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: it.hexor.cy
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-nas.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: nas.homenet
|
2025-11-18 22:30:15 +02:00
|
|
|
- port: metrics
|
|
|
|
|
path: /probe
|
|
|
|
|
interval: 5m
|
|
|
|
|
scrapeTimeout: 30s
|
|
|
|
|
params:
|
|
|
|
|
target: ['iperf3-spb.iperf3.svc.cluster.local:5201']
|
|
|
|
|
period: ['10s']
|
|
|
|
|
streams: ['4']
|
|
|
|
|
relabelings:
|
|
|
|
|
- sourceLabels: [__param_target]
|
|
|
|
|
targetLabel: instance
|
|
|
|
|
- targetLabel: __address__
|
2025-11-18 23:57:43 +02:00
|
|
|
replacement: spb.tail2fe2d.ts.net
|
2025-11-18 21:32:01 +02:00
|
|
|
metricRelabelings:
|
|
|
|
|
- sourceLabels: [__name__]
|
|
|
|
|
regex: iperf3_(.+)
|
|
|
|
|
targetLabel: __name__
|
2025-11-18 21:44:00 +02:00
|
|
|
replacement: network_${1}
|