- 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
Azure Cosmos DB
editAzure Cosmos DB
editQuick start
editInstrumentation 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.
On this page
Was this helpful?
Thank you for your feedback.