2023-08-30 14:36:00 +01:00
|
|
|
global:
|
|
|
|
|
scrape_interval: 30s
|
|
|
|
|
external_labels:
|
|
|
|
|
prometheus: default/test
|
|
|
|
|
prometheus_replica: $(POD_NAME)
|
2024-11-07 17:05:42 +01:00
|
|
|
evaluation_interval: 30s
|
2023-08-30 14:36:00 +01:00
|
|
|
scrape_configs:
|
|
|
|
|
- job_name: probe/default/testprobe1
|
|
|
|
|
honor_timestamps: true
|
|
|
|
|
metrics_path: /probe
|
|
|
|
|
scheme: http
|
|
|
|
|
static_configs:
|
|
|
|
|
- targets:
|
|
|
|
|
- prometheus.io
|
|
|
|
|
- promcon.io
|
|
|
|
|
labels:
|
|
|
|
|
namespace: default
|
|
|
|
|
relabel_configs:
|
|
|
|
|
- source_labels:
|
|
|
|
|
- job
|
|
|
|
|
target_label: __tmp_prometheus_job_name
|
|
|
|
|
- target_label: job
|
|
|
|
|
replacement: blackbox
|
|
|
|
|
- source_labels:
|
|
|
|
|
- __address__
|
|
|
|
|
target_label: __param_target
|
|
|
|
|
- source_labels:
|
|
|
|
|
- __param_target
|
|
|
|
|
target_label: instance
|
|
|
|
|
- target_label: __address__
|
|
|
|
|
replacement: blackbox.exporter.io
|
|
|
|
|
- source_labels:
|
|
|
|
|
- __param_target
|
2024-11-18 17:01:03 +01:00
|
|
|
- __tmp_hash
|
|
|
|
|
target_label: __tmp_hash
|
|
|
|
|
regex: (.+);
|
|
|
|
|
replacement: $1
|
|
|
|
|
action: replace
|
|
|
|
|
- source_labels:
|
|
|
|
|
- __tmp_hash
|
2023-08-30 14:36:00 +01:00
|
|
|
target_label: __tmp_hash
|
|
|
|
|
modulus: 1
|
|
|
|
|
action: hashmod
|
|
|
|
|
- source_labels:
|
|
|
|
|
- __tmp_hash
|
2025-04-03 09:42:10 +02:00
|
|
|
- __tmp_disable_sharding
|
|
|
|
|
regex: $(SHARD);|.+;.+
|
2023-08-30 14:36:00 +01:00
|
|
|
action: keep
|