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

Emit internal error metrics #173

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Emit internal error metrics #173

merged 2 commits into from
Oct 7, 2024

Conversation

rashiq
Copy link
Member

@rashiq rashiq commented Oct 4, 2024

This should be changed to use statsd at some point, since our go-expvar metrics don't support tagging, which is why we need to emit metrics in this format.

Difference between check.any.error and the newly introduced check.any.internal-error is that check.any.error counts anything that is a status code 200 as an error. This includes all rate limiting events.

Tracking check.any.internal-error will make it possible for us to track actual errors that are caused by freno not being able to connect to mysql, or freno failing in any other way.

@rashiq rashiq deployed to production/canary October 7, 2024 19:47 Active
@rashiq rashiq merged commit b3fbe7e into master Oct 7, 2024
4 checks passed
@rashiq rashiq deleted the rashiq-emit-internal-errors branch October 7, 2024 20:19
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