jiaming2li opened a new pull request, #3551:
URL: https://github.com/apache/dubbo-go/pull/3551
Enhance OpenTelemetry tracing diagnostics (Fixes #3338, scope item 1).
- Standardized span names to `dubbo.consumer <service>/<method>` (client)
and `dubbo.provider <service>/<method>` (server).
- Enriched span attributes:
- OTel semantic conventions where available: `rpc.system=apache_dubbo`,
`rpc.service`, `rpc.method`, `server.address`, `server.port`.
- Dubbo-specific info under a stable `dubbo.*` namespace: `dubbo.side`,
`dubbo.protocol`, `dubbo.group`, `dubbo.version`.
- Extracted shared `buildSpanName` / `buildSpanAttributes` helpers to remove
the duplicated span-construction logic between the client and server filters.
- Added tests asserting span name, span kind, and attributes for both
filters using an in-memory span recorder.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]