Skip to content

Commit

Permalink
tag is regionName (full) rather than region (abbrev)
Browse files Browse the repository at this point in the history
status not included in tags

status not a tag
  • Loading branch information
andracc committed Sep 26, 2024
1 parent 8098773 commit d0329a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Backend.Tests/Otel/OtelKernelTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public void TestOnEnd()
// }
var testLocation = new Dictionary<string, string>
{
{"status", "success"},
{"country", "test country"},
{"regionName", "test region"},
{"city", "city"}
Expand Down
2 changes: 1 addition & 1 deletion Backend/Otel/OtelKernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d0329a1

Please sign in to comment.