Skip to content

infra(Monitoring): Expose /metrics to new port#6533

Merged
emyller merged 8 commits intomainfrom
fix/metrics-availability
Jan 20, 2026
Merged

infra(Monitoring): Expose /metrics to new port#6533
emyller merged 8 commits intomainfrom
fix/metrics-availability

Conversation

@emyller
Copy link
Contributor

@emyller emyller commented Jan 15, 2026

Serve Prometheus metrics from a separate process to avoid metrics loss under load.

This works in conjunction with:

Contributes to https://github.com/Flagsmith/pulumi/issues/147

Review effort: 1/5

@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Jan 20, 2026 6:34pm
2 Skipped Deployments
Project Deployment Review Updated (UTC)
flagsmith-frontend-preview Ignored Ignored Preview Jan 20, 2026 6:34pm
flagsmith-frontend-staging Ignored Ignored Preview Jan 20, 2026 6:34pm

Request Review

@github-actions github-actions bot added api Issue related to the REST API infrastructure and removed infrastructure labels Jan 15, 2026
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.09%. Comparing base (9468354) to head (cfacc61).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6533   +/-   ##
=======================================
  Coverage   98.09%   98.09%           
=======================================
  Files        1293     1293           
  Lines       46610    46610           
=======================================
  Hits        45722    45722           
  Misses        888      888           

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@emyller emyller marked this pull request as ready for review January 20, 2026 14:12
@emyller emyller requested review from a team as code owners January 20, 2026 14:12
@emyller emyller requested review from gagantrivedi and removed request for a team January 20, 2026 14:12
@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2026

Docker builds report

Image Build Status Security report
ghcr.io/flagsmith/flagsmith-api-test:pr-6533 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-e2e:pr-6533 Finished ✅ Skipped
ghcr.io/flagsmith/flagsmith-frontend:pr-6533 Finished ✅ Results
ghcr.io/flagsmith/flagsmith:pr-6533 Finished ✅ Results
ghcr.io/flagsmith/flagsmith-private-cloud:pr-6533 Finished ✅ Results

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on February 10

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

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

Can we update docs as well as part of this PR?

@emyller emyller requested a review from a team as a code owner January 20, 2026 17:30
@github-actions github-actions bot added the docs Documentation updates label Jan 20, 2026
@github-actions github-actions bot added infrastructure and removed infrastructure docs Documentation updates labels Jan 20, 2026
@emyller emyller force-pushed the fix/metrics-availability branch from 92d5672 to 1c6f557 Compare January 20, 2026 17:34
@github-actions github-actions bot added docs Documentation updates infrastructure and removed infrastructure docs Documentation updates labels Jan 20, 2026
@emyller
Copy link
Contributor Author

emyller commented Jan 20, 2026

Can we update docs as well as part of this PR?

Attempted with 1c6f557.

This is now handled as part of Flagsmith/flagsmith-common#158, and cfacc61.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Issue related to the REST API infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants