Skip to content

test(receive): add unit tests for TrimPromSuffixes#8737

Open
archy-rock3t-cloud wants to merge 1 commit intothanos-io:mainfrom
sophotechlabs:add-test/otlp-trim-prom-suffixes
Open

test(receive): add unit tests for TrimPromSuffixes#8737
archy-rock3t-cloud wants to merge 1 commit intothanos-io:mainfrom
sophotechlabs:add-test/otlp-trim-prom-suffixes

Conversation

@archy-rock3t-cloud
Copy link
Copy Markdown

  • Change is not relevant to the end user.

Changes

Add table-driven tests for TrimPromSuffixes covering counter/gauge types, unit suffix stripping, and edge cases.

Verification

go test -tags slicelabels ./pkg/receive/otlptranslator/ -run TestTrimPromSuffixes passes.

Signed-off-by: Artem Muterko <artem@sopho.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant