Skip to content

Conversation

@zeitlinger
Copy link
Member

Fixes #15871

@zeitlinger zeitlinger self-assigned this Jan 16, 2026
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 16, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

Adds support for stable RPC semantic conventions following the existing
database/code semconv stability pattern. Users can now opt in to stable
RPC conventions using OTEL_SEMCONV_STABILITY_OPT_IN=rpc (or rpc/dup for
dual emission).

Key changes:
- Add rpc/rpc/dup config support to SemconvStability
- Implement dual histogram metrics (ms→s unit conversion)
- Add system name mappings (apache_dubbo→dubbo, connect_rpc→connectrpc)
- Support new fully-qualified method format (service/method)
- Convert status codes from Long to String format
- Update metadata prefixes (rpc.grpc.request.metadata→rpc.request.metadata)
- Add error.type attribute for stable semconv
- Create RpcSemconvStabilityUtil test helper
This reverts commit 851bd4d.
@zeitlinger zeitlinger marked this pull request as ready for review January 16, 2026 17:56
@zeitlinger zeitlinger requested a review from a team as a code owner January 16, 2026 17:56
@trask
Copy link
Member

trask commented Jan 16, 2026

@zeitlinger can you find ways to split this up into smaller pieces?

@zeitlinger
Copy link
Member Author

@zeitlinger can you find ways to split this up into smaller pieces?

good question - it's mostly tests, but adding those later will only reduce test coverage in the meantime. Do you have an idea?

@trask
Copy link
Member

trask commented Jan 16, 2026

you can see how I've broken out the database semconv stabilization tasks in #12608 in case that helps

@zeitlinger
Copy link
Member Author

you can see how I've broken out the database semconv stabilization tasks in #12608 in case that helps

you split off the tests - so I'll also do that: #12601

@trask
Copy link
Member

trask commented Jan 16, 2026

can you split the semconv changes up instead of implementing all of the changes in one PR?

@trask
Copy link
Member

trask commented Jan 16, 2026

you split off the tests

yeah, this sounds like a good option, then you could even split the tests and send only grpc test first for example

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.

add RPC semconv stable opt-in

2 participants