Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

NOISSUE - Replace deprecated instrumentation method #278

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

SammyOina
Copy link
Contributor

What type of PR is this?

This is an update that replaces the unitary grpc interceptor method on grpc options

What does this do?

Replaced the gRPC server's UnaryInterceptor with StatsHandler from the otelgrpc package for enhanced monitoring capabilities, aligning with best practices for observability. This update allows us to take full advantage of OpenTelemetry's metrics and traces, thereby improving insight into our gRPC server's performance and reliability.

Which issue(s) does this PR fix/relate to?

None

Have you included tests for your changes?

No, this does not change functionality or add new methods

Did you document any new/modified feature?

No, no functionality was changed

Notes

Replaced the gRPC server's UnaryInterceptor with StatsHandler from the otelgrpc package for enhanced monitoring capabilities, aligning with best practices for observability. This update allows us to take full advantage of OpenTelemetry's metrics and traces, thereby improving insight into our gRPC server's performance and reliability.

Signed-off-by: SammyOina <[email protected]>
@dborovcanin dborovcanin merged commit 867060f into absmach:main Jan 25, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants