Skip to content

test(otlp-common): expand test coverage for OTLP common exporter#2075

Open
arjun-rajappa wants to merge 1 commit intoopen-telemetry:mainfrom
arjun-rajappa:add-test-to-otlp-common
Open

test(otlp-common): expand test coverage for OTLP common exporter#2075
arjun-rajappa wants to merge 1 commit intoopen-telemetry:mainfrom
arjun-rajappa:add-test-to-otlp-common

Conversation

@arjun-rajappa
Copy link
Copy Markdown
Contributor

Closes #1667
Expands test coverage for the OTLP common exporter and adds span flags support per OTLP specification.

Changes
Added build_span_flags method to set remote parent context flags on spans and links
Comprehensive test coverage for all private methods (as_otlp_span, as_otlp_status_code, as_otlp_span_kind, as_otlp_key_value, as_otlp_any_value)
Integration tests for complex spans with multiple resources and scopes
Enhanced error handling tests for encoding issues
Testing
All tests pass. Coverage expanded from basic functionality to comprehensive edge cases.

Signed-off-by: Arjun Rajappa <arjun.rajappa@ibm.com>
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.

Make otlp-http, otlp-grpc, and otlp-common gems production-ready

1 participant