forked from open-telemetry/opentelemetry-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix failing test case. (open-telemetry#2178)
- Loading branch information
1 parent
f630af4
commit 0c6afc7
Showing
8 changed files
with
55 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: telemetrygen-traces | ||
status: | ||
active: 1 | ||
ready: 1 | ||
|
||
--- | ||
apiVersion: monitoring.coreos.com/v1 | ||
kind: PodMonitor | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: otel-collector | ||
namespace: kuttl-otlp-metrics | ||
spec: | ||
podMetricsEndpoints: | ||
- port: metrics | ||
- metricRelabelings: | ||
- action: labeldrop | ||
regex: instance | ||
- action: labeldrop | ||
regex: job | ||
port: promexporter | ||
relabelings: | ||
- action: labeldrop | ||
regex: pod | ||
- action: labeldrop | ||
regex: container | ||
- action: labeldrop | ||
regex: endpoint | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: cluster-collector-collector | ||
name: telemetrygen-metrics | ||
status: | ||
active: 1 | ||
ready: 1 | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
status: | ||
phase: Running |
File renamed without changes.
26 changes: 0 additions & 26 deletions
26
tests/e2e-openshift/otlp-metrics-traces/03-podmonitor.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,6 @@ | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: telemetrygen-traces | ||
status: | ||
active: 1 | ||
ready: 1 | ||
|
||
--- | ||
apiVersion: batch/v1 | ||
kind: Job | ||
metadata: | ||
name: telemetrygen-metrics | ||
status: | ||
active: 1 | ||
ready: 1 | ||
|
||
--- | ||
apiVersion: v1 | ||
kind: Pod | ||
status: | ||
phase: Running | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestAssert | ||
timeout: 30 | ||
commands: | ||
- script: ./tests/e2e-openshift/otlp-metrics-traces/check_traces.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestAssert | ||
timeout: 30 | ||
commands: | ||
- script: ./tests/e2e-openshift/otlp-metrics-traces/check_traces.sh | ||
- script: ./tests/e2e-openshift/otlp-metrics-traces/check_metrics.sh |
This file was deleted.
Oops, something went wrong.