Skip to content

feat: add HTTP metrics recording to Prometheus for request latency and s…#8

Merged
fupelaqu merged 6 commits into
mainfrom
feature/prometheusHttpMetrics
Jun 10, 2026
Merged

feat: add HTTP metrics recording to Prometheus for request latency and s…#8
fupelaqu merged 6 commits into
mainfrom
feature/prometheusHttpMetrics

Conversation

@fupelaqu

Copy link
Copy Markdown
Contributor

…tatus

@fupelaqu fupelaqu self-assigned this Jun 10, 2026
@codacy-production

codacy-production Bot commented Jun 10, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

This comment was marked as outdated.

This comment was marked as outdated.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.08%. Comparing base (ba4b358) to head (1f03c7a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   61.08%   61.08%           
=======================================
  Files          94       94           
  Lines        1832     1832           
=======================================
  Hits         1119     1119           
  Misses        713      713           
Flag Coverage Δ
unittests 61.08% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

fupelaqu and others added 2 commits June 10, 2026 15:50
... which recompiles the regex each call (and this runs on every request). This adds avoidable CPU overhead in a hot path; precompile the patterns once and reuse them.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 7 changed files in this pull request and generated no new comments.

@fupelaqu fupelaqu merged commit dc3dc8d into main Jun 10, 2026
6 checks passed
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.

2 participants