<PackageReference Include="Microsoft.Identity.Client" Version="4.85.0" />

Microsoft.Identity.Client.TelemetryCore.OpenTelemetry.NullOtelInstrumentation

public void IncrementFailureCounter(string platform, string errorCode, ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheRefreshReason cacheRefreshReason, int tokenType, string rawStsErrorCode = null, ILoggerAdapter logger = null, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)

public void LogFailureHttpDuration(string platform, ApiEvent apiEvent, int httpStatusCode, ILoggerAdapter logger = null, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)

public void LogFailureMetrics(string platform, string errorCode, ApiEvent apiEvent, string callerSdkId, string callerSdkVersion, CacheRefreshReason cacheRefreshReason, int tokenType, int httpStatusCode, long totalDurationInMs, string rawStsErrorCode = null, ILoggerAdapter logger = null, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)

public void LogRemainingTokenLifetime(string platform, ApiIds apiId, TokenSource tokenSource, CacheLevel cacheLevel, CacheRefreshReason cacheRefreshReason, int tokenType, DateTimeOffset expiresOn, ILoggerAdapter logger = null, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)

public void LogSuccessHttpDuration(string platform, ApiIds apiId, AuthenticationResultMetadata authResultMetadata, ILoggerAdapter logger = null, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)

public void LogSuccessMetrics(string platform, ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheLevel cacheLevel, long totalDurationInUs, AuthenticationResultMetadata authResultMetadata, ILoggerAdapter logger, DateTimeOffset expiresOn, IReadOnlyList<KeyValuePair<string, object>> extraTags = null)