Skip to content
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

Add http.route span metadata #13

Open
shoppingjaws opened this issue Jun 19, 2024 · 1 comment
Open

Add http.route span metadata #13

shoppingjaws opened this issue Jun 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@shoppingjaws
Copy link

Want:
To improve observability, I would like to output span's http.route information as metadata.

example:
When this request is received, I want this span to be granted.
request:
/api/users/123456
span:
/api/users/:id

@valerauko
Copy link
Contributor

Depends on the router so this will have to be configurable

reitit: request :reitit.core/match :template
compojure: request :compojure/route

reitit also has an option to disable injecting the match (for performance reasons), so it should be made possible to manually inject the route template somehow and tell sleepydog where to look

@valerauko valerauko added the enhancement New feature or request label Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants