-
Notifications
You must be signed in to change notification settings - Fork 945
Support for ArmeriaRpcClientBuilderInstrumentation #6319
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
Comments
Hey @jmadureira , |
Just noticed that the Thanks for the reply @mateuszrzeszutek but unfortunately the already existing gRPC instrumentation doesn't seem to work. My assumption is that the gRPC instrumentation works at the |
Yes, that seems to be correct. Looks like we'll need that additional instrumentation after all.
I think that rather than applying a HTTP decorator, we'll need to add a gRPC |
I'm actually kinda curious in knowing how this can be solved at the gRPC level. Assuming that the |
Ah ok so the idea is still to instrument at the Armeria level, only instead of creating a HTTP decorator we create a gRPC I could take a shot at solving this if #6242 was fixed. Otherwise it will be a shot in the dark. |
Is your feature request related to a problem? Please describe.
The current open telemetry javaagent won't trace Armeria RPC client calls because the respective instrumentation doesn't exit.
Describe the solution you'd like
I was able to test that the current
clientDecorator
returned by theArmeriaTelemetry
class works as expected when decorating gRPC clients:As such I'm assuming that the only thing required is to create another
Intrumentation
for thecom.linecorp.armeria.client.grpc.GrpcClientBuilder
following the same structure used by theArmeriaWebClientBuilderInstrumentation
BTW I'm not 100% certain that this will work because I'm not familiar enough with the SDK and haven't had enough time to play with it.
Describe alternatives you've considered
The only alternative I've considered was the previous example I mentioned where the GrpcClientBuilder was manually decorated.
Additional context
N/A
The text was updated successfully, but these errors were encountered: