[QUERY] Azure.Monitor.OpenTelemetry.AspNetCore - How to write custom dimensions with ILogger? #47594
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Monitor - Distro
Monitor OpenTelemetry Distro
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Library name and version
Azure.Monitor.OpenTelemetry.AspNetCore 1.3.0-beta.2
Query/Question
using
Azure.Monitor.OpenTelemetry.AspNetCore
as a "sink" andILogger
, how can I write a log with a custom dimension that will show for that log alone? I don't want the custom dimension to reflect for the all the logs/dependencies/metrics of a given request... just like the classicalLogTelemetry.CustomDimensions.Add("specificDimensionA", "value A")
?Environment
.net 9, latest version
other packages:
OpenTelemetry.Exporter.Console
OpenTelemetry.Extensions.Hosting
OpenTelemetry.Instrumentation.AspNetCore
The text was updated successfully, but these errors were encountered: