mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 03:38:43 +00:00
commit
a0299e1b1b
4 changed files with 28 additions and 0 deletions
7
pkg/prometheus/testdata/SettingScrapeFallbackProtocolInPodMonitor_NewVersion.golden
generated
vendored
7
pkg/prometheus/testdata/SettingScrapeFallbackProtocolInPodMonitor_NewVersion.golden
generated
vendored
|
@ -51,6 +51,13 @@ scrape_configs:
|
|||
replacement: web
|
||||
- source_labels:
|
||||
- __address__
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
regex: (.+);
|
||||
replacement: $1
|
||||
action: replace
|
||||
- source_labels:
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
modulus: 1
|
||||
action: hashmod
|
||||
|
|
7
pkg/prometheus/testdata/SettingScrapeFallbackProtocolInPodMonitor_OldVersion.golden
generated
vendored
7
pkg/prometheus/testdata/SettingScrapeFallbackProtocolInPodMonitor_OldVersion.golden
generated
vendored
|
@ -51,6 +51,13 @@ scrape_configs:
|
|||
replacement: web
|
||||
- source_labels:
|
||||
- __address__
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
regex: (.+);
|
||||
replacement: $1
|
||||
action: replace
|
||||
- source_labels:
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
modulus: 1
|
||||
action: hashmod
|
||||
|
|
|
@ -70,6 +70,13 @@ scrape_configs:
|
|||
replacement: web
|
||||
- source_labels:
|
||||
- __address__
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
regex: (.+);
|
||||
replacement: $1
|
||||
action: replace
|
||||
- source_labels:
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
modulus: 1
|
||||
action: hashmod
|
||||
|
|
|
@ -70,6 +70,13 @@ scrape_configs:
|
|||
replacement: web
|
||||
- source_labels:
|
||||
- __address__
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
regex: (.+);
|
||||
replacement: $1
|
||||
action: replace
|
||||
- source_labels:
|
||||
- __tmp_hash
|
||||
target_label: __tmp_hash
|
||||
modulus: 1
|
||||
action: hashmod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue