Azure Monitor OTel Exporter does not support array attributes on metrics #47262
Labels
Client
This issue points to a problem in the data-plane of the library.
Monitor - Exporter
Monitor OpenTelemetry Exporter
Try
Array attribute on spans works fine, but is converted to string with
ToString()
on metrics hereazure-sdk-for-net/sdk/monitor/Azure.Monitor.OpenTelemetry.Exporter/src/Customizations/Models/MetricsData.cs
Line 34 in e1e91d2
The suggestion is to do it consistently (comma separated list).
context: open-telemetry/semantic-conventions#1525
use-case: as a user I might want to filter my metrics checking if array attribute contains a specific value among others.
The text was updated successfully, but these errors were encountered: