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

Use separate checks for separate healthchecks #258

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

kibertoad
Copy link
Collaborator

Changes

Previously it will only register Gauges for the very first healthcheck.

Checklist

  • Apply one of following labels; major, minor, patch or skip-release
  • I've updated the documentation, or no changes were necessary
  • I've updated the tests, or no changes were necessary

@@ -8,7 +8,7 @@ export type HealthcheckEntry = {
}

export type HealthcheckResultsStoreParams = {
healthcheckNumber: number // how many healthchecks does the system have
healthcheckNumber: number // maximum amount of healthchecks that the system can have
Copy link
Collaborator

@CarlosGamero CarlosGamero Aug 1, 2024

Choose a reason for hiding this comment

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

would make sense to change it to maxHealthcheckNumber or maxHealthcheckSupported, but it would be a breaking change, maybe we can make a note to do it on next major release

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it wasn't used yet, so maybe we can sneak that one under the radar :D

@kibertoad kibertoad merged commit 5c61c2c into main Aug 1, 2024
4 checks passed
@kibertoad kibertoad deleted the fix/skip-register branch August 1, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants