-
Notifications
You must be signed in to change notification settings - Fork 1k
RPC stable opt-in #15879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
RPC stable opt-in #15879
Conversation
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.
7ef1f30 to
d48324a
Compare
|
@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? |
|
you can see how I've broken out the database semconv stabilization tasks in #12608 in case that helps |
|
can you split the semconv changes up instead of implementing all of the changes in one PR? |
yeah, this sounds like a good option, then you could even split the tests and send only grpc test first for example |
Fixes #15871