We currently trace sections using both runtime/trace and OTEL tracing. We should harmonize this towards OTEL tracing, which is a super set of runtime/trace.
Current Situation
We currently use runtime/trace in most places, except the Identity Server bunstore.
Why do we need this? Who uses it, and when?
In order to harmonize racing towards OpenTelemetry.
Proposed Implementation
Use tracer.StartFromContext instead of trace.StartRegion, and consider adding attributes.
Contributing
[X] I can help by doing more research.
[X] I can help by implementing the feature after the proposal above is approved.
[X] I can help by testing the feature before it's released.
Summary
We currently trace sections using both
runtime/trace
and OTEL tracing. We should harmonize this towards OTEL tracing, which is a super set ofruntime/trace
.Current Situation
We currently use
runtime/trace
in most places, except the Identity Serverbunstore
.Why do we need this? Who uses it, and when?
In order to harmonize racing towards OpenTelemetry.
Proposed Implementation
Use
tracer.StartFromContext
instead oftrace.StartRegion
, and consider adding attributes.Contributing
Code of Conduct