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

stats/opentelemetry: CSM Observability server side component changes #7264

Merged
merged 4 commits into from
May 29, 2024

Conversation

zasweq
Copy link
Contributor

@zasweq zasweq commented May 23, 2024

RELEASE NOTES: N/A

@zasweq zasweq requested a review from dfawley May 23, 2024 23:28
@zasweq zasweq added the Type: Feature New features or improvements in behavior label May 23, 2024
@zasweq zasweq added this to the 1.65 Release milestone May 23, 2024
@dfawley dfawley assigned zasweq and unassigned dfawley May 24, 2024
@zasweq zasweq assigned dfawley and unassigned zasweq May 24, 2024
}
err := handler(srv, als)
if err != nil {
logger.Infof("RPC failed with error: %v", err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this log, too, please.

I don't see why we would want to log when an RPC fails in the otel plugin. It's not really a significant event, and could become extremely spammy. If you need it for debugging then you can V(2) it.

https://github.com/grpc/grpc-go/blob/master/Documentation/log_levels.md#info

At verbosity of 0 (the default), any single info message should not be output more than once every 5 minutes under normal operation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I had this since every? most? interceptors I saw in the code base had this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What interceptors are those?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Examples are not library code, though, so that is fine.

@dfawley dfawley assigned zasweq and unassigned dfawley May 29, 2024
@zasweq zasweq assigned dfawley and unassigned zasweq May 29, 2024
@dfawley dfawley assigned zasweq and unassigned dfawley May 29, 2024
@zasweq zasweq assigned dfawley and unassigned zasweq May 29, 2024
@dfawley dfawley assigned zasweq and unassigned dfawley May 29, 2024
@zasweq zasweq merged commit f1aceb0 into grpc:master May 29, 2024
11 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Feature New features or improvements in behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants