-
Notifications
You must be signed in to change notification settings - Fork 25
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
Verbose logging is required for adhoc checks to work #586
Comments
The code for logging ad-hoc check completion writes the JSON-formatted log to a I'm against changing the default log level as Looking at the publisher code, we use |
Closing since the fix is merged! 🚀 |
I am reopening this issue. Testing on v0.26.0-0-g0bccfddd I can reproduce the problem again. Unless I add the |
I think this is the issue:
We set the default level to
Ref: zerolog log levels |
Since we changed the log message level to warning, but kept the default level to error, my guess is the fix in #631 probably had no effect. |
Context
When creating a new check in Synthetic Monitoring, you can use the "test" button to try a check before saving it.
This test button creates a "adhoc" check. How an adhoc check works:
{type="adhoc"}
in your logs explore view.{type="adhoc"}
as well as a filter for a request ID to determine if the test worked (if you open the network tab in the browser when running the test, you'll see the app making this query periodically). There will be a log message "ad-hoc check done" that signals the check worked. If we don't get a log match, eventually the test will time out.Problem
When you have a private probe, the
{type="adhoc"}
logs are not pushed to Loki properly unless you have verbose logging enabled. Why does this happen?info
levelerror
. Setting-verbose=true
will configure the level toinfo
.Should the default logging level be
info
perhaps?The text was updated successfully, but these errors were encountered: