Dataverse ServiceClient Instrumentation for OpenTelemetry .NET #507
RemyDuijkeren
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The current implementation of ServiceClient doesn't (yet?) have proper instrumentation for OpenTelemetry .NET. It only shows the WCF call to https://myTenant.crm4.dynamics.com/XRMServices/2011/Organization.svc and nothing more.
I created a library that wraps any found ServiceClient that is registered with Dependency Injection. It will enhance the logging by adding information about the query, action, entity and params.
OpenTelemetry.Instrumentation.DataverseServiceClient
Hopefully, this is useful for someone!
Beta Was this translation helpful? Give feedback.
All reactions