Microsoft.Identity.Client.TelemetryCore.OpenTelemetry.IOtelInstrumentation
interface IOtelInstrumentation
namespace Microsoft.Identity.Client.TelemetryCore.OpenTelemetry
{
internal interface IOtelInstrumentation
{
void LogSuccessMetrics(string platform, ApiEvent.ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheLevel cacheLevel, long totalDurationInUs, AuthenticationResultMetadata authResultMetadata, ILoggerAdapter logger);
void IncrementSuccessCounter(string platform, ApiEvent.ApiIds apiId, string callerSdkId, string callerSdkVersion, TokenSource tokenSource, CacheRefreshReason cacheRefreshReason, CacheLevel cacheLevel, ILoggerAdapter logger, int TokenType);
void LogFailureMetrics(string platform, string errorCode, ApiEvent.ApiIds apiId, string callerSdkId, string callerSdkVersion, CacheRefreshReason cacheRefreshReason, int tokenType);
}
}