Skip to content

Commit

Permalink
longer duration
Browse files Browse the repository at this point in the history
  • Loading branch information
ryantanjunming committed Nov 11, 2024
1 parent b297263 commit 9a1b574
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion otel-integration/k8s-helm/e2e-test/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func TestE2E_Agent(t *testing.T) {
shutdownSink := startUpSink(t, metricsConsumer, tracesConsumer)
defer shutdownSink()

waitTime := 4 * time.Minute
waitTime := 3 * time.Minute
waitForData(waitTime)

checkResourceMetrics(t, metricsConsumer.AllMetrics())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ spec:
labels:
app: telemetrygen
spec:
restartPolicy: Always
containers:
- name: telemetrygen
image: ghcr.io/open-telemetry/opentelemetry-collector-contrib/telemetrygen:latest
imagePullPolicy: IfNotPresent
env:
- name: NODE
valueFrom:
Expand All @@ -28,5 +30,5 @@ spec:
- "traces"
- "--otlp-endpoint=172.18.0.2:4317" # Use environment variable to dynamically set endpoint
- "--otlp-insecure"
- "--rate=100" # Set the desired RPS
- "--duration=300s"
- "--rate=1000" # Set the desired RPS
- "--duration=900s"

0 comments on commit 9a1b574

Please sign in to comment.