Skip to content

Support setting http.Request.Pattern in router #2758

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

Open
Oloruntobi1 opened this issue Mar 25, 2025 · 2 comments
Open

Support setting http.Request.Pattern in router #2758

Oloruntobi1 opened this issue Mar 25, 2025 · 2 comments

Comments

@Oloruntobi1
Copy link

Echo’s router doesn’t set http.Request.Pattern.

Helps OpenTelemetry (http.route) and aligns with net/http. Related: open-telemetry/opentelemetry-go-contrib#6980.

Also related:

golang/go#66405 (comment)

@Oloruntobi1
Copy link
Author

cc @aldas (your bio says we could @ you)

@Oloruntobi1
Copy link
Author

Setting it seems trivial though but this will be my first time contributing so would love to hear from the maintainers first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant