From 687c7f7d0a43bfdd2faf8127039755ff521207e7 Mon Sep 17 00:00:00 2001 From: Gemene Narcis Date: Fri, 4 Oct 2024 11:35:22 +0300 Subject: [PATCH] datadogreceiver: migrate to newer semconv version --- receiver/datadogreceiver/internal/translator/tags.go | 2 +- .../datadogreceiver/internal/translator/traces_translator.go | 2 +- .../internal/translator/traces_translator_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/receiver/datadogreceiver/internal/translator/tags.go b/receiver/datadogreceiver/internal/translator/tags.go index e2cfc3da4f80..0c4dafb16ede 100644 --- a/receiver/datadogreceiver/internal/translator/tags.go +++ b/receiver/datadogreceiver/internal/translator/tags.go @@ -9,7 +9,7 @@ import ( "sync" "go.opentelemetry.io/collector/pdata/pcommon" - semconv "go.opentelemetry.io/collector/semconv/v1.16.0" + semconv "go.opentelemetry.io/collector/semconv/v1.21.0" ) // See: diff --git a/receiver/datadogreceiver/internal/translator/traces_translator.go b/receiver/datadogreceiver/internal/translator/traces_translator.go index 59a70b012161..6605226ceff7 100644 --- a/receiver/datadogreceiver/internal/translator/traces_translator.go +++ b/receiver/datadogreceiver/internal/translator/traces_translator.go @@ -19,7 +19,7 @@ import ( pb "github.com/DataDog/datadog-agent/pkg/proto/pbgo/trace" "go.opentelemetry.io/collector/pdata/pcommon" "go.opentelemetry.io/collector/pdata/ptrace" - semconv "go.opentelemetry.io/collector/semconv/v1.16.0" + semconv "go.opentelemetry.io/collector/semconv/v1.21.0" "google.golang.org/protobuf/proto" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator/header" diff --git a/receiver/datadogreceiver/internal/translator/traces_translator_test.go b/receiver/datadogreceiver/internal/translator/traces_translator_test.go index f7cdd3d3a1f3..adcc6292eaa1 100644 --- a/receiver/datadogreceiver/internal/translator/traces_translator_test.go +++ b/receiver/datadogreceiver/internal/translator/traces_translator_test.go @@ -16,7 +16,7 @@ import ( "github.com/stretchr/testify/require" vmsgp "github.com/vmihailenco/msgpack/v5" "go.opentelemetry.io/collector/pdata/pcommon" - semconv "go.opentelemetry.io/collector/semconv/v1.16.0" + semconv "go.opentelemetry.io/collector/semconv/v1.21.0" "google.golang.org/protobuf/proto" "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator/header"