<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.11.0-beta.1" />

Azure.Monitor.OpenTelemetry.Exporter.Internals.CustomerSdkStats.DropCodeExtensions

static class DropCodeExtensions
public static string ToDimensionString(this DropCode dropCode)

Converts a DropCode to its spec-defined dimension value (SCREAMING_SNAKE_CASE), matching the customer-facing SDKStats specification and the values emitted by the other language SDKs.