From d0329a10d537da979bdc7ab2211f4b0de418a325 Mon Sep 17 00:00:00 2001 From: Andra Constantin Date: Thu, 26 Sep 2024 17:13:34 -0400 Subject: [PATCH] tag is regionName (full) rather than region (abbrev) status not included in tags status not a tag --- Backend.Tests/Otel/OtelKernelTest.cs | 1 - Backend/Otel/OtelKernel.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Backend.Tests/Otel/OtelKernelTest.cs b/Backend.Tests/Otel/OtelKernelTest.cs index d89779c9d..3de3365a7 100644 --- a/Backend.Tests/Otel/OtelKernelTest.cs +++ b/Backend.Tests/Otel/OtelKernelTest.cs @@ -55,7 +55,6 @@ public void TestOnEnd() // } var testLocation = new Dictionary { - {"status", "success"}, {"country", "test country"}, {"regionName", "test region"}, {"city", "city"} diff --git a/Backend/Otel/OtelKernel.cs b/Backend/Otel/OtelKernel.cs index 045ac2930..ec2dfccfd 100644 --- a/Backend/Otel/OtelKernel.cs +++ b/Backend/Otel/OtelKernel.cs @@ -178,7 +178,7 @@ public override async void OnEnd(Activity data) }; data?.AddTag("country", location.Country); - data?.AddTag("region", location.Region); + data?.AddTag("regionName", location.Region); data?.AddTag("city", location.City); }