apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Ā labels:
Ā Ā k8s-app: prometheus-blackbox-exporter
Ā name: prometheus-blackbox-exporter
Ā namespace: monitoring
spec:
Ā endpoints:
Ā - interval: 60s
Ā Ā port: http-metrics
Ā - interval: 60s
Ā Ā params:
Ā Ā Ā module:
Ā Ā Ā Ā - health
Ā Ā Ā targets:
Ā Ā Ā Ā - https://google.com
Ā Ā Ā Ā - https://github.io
Ā Ā path: "/probe"
Ā Ā targetPort: 9115
Ā Ā relabelings:
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_target
Ā Ā Ā Ā targetLabel: target
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_module
Ā Ā Ā Ā targetLabel: module
Ā namespaceSelector:
Ā Ā matchNames:
Ā Ā - monitoring
Ā selector:
Ā Ā app: prometheus-blackbox-exporterapiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
Ā labels:
Ā Ā k8s-app: prometheus-blackbox-exporter
Ā name: prometheus-blackbox-exporter
Ā namespace: monitoring
spec:
Ā endpoints:
Ā - interval: 60s
Ā Ā path: "/probe"
Ā Ā targetPort: 9115
Ā Ā relabelings:
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_target
Ā Ā Ā Ā targetLabel: target
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_module
Ā Ā Ā Ā targetLabel: module
Ā - interval: 60s
Ā Ā params:
Ā Ā Ā module:
Ā Ā Ā Ā - health
Ā Ā Ā targets:
Ā Ā Ā Ā - https://github.io
Ā Ā path: "/probe"
Ā Ā targetPort: 9115
Ā Ā relabelings:
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_target
Ā Ā Ā Ā targetLabel: target
Ā Ā Ā - sourceLabels:
Ā Ā Ā Ā Ā - __param_module
Ā Ā Ā Ā targetLabel: module
Ā namespaceSelector:
Ā Ā matchNames:
Ā Ā - monitoring
Ā selector:
Ā Ā app: prometheus-blackbox-exporter