You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Azure Cosmos DBedit
Quick startedit
Instrumentation can be enabled for Azure Cosmos DB by referencing Elastic.Apm.Azure.CosmosDb
package and subscribing to diagnostic events.
Agent.Subscribe(new AzureCosmosDbDiagnosticsSubscriber());
Diagnostic events from Microsoft.Azure.Cosmos
, Microsoft.Azure.DocumentDb
, and Microsoft.Azure.DocumentDb.Core
are captured as DB spans.