Open adamedx opened 2 years ago
The SDK does support telemetry now through OpenTelemetry in the Kiota libraries.
https://github.com/microsoftgraph/msgraph-sdk-design/blob/dm/logging/Observability.md
What we probably need to do is provide some documentation on how to set this up link to it.
Is your feature request related to a problem? Please describe. Developers and their customers do not have a way to understand behavior as seen by the client, particularly for timeouts, latency, and other issues. We need a way to see this across all deployments of their application. This can help developers and customers determine the health of infrastructure between the application and Microsoft Graph frontends and distinguish between client issues and problems with API services themselves.
Describe the solution you'd like
Consider using the same approach as the MSAL library which is often used with Microsoft Graph SDK:
Describe alternatives you've considered Having developers install additional monitoring tools that log and aggregate Microsoft Graph performance information is certainly possible but requires significant effort from customers.
Additional context Note that if each application is left to define its own reliability tracing coverage will be (and is already!) very uneven. Each application must make the effort to do this raising the cost