-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Log errors from probe #1091
Log errors from probe #1091
Conversation
eca74da
to
f509c4f
Compare
Signed-off-by: Jan-Otto Kröpke <[email protected]>
f509c4f
to
d381716
Compare
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]>
@electron0zero Could you please also take a look here? |
Signed-off-by: Jan-Otto Kröpke <[email protected]>
7643270
to
a47ca22
Compare
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.
lgtm, will wait for @roidelapluie or @mem to take a look and approve :)
@electron0zero @roidelapluie or @mem How we can proceed here? |
assuming that there are no comments or feedback from other maintainers, I am going to go ahead and merge it. |
* Log errors from probe Signed-off-by: Jan-Otto Kröpke <[email protected]> * Update main.go Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]> * Implement --log.prober Signed-off-by: Jan-Otto Kröpke <[email protected]> --------- Signed-off-by: Jan-Otto Kröpke <[email protected]> Signed-off-by: Jan-Otto Kröpke <[email protected]> Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Arash Hatami <[email protected]>
* [FEATURE] Allow to get Probe logs by target #1063 * [FEATURE] Log errors from probe #1091 * [BUGFIX] Prevent logging confusing error message #1059 * [BUGFIX] Explicit registration of internal exporter metrics 1060 Signed-off-by: SuperQ <[email protected]>
* [FEATURE] Allow to get Probe logs by target #1063 * [FEATURE] Log errors from probe #1091 * [BUGFIX] Prevent logging confusing error message #1059 * [BUGFIX] Explicit registration of internal exporter metrics 1060 Signed-off-by: SuperQ <[email protected]>
This PR adds a flag
--log.prober
which can be one of: [debug, info, warn, error, none] to investigate probe failures port-mortem. this flag defaults to none.At the moment, this analyse problems is only possible via Web UI with an large enough history. Access the unprotected web ui can be difficult and the probe history is only available until restart.