From 513ceeec0a4cb73722a4f2ea6e06ffb4ee6b46fb Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 4 Aug 2025 11:27:07 +0200 Subject: [PATCH] cli-plugins/manager: remove deprecated ResourceAttributesEnvvar This const was deprecated in 9dc175d6ef7057c0e86d3a097b86012676fe4a95, which is part of v28.0, so let's remove it. Signed-off-by: Sebastiaan van Stijn --- cli-plugins/manager/manager.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cli-plugins/manager/manager.go b/cli-plugins/manager/manager.go index 52be4da40b..b76dbbe376 100644 --- a/cli-plugins/manager/manager.go +++ b/cli-plugins/manager/manager.go @@ -24,12 +24,6 @@ const ( // plugin. Assuming $PATH and $CWD remain unchanged this should allow // the plugin to re-execute the original CLI. ReexecEnvvar = metadata.ReexecEnvvar - - // ResourceAttributesEnvvar is the name of the envvar that includes additional - // resource attributes for OTEL. - // - // Deprecated: The "OTEL_RESOURCE_ATTRIBUTES" env-var is part of the OpenTelemetry specification; users should define their own const for this. This const will be removed in the next release. - ResourceAttributesEnvvar = "OTEL_RESOURCE_ATTRIBUTES" ) // errPluginNotFound is the error returned when a plugin could not be found.