Atatus .NET APM traces the Elasticsearch .NET client by subscribing to the diagnostics it emits, creating a span for each request issued to Elasticsearch inside an active transaction.

Package installation

Add the Atatus Elasticsearch instrumentation package to the application.
If you are already using the Atatus.NetCoreAll package, Elasticsearch subscribers are wired automatically and no additional subscription code is required.

Subscribe to Elasticsearch diagnostics

Register the diagnostics subscriber once during application startup so Atatus can create spans from the emitted activities.

What Atatus captures ?

  • A span for each request issued through the Elasticsearch .NET client, including the operation and target index.