You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the logs by themselves may have interesting contents every now and then, I also notice seemingly insignificant logs like the following, where there are seemingly no changes requested to the state of the system:
Apply filtering in the application for which logs are interesting, or stop logging at all these locations. By eliminating one or two of these log sites the log volume can quite easily be reduced by a good margin.
Implementation ideas
move the log level for no-op changes (such as what tends to happen on line 304) to a debug level
move internal state update log messages to a debug level (e.g., metrics)
merge non-critical messages into a single "this all happened while processing this message" uber-logline.
if these messages are used to determine timing, only log messages which take (e.g.) >10ms to process.
The text was updated successfully, but these errors were encountered:
Em opened a PR to log fewer lines per request: #1015
Also, #1013 reduced default frequency of agent->plugin requests from 5s to 15s. This is probably should be enough for now and we can close this issue after release?
I checked the log volume explorer in grafana and scheduler logs are currently less frequent than controller, agent, runner and proxy. Closing this issue, next iteration to reduce logs can use this issue -> https://github.com/neondatabase/cloud/issues/15605.
Problem description / Motivation
About 95% of the autoscale-scheduler logs are generated in the plugin/run.go file, with a perfect 25/25/25/25 split across these locations:
While the logs by themselves may have interesting contents every now and then, I also notice seemingly insignificant logs like the following, where there are seemingly no changes requested to the state of the system:
Feature idea(s) / DoD
Apply filtering in the application for which logs are interesting, or stop logging at all these locations. By eliminating one or two of these log sites the log volume can quite easily be reduced by a good margin.
Implementation ideas
The text was updated successfully, but these errors were encountered: