From fd6382568ffe2ff054043d1072bfa7699d1357c0 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Mon, 28 Oct 2024 16:06:19 +0100 Subject: [PATCH] Correct telemetry distro name in AddDistroAttributes (#168) As titled. --- .../Extensions/ResourceBuilderExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.OpenTelemetry/Extensions/ResourceBuilderExtensions.cs b/src/Elastic.OpenTelemetry/Extensions/ResourceBuilderExtensions.cs index 651c730..879d298 100644 --- a/src/Elastic.OpenTelemetry/Extensions/ResourceBuilderExtensions.cs +++ b/src/Elastic.OpenTelemetry/Extensions/ResourceBuilderExtensions.cs @@ -76,7 +76,7 @@ public static ResourceBuilder UseElasticDefaults(this ResourceBuilder builder, I internal static ResourceBuilder AddDistroAttributes(this ResourceBuilder builder) => builder.AddAttributes(new Dictionary { - { ResourceSemanticConventions.AttributeTelemetryDistroName, "elastic-dotnet" }, + { ResourceSemanticConventions.AttributeTelemetryDistroName, "elastic" }, { ResourceSemanticConventions.AttributeTelemetryDistroVersion, VersionHelper.InformationalVersion } }); }