[draft] Migrate to semconv for otelmux #6638#6653
Conversation
|
@dmathieu would it make sense to use |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6653 +/- ##
=======================================
- Coverage 68.7% 68.7% -0.1%
=======================================
Files 200 200
Lines 16872 16864 -8
=======================================
- Hits 11601 11590 -11
- Misses 4927 4932 +5
+ Partials 344 342 -2
🚀 New features to boost your workflow:
|
|
Yes, if we can get HTTP instrumentations to use otelhttp rather than reimplement things themselves, that's definitely better. |
@dmathieu wasn't there talk of refactoring otelhttp, not sure to what extent the intended changes would be breaking |
|
Yes. But if/when that happens, we will make the appropriate changes to avoid breaking other instrumentations. Reusing otelhttp also makes it much easier to keep. things working the same way. We won't be able to make breaking changes in otelhttp that easily though, because many folks rely on it as a stable dependency despite it not being one. |
|
@TanishqPorwar did you see you're working on this alongside @martinyonatann (#6648)? |
|
@dmathieu thanks for pointing this out. My goal with this PR was to propose an alternate solution by reusing This approach minimizes redundancy, adheres to |
|
from my personal perspective, to avoid unintended changes to Reusing Each framework has its nuances, so ensuring a consistent implementation while accommodating these differences is key. Let's discuss how we can create a roadmap or strategy for this, so we can make the transition as smooth and efficient as possible. |
|
I think for this current iteration and to first complete the semconv migration let’s go with the reimplementation, especially since a good amount of work has been completed. We can continue to evaluate the merits of reusing otelhttp but I agree there are additional considerations we need to make if we’re going to start using otelhttp as a base. |
|
Let's keep the discussion in a single place, #6638. |
tried using
otelhttp.Handlerinotelmuxto address #6638