dotnet-cqrs/docs/observability/logging/application-insights.md

23 lines
375 B
Markdown

# Application Insights
Integration with Azure Application Insights.
## Configuration
```csharp
builder.Services.AddApplicationInsightsTelemetry();
builder.Logging.AddApplicationInsights();
```
## Querying
```kusto
traces
| where customDimensions.CorrelationId == "abc-123"
| project timestamp, message, customDimensions
```
## See Also
- [Logging Overview](README.md)