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

Implement probe_failure_info Metric #1334

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

slrtbtfs
Copy link

This is a first draft for implementing #1077.

The basic idea is that the information about Probe failures that is already logged is additionally made available via the probe_failure_info metric.

The underlying mechanisms are mainly implemented in prober/prober.go and prober/handler.go, the rest of the diff is mostly refactoring.

Before merging, this should still get some improved tests and polishing, however I'd like to get some early feedback about whether you agree with the implementation approach in general.

There is also space for improvement as some error messages provide only limited detail (e.g. the generic HTTP request failed one). IMO this makes most sense as a follow up once the basic implementation of this metric is merged.

Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
Signed-off-by: Tobias Guggenmos <[email protected]>
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.

1 participant