microsoft-authentication-library-for-java icon indicating copy to clipboard operation
microsoft-authentication-library-for-java copied to clipboard

Use OpenTelemetry to collect and log client-side data

Open Avery-Dunn opened this issue 2 years ago • 0 comments

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: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4229

Avery-Dunn avatar Jul 13 '23 16:07 Avery-Dunn