Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use OpenTelemetry to collect and log client-side data #675

Open
6 tasks
Avery-Dunn opened this issue Jul 13, 2023 · 0 comments
Open
6 tasks

Use OpenTelemetry to collect and log client-side data #675

Avery-Dunn opened this issue Jul 13, 2023 · 0 comments
Labels
Enhancement A request or suggestion to improve some aspect of the library SDK-Consistency Items that deal with consistency between all MSALs

Comments

@Avery-Dunn
Copy link
Contributor

Avery-Dunn commented Jul 13, 2023

OpenTelemetry is a product that can help create consistent telemetry collection

  • Use OpenTelemetry to collect and log the same data we are currently collecting
  • Add public API to allow developers to opt-in to getting OpenTelemetry data.
  • Capture metrics for success counter with tags client id, token source and cache refresh reason.
  • Capture metrics for failure counter with tags client id, error code.

Extra, depending on whether or not we can integrate it into existing data streams:

  • Add database to collect the datapoints
  • Use the logged data to identify common issues (not using cache, long HTTP times, etc.)

Similar item in MSAL .NET: AzureAD/microsoft-authentication-library-for-dotnet#4229

@Avery-Dunn Avery-Dunn added Enhancement A request or suggestion to improve some aspect of the library SDK-Consistency Items that deal with consistency between all MSALs labels Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A request or suggestion to improve some aspect of the library SDK-Consistency Items that deal with consistency between all MSALs
Projects
None yet
Development

No branches or pull requests

1 participant