Make otel-export lux test reliable via normalized output and per-pattern grep#4232
Merged
icehaunter merged 3 commits intomainfrom Apr 29, 2026
Merged
Make otel-export lux test reliable via normalized output and per-pattern grep#4232icehaunter merged 3 commits intomainfrom
icehaunter merged 3 commits intomainfrom
Conversation
Member
Author
|
Supersedes #4226. |
icehaunter
approved these changes
Apr 29, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reworks the
otel-export.luxintegration test so its assertions no longer depend on the raw, ordering-sensitive output of the OtelCollector debug exporter.integration-tests/support_files/normalize-otel-output.py, which collapses the verbose collector log into a compact, stable one-line-per-metric/span representation.grep_otel_collector_outputmacro in_macros.luxincso each expected metric/span is asserted independently against the normalized output.otel-export.luxto verify resource attributes for both application and stack metrics on collector startup, then assert each expected metric and span via the new macro — removing the previous coupling to alphabetical ordering of patterns.Test plan
otel-export.luxintegration test passes locally