-
Notifications
You must be signed in to change notification settings - Fork 588
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
[draft] Migrate to semconv for otelmux #6638 #6653
base: main
Are you sure you want to change the base?
Conversation
@dmathieu would it make sense to use |
Codecov ReportAttention: 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
|
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.Handler
inotelmux
to address #6638