From a7f85cfde3182c3fa389ea6debf90e168954f101 Mon Sep 17 00:00:00 2001 From: Westin Musser <127992899+westin-m@users.noreply.github.com> Date: Tue, 7 Jan 2025 14:04:10 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Keegan --- .../Telemetry/IdentityModelTelemetry.cs | 1 - src/Microsoft.IdentityModel.Tokens/Telemetry/TelemetryClient.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Microsoft.IdentityModel.Tokens/Telemetry/IdentityModelTelemetry.cs b/src/Microsoft.IdentityModel.Tokens/Telemetry/IdentityModelTelemetry.cs index 94af3b2a1f..b41952ea03 100644 --- a/src/Microsoft.IdentityModel.Tokens/Telemetry/IdentityModelTelemetry.cs +++ b/src/Microsoft.IdentityModel.Tokens/Telemetry/IdentityModelTelemetry.cs @@ -12,7 +12,6 @@ internal class IdentityModelTelemetry /// Meter name for MicrosoftIdentityModel. /// private const string MeterName = "MicrosoftIdentityModel_Meter"; - //public const string ServiceName = "MicrosoftIdentityModel"; /// /// The meter responsible for creating instruments. diff --git a/src/Microsoft.IdentityModel.Tokens/Telemetry/TelemetryClient.cs b/src/Microsoft.IdentityModel.Tokens/Telemetry/TelemetryClient.cs index 3839c56b89..6a8005fb2e 100644 --- a/src/Microsoft.IdentityModel.Tokens/Telemetry/TelemetryClient.cs +++ b/src/Microsoft.IdentityModel.Tokens/Telemetry/TelemetryClient.cs @@ -38,7 +38,6 @@ public void IncrementConfigurationRefreshRequestCounter(string metadataAddress, public void LogConfigurationRetrievalDuration(string metadataAddress, TimeSpan operationDuration) { - var tagList = new TagList() { { TelemetryConstants.IdentityModelVersionTag, ClientVer },