Skip to content

[Bug] OTel duration in L1 cache and duration creating POP tokens are badly computed #5036

Closed
@bgavrilMS

Description

Library version used

4.64.0

.NET version

all

Scenario

ConfidentialClient - web site (AcquireTokenByAuthCode), ConfidentialClient - web api (AcquireTokenOnBehalfOf), ConfidentialClient - service to service (AcquireTokenForClient)

Is this a new or an existing app?

None

Issue description and reproduction steps

Measure duration is L1 cache or duration creating POP tokens. The values are wrong by a factor of 100 (e.g. should be 60000 microseconds, but MSAL only reports 600)

Relevant code snippets

No response

Expected behavior

No response

Identity provider

Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)

Regression

no

Solution and workarounds

No response

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions