-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update pims health checks to support configuration based enable/disab… #4099
Conversation
✅ No secrets were detected in the code. |
1 similar comment
✅ No secrets were detected in the code. |
9e99278
to
5a651bc
Compare
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
if (allHealthCheckOptions.ApiMetrics.Enabled) | ||
{ | ||
services.AddHealthChecks().Add(new HealthCheckRegistration( | ||
"ApiMetrics", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we use the string "api-metrics" in our Prometheus/Sysdig dashboards. We will need to update the dashboards to read from the new "ApiMetrics" information or they will show no data...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NVM - I checked Sysdig and we don't use that name at all - disregard previous comment.
source/backend/api/appsettings.json
Outdated
"Enabled": true, | ||
"Duration": 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ No secrets were detected in the code. |
1 similar comment
✅ No secrets were detected in the code. |
…le and period.