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

feat: canary_check_invalid_count metric #2261

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adityathebe
Copy link
Member

No description provided.

@adityathebe adityathebe force-pushed the feat/invalid-checks branch 3 times, most recently from dd299f9 to fe82e8e Compare October 21, 2024 11:02
@adityathebe adityathebe marked this pull request as ready for review October 21, 2024 11:02
@adityathebe adityathebe linked an issue Oct 21, 2024 that may be closed by this pull request
checks/http.go Outdated
@@ -174,7 +174,7 @@ func (c *HTTPChecker) Check(ctx *context.Context, extConfig external.Check) pkg.

connection, connectionData, err := ctx.GetConnectionTemplate(check.Connection)
if err != nil {
return results.Invalidf("error getting connection %v", err)
return results.Failf("error getting connection %v", err)
Copy link
Member

Choose a reason for hiding this comment

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

This should be invalid ?

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm I guess could be both.

You could run into db timeout or kubernetes API call timeout issue.

@adityathebe adityathebe force-pushed the feat/invalid-checks branch 4 times, most recently from 18e8387 to ec6fd04 Compare October 21, 2024 13:36
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.

canary_check_invalid_count
2 participants