Skip to content

Commit

Permalink
try removing comments for formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andracc committed Oct 9, 2024
1 parent 20e5565 commit a106f7a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Backend/Otel/OtelKernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public static void AddOpenTelemetryInstrumentation(this IServiceCollection servi

internal class LocationEnricher(ILocationProvider locationProvider) : BaseProcessor<Activity>
{
// to complete at end of activities
public override async void OnEnd(Activity data)
{
string? uriPath = (string?)data.GetTagItem("url.full");
Expand All @@ -189,8 +188,6 @@ public override async void OnEnd(Activity data)
data?.AddTag("country", location.Country);
data?.AddTag("regionName", location.Region);
data?.AddTag("city", location.City);

// data?.SetTag("SESSIONID BAGGAGE", data?.GetBaggageItem("sessionId"));
}
data?.SetTag("SESSIONID BAGGAGE", data?.GetBaggageItem("sessionId"));
if (uriPath != null && uriPath.Contains(locationUri))
Expand Down

0 comments on commit a106f7a

Please sign in to comment.