-
Notifications
You must be signed in to change notification settings - Fork 652
Clean Route setup in HTTP instrumentations #6919
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
Comments
Hi @dmathieu , I'd like to work on this issue. Could you please assign it to me? |
This issue should actually bring multiple PRs, one for each instrumentation. I can add you to one of them. Which one would you like? |
@dmathieu , I would like to take up otelgin instrumentation. |
Done. |
Hi @dmathieu stumbled upon this conversation and wanted to pick this up (for otelecho) and from what i see it uses both https://github.com/open-telemetry/opentelemetry-go-contrib/blob/7af8c94c5b95671bdb17a997d2d9c0094a3a5036/instrumentation/github.com/labstack/echo/otelecho/echo.go#L14C2-L14C102 and opentelemetry-go-contrib/instrumentation/github.com/labstack/echo/otelecho/echo.go Line 18 in 7af8c94
This means the first work should trying to consolidate that like its been done for otelgin and others? |
hi @dmathieu can you assign otelhttp to me |
|
@dmathieu I checked all the related issues and PRs. I want to confirm the problems we need to address.
Is my understanding correct? |
@dmathieu Hello, is there any news? |
You don't need this. If that happens, overriding attributes is fine. |
One of the big issues with those changes is that not many frameworks are already using/setting |
Now that we rely on the
request.Pattern
attribute to set the route attribute automatically (#6905), we should analyze all HTTP instrumentations that also set that attribute, and ensure the code can't be cleaned up to avoid repetition.The text was updated successfully, but these errors were encountered: