From 07ee9e4ba1fdcff0af76af0d9b1e570bc15622e3 Mon Sep 17 00:00:00 2001 From: Narcis Gemene <7252787+narcis96@users.noreply.github.com> Date: Thu, 19 Sep 2024 23:26:53 +0300 Subject: [PATCH] kubeletstatsreceiver: migrate to latest semconv version (#35273) Description: The version of semconv is upgraded from v1.6.1 to v1.27.0 Link to tracking Issue: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/22095 Testing: Tests passed --- receiver/kubeletstatsreceiver/internal/kubelet/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go b/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go index dd0fff332716..954a01f03cd3 100644 --- a/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go +++ b/receiver/kubeletstatsreceiver/internal/kubelet/metadata.go @@ -9,7 +9,7 @@ import ( "regexp" "strings" - conventions "go.opentelemetry.io/collector/semconv/v1.6.1" + conventions "go.opentelemetry.io/collector/semconv/v1.27.0" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/types" stats "k8s.io/kubelet/pkg/apis/stats/v1alpha1"