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

Fix incorrect metrics when serving static files #1255

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

Umang01-hash
Copy link
Contributor

@Umang01-hash Umang01-hash commented Nov 29, 2024

Pull Request Template

Description:

Screenshot 2024-11-29 at 2 59 57 PM

Checklist:

  • I have formatted my code using goimport and golangci-lint.
  • All new code is covered by unit tests.
  • This PR does not decrease the overall code coverage.
  • I have reviewed the code comments and documentation for clarity.

Thank you for your contribution!

@vikash
Copy link
Contributor

vikash commented Nov 29, 2024

We need to be careful here. If we put file path for each file instead of a pattern while calculating the http related metrics, it will become very very large.

Copy link
Contributor

@ccoVeille ccoVeille left a comment

Choose a reason for hiding this comment

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

regexp are evil

@Umang01-hash Umang01-hash merged commit 7bb3009 into development Dec 4, 2024
12 checks passed
@Umang01-hash Umang01-hash deleted the fix/metrics_static_Files branch December 4, 2024 06:47
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.

HTTP Metrics are not being exported for Static Server
4 participants