Skip to content

Commit ba014bc

Browse files
committed
e2e test prometheus operator scrape config and probes
Signed-off-by: qiyang <[email protected]>
1 parent 19720d8 commit ba014bc

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/e2e-targetallocator/targetallocator-prometheuscr/02-install.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ spec:
2828
enabled: true
2929
scrapeInterval: 1s
3030
scrapeConfigSelector: {}
31+
probeSelector: {}
3132
serviceAccount: ta
3233
---
3334
apiVersion: monitoring.coreos.com/v1alpha1

tests/e2e-targetallocator/targetallocator-prometheuscr/chainsaw-test.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@ spec:
2828
file: 02-install.yaml
2929
- assert:
3030
file: 02-assert.yaml
31+
catch:
32+
- podLogs:
33+
selector: app.kubernetes.io/managed-by=opentelemetry-operator

0 commit comments

Comments
 (0)