@@ -12,7 +12,7 @@ import (
1212 jsoniter "github.com/json-iterator/go"
1313 "go.opentelemetry.io/collector/pdata/pcommon"
1414 "go.opentelemetry.io/collector/pdata/plog"
15- conventionsv138 "go.opentelemetry.io/otel/semconv/v1.38 .0"
15+ conventionsv139 "go.opentelemetry.io/otel/semconv/v1.39 .0"
1616 conventions "go.opentelemetry.io/otel/semconv/v1.40.0"
1717
1818 "github.com/open-telemetry/opentelemetry-collector-contrib/extension/encoding/azureencodingextension/internal/metadata"
@@ -166,7 +166,7 @@ func (r *azureMSDiagnosticErrorLog) PutCommonAttributes(attrs pcommon.Map, body
166166 // Then put custom top-level attributes
167167 unmarshaler .AttrPutStrIf (attrs , attributeAzureMSTaskName , r .TaskName )
168168 if ! metadata .ExtensionAzureencodingDontEmitV0LogConventionsFeatureGate .IsEnabled () {
169- unmarshaler .AttrPutStrIf (attrs , string (conventionsv138 .ErrorMessageKey ), r .ErrorMessage )
169+ unmarshaler .AttrPutStrIf (attrs , string (conventionsv139 .ErrorMessageKey ), r .ErrorMessage )
170170 }
171171 if metadata .ExtensionAzureencodingEmitV1LogConventionsFeatureGate .IsEnabled () {
172172 unmarshaler .AttrPutStrIf (attrs , string (conventions .ExceptionMessageKey ), r .ErrorMessage )
@@ -316,7 +316,7 @@ func (r *azureMSOperationalLog) PutProperties(attrs pcommon.Map, _ pcommon.Value
316316 unmarshaler .AttrPutStrIf (attrs , string (conventions .AzureServiceRequestIDKey ), r .Properties .TrackingID )
317317 unmarshaler .AttrPutStrIf (attrs , attributeErrorCode , r .Properties .ErrorCode )
318318 if ! metadata .ExtensionAzureencodingDontEmitV0LogConventionsFeatureGate .IsEnabled () {
319- unmarshaler .AttrPutStrIf (attrs , string (conventionsv138 .ErrorMessageKey ), r .Properties .ErrorMessage )
319+ unmarshaler .AttrPutStrIf (attrs , string (conventionsv139 .ErrorMessageKey ), r .Properties .ErrorMessage )
320320 }
321321 if metadata .ExtensionAzureencodingEmitV1LogConventionsFeatureGate .IsEnabled () {
322322 unmarshaler .AttrPutStrIf (attrs , string (conventions .ExceptionMessageKey ), r .Properties .ErrorMessage )
0 commit comments