OpenTelemetry for Dataverse ServiceClient?

by Mar 22, 2024

OpenTelemetry for Dataverse ServiceClient?

I love OpenTelemetry. It’s so easy to plug in instrumentation and have a clear view of your distributed system.

But Dataverse ServiceClient doesn’t have it yet…

Its logging is sparse.

Fixing a bug using the Dataverse logs in Application Insights is not helpful.

I started to add OpenTelemetry instrumentation into my own code for Dataverse calls.

It has already been running for over a year, and I am very happy with it.

I packed it up into a NuGet to share. Hope you can find usefulness in it. Please let me know!

https://www.nuget.org/packages/RemyDuijkeren.OpenTelemetry.Instrumentation.DataverseServiceClient

#

Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Improving Optimization?

Improving Optimization? The traditional steps of Optimization: 1. Eliminate 2. Automate or 3. Delegate What if we added a missing element? Simplify. Before automating a convoluted workflow or delegating a tangled task, strip away the unnecessary. Make processes leaner...

read more

Unit tests for Dataverse plugins?

Unit tests for Dataverse plugins? I must admit, I almost never write unit tests for Dataverse plugins. Plugins are often quite simple, testing them in isolation is not particularly useful. Often you only test a couple of if-statements. Unit tests don't bring a lot of...

read more

New Dynamics 365 browser extension

New Dynamics 365 browser extension I'm trying out the new -Power Roles- extension and it looks very promising. You browse to a Dynamics 365 (or Power Apps) app and then you press -record-. It will then monitor all the action you do in the app and propose which...

read more