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

File middleware should set endpoint if it hits a file #482

Merged
merged 3 commits into from
Jun 24, 2024

Conversation

adam-fowler
Copy link
Member

No description provided.

Copy link
Contributor

@Joannis Joannis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good find

@adam-fowler
Copy link
Member Author

I've now changed this, to only report FileMiddleware as the source. I was told FileMiddleware should probably not use the file name as a span name, it has a high cardinality problem and exposes too much information.

I have also added setting the endpoint path as you enter a RouterGroup, so if a middleware throws an error you have some router info

@adam-fowler adam-fowler requested a review from Joannis June 20, 2024 17:09
@adam-fowler adam-fowler merged commit 1d8987c into main Jun 24, 2024
5 checks passed
@adam-fowler adam-fowler deleted the file-tracing-endpoint branch June 24, 2024 11:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants