Skip to content

fix(metrics): collect metrics for non-OPTIONS requests - #3414

Open
PauloLuna wants to merge 1 commit into
juanfont:mainfrom
PauloLuna:fix-http-metrics
Open

fix(metrics): collect metrics for non-OPTIONS requests#3414
PauloLuna wants to merge 1 commit into
juanfont:mainfrom
PauloLuna:fix-http-metrics

Conversation

@PauloLuna

Copy link
Copy Markdown

Fix the inverted HTTP metrics skip condition, which caused the collector to ignore all requests except OPTIONS.

Apply the correction to both the main and Noise routers so regular HTTP traffic is included in http_requests_total and http_request_duration_seconds.

  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

Fixes #3412

Fix the inverted HTTP metrics skip condition, which caused the collector to ignore all requests except OPTIONS.

Apply the correction to both the main and Noise routers so regular HTTP traffic is included in http_requests_total and http_request_duration_seconds.
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.

[Bug] Inverted HTTP metrics skip condition

1 participant