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 telemetry logging #458

Merged
merged 2 commits into from
Jul 20, 2024
Merged

Reduce telemetry logging #458

merged 2 commits into from
Jul 20, 2024

Conversation

sfc-gh-srhodes
Copy link
Collaborator

The current telemetry handling tends to be overly verbose. We log both here and during authorization (#331), so any RPC request tends to have both a "rpc started" and a "rpc authorized" message. We also log peer information and method information within the authorization, so it's redundant to have them both at the top level and in the authorization.

Omitting the peer and method attributes will make them dissapear from other logs. It's still possible to correlate across logs with sansshell-trace-id.

I've left in the log messages at V(1) so that they're there if anybody needs to debug.

The current telemetry handling tends to be overly verbose. We log both here and during authorization (#331), so any RPC request tends to have both a "rpc started" and a "rpc authorized" message. We also log peer information and method information within the authorization, so it's redundant to have them both at the top level and in the authorization.

Omitting the peer and method attributes will make them dissapear from other logs. It's still possible to correlate across logs with `sansshell-trace-id`.

I've left in the log messages at V(1) so that they're there if anybody needs to debug.
@sfc-gh-srhodes sfc-gh-srhodes enabled auto-merge (squash) July 20, 2024 01:09
@sfc-gh-srhodes sfc-gh-srhodes merged commit 6abb96c into main Jul 20, 2024
5 checks passed
@sfc-gh-srhodes sfc-gh-srhodes deleted the srhodes-telemetry branch July 20, 2024 01:15
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.

2 participants