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

chore: add metrics/gauges for "max constraint values" and "max constraints" #7398

Conversation

thomasheartman
Copy link
Contributor

@thomasheartman thomasheartman commented Jun 14, 2024

This PR adds metrics tracking for:

  • "maxConstraintValues": the highest number of constraint values that are in use
  • "maxConstraintsPerStrategy": the highest number of constraints used on a strategy

It updates the existing feature strategy read model that returns max metrics for other strategy-related things.

It also moves one test into a more fitting describe block.

Copy link

vercel bot commented Jun 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 14, 2024 1:13pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Jun 14, 2024 1:13pm

Copy link

github-actions bot commented Jun 14, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

@thomasheartman thomasheartman changed the title chore: add gauges for the new metrics chore: add metrics/gauges for "max constraint values" and "max constraints" Jun 14, 2024
Copy link
Contributor

@kwasniew kwasniew left a comment

Choose a reason for hiding this comment

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

Looks very nice. I'd only think about query simplification

@thomasheartman thomasheartman merged commit c4e2159 into main Jun 17, 2024
11 checks passed
@thomasheartman thomasheartman deleted the chore/1-2483-report-max-number-of-constraint-values-constraints-on branch June 17, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants