-
Notifications
You must be signed in to change notification settings - Fork 662
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
Suppress metrics error message #486
Comments
Are you behind a proxy? |
Any case, we should probably reduce the severity of those messages to warnings. |
Wasn't behind a proxy, but I may have experienced intermittent networking issues. The error message seemed orthogonal to what I was doing (ie launching a VM) - or at least not critical to the requested operation. If these metrics are just nice-to-have, then a warning in a log file should suffice. If the desire to collect is stronger than that, then caching the data and sending at some other time may be appropriate. |
Yeah that last part definitely happens, which is why |
This will keep messages from bubbling up to the client unless '-vv' or greater is used. Fixes #486
515: metrics_provider: Use 'info' logging level for metrics issues r=Saviq a=townsend2010 This will keep messages from bubbling up to the client unless '-vv' or greater is used. Fixes #486 Co-authored-by: Chris Townsend <[email protected]>
I still see metric errors in the system journal of edge multipass:
It appears that multipassd is run with the |
Yes, it is on purpose to log to journal with debug verbosity, this way we get enhanced history in case of issues. When looking at the log, you can use the |
Is there any way to customize it and make the change survive after snap refresh? |
What change? The I noticed we don't pass |
When launching a VM I got the following error message; feels like this should be suppressed.
Starting .. -[2018-11-11T17:16:14.537] [error] [metrics] Metrics error: Error transferring https://api.staging.jujucharms.com/omnibus/v4/multipass/metrics - server replied: Proxy Error - Attempting to resend
The text was updated successfully, but these errors were encountered: