- APM .NET Agent: other versions:
- Introduction
- Set up the Agent
- NuGet packages
- Supported technologies
- Configuration
- Public API
- OpenTelemetry Bridge
- Metrics
- Logs
- Performance tuning
- Troubleshooting
- Upgrading
- Release notes
gRPC
editgRPC
editQuick start
editAutomatic instrumentation for gRPC can be enabled for both client-side and server-side gRPC calls.
Automatic instrumentation for ASP.NET Core server-side is built in to NuGet package
Automatic instrumentation can be enabled for the client-side by referencing Elastic.Apm.GrpcClient
package
and passing GrpcClientDiagnosticListener
to the UseElasticApm
method in case of ASP.NET Core
or passing GrpcClientDiagnosticSubscriber
to the Subscribe
method
Agent.Subscribe(new GrpcClientDiagnosticSubscriber());
Diagnostic events from Grpc.Net.Client
are captured as spans.
On this page
Was this helpful?
Thank you for your feedback.