Skip to content

(fix): tune otlp metric export cadence in e2e - #661

Closed
Krisztian F (krisztianfekete) wants to merge 1 commit into
agent-substrate:mainfrom
krisztianfekete:fix/metrics-e2e-export-interval
Closed

Krisztian F (krisztianfekete) wants to merge 1 commit into
agent-substrate:mainfrom
krisztianfekete:fix/metrics-e2e-export-interval

Conversation

@krisztianfekete

Copy link
Copy Markdown
Collaborator

Fixes #634

Worker pods only get two 60s export ticks inside the test's 2 minute window, so a transient failure can faile both easily.

This PR adds

  • kind overlay sets the spec standard OTEL_METRIC_EXPORT_INTERVAL/OTEL_METRIC_EXPORT_TIMEOUT (10s) on ateapi, atelet, and atecontroller. At the same time, production keeps SDK defaults

  • atecontroller mirrors both vars into the ateom worker pods it creates (via new AteomOTelConfig), same pattern as the existing endpoint propagation

  • unit test coverage for the env injection

  • Tests pass

  • Appropriate changes to documentation are included in the PR

@krisztianfekete

Copy link
Copy Markdown
Collaborator Author

@krisztianfekete

Copy link
Copy Markdown
Collaborator Author

I just noticed #659 fixes the same thing and was first, commented there. Will close this once the export timeout part is covered over there.

@krisztianfekete

Copy link
Copy Markdown
Collaborator Author

This is now superseded by #659, which now covers the export timeout too. Thanks Lior Lieberman (@LiorLieberman)!

@krisztianfekete
Krisztian F (krisztianfekete) deleted the fix/metrics-e2e-export-interval branch July 31, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E test flake: TestPlatformMetricsEmitted

1 participant