Microsoft.Identity.Client.Platforms.Features.OpenTelemetry.OtelInstrumentation
Class to hold the OpenTelemetry objects used by MSAL.
Constant to hold the name of the Meter.
public OtelInstrumentation()
public void IncrementSuccessCounter(string platform, ApiIds apiId, string callerSdkId, string callerSdkVersion, TokenSource tokenSource, CacheRefreshReason cacheRefreshReason, CacheLevel cacheLevel, ILoggerAdapter logger, int tokenType)
public void LogFailureMetrics(string platform, string errorCode, ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheRefreshReason cacheRefreshReason, int tokenType)
public void LogSuccessMetrics(string platform, ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheLevel cacheLevel, long totalDurationInUs, AuthenticationResultMetadata authResultMetadata, ILoggerAdapter logger)