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

reduce spectatord logging #75

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

copperlight
Copy link
Collaborator

The Sent: messages serve as a positive confirmation that spectatord is either delivering or dropping measurements, but there is generally no action to be taken from it directly, and this information is also recorded in the spectator.measurements metric.

In the case of Titus, this message alone is responsible for 25% of all logs.

Moving this message to the debug level drops it from the standard use case, while still allowing it to be accessed if the --verbose flag is passed to the binary.

Fixes #71.

The `Sent:` messages serve as a positive confirmation that spectatord is
either delivering or dropping measurements, but there is generally no action
to be taken from it directly, and this information is also recorded in the
`spectator.measurements` metric.

In the case of Titus, this message alone is responsible for 25% of all logs.

Moving this message to the `debug` level drops it from the standard use case,
while still allowing it to be accessed if the `--verbose` flag is passed to
the binary.

Fixes Netflix-Skunkworks#71.
@copperlight copperlight merged commit 6d83ee2 into Netflix-Skunkworks:main Oct 18, 2023
1 check passed
@copperlight copperlight deleted the reduce-logging branch October 18, 2023 21:28
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.

spectatord Logging is Too Verbose
1 participant