I'm using the new OpenTelemetry stuff and it's great. It was trivial to add and immediately instrumented my queries. Thanks so much!
However,the traces weren't super useful. Here's an example of how this looks in my tracing provider (this is honeycomb):

Every SQL query span is called the name of the DB being accessed. This makes it difficult to understand what's going on at a glance.
I looked in the code, and there doesn't seem to be any configuration ability here.
It seems the standard way to customize an Activity in .NET is to use an Enrich field in the OpenTelemetryOptions. Here is one example, but I believe all the libraries I've seen have this.
The things that I would like to "Enrich" are to change the name of the source (maybe I can do that using DisplayName) and to list some parameters to add as Tags.
I'm using the new OpenTelemetry stuff and it's great. It was trivial to add and immediately instrumented my queries. Thanks so much!
However,the traces weren't super useful. Here's an example of how this looks in my tracing provider (this is honeycomb):
Every SQL query span is called the name of the DB being accessed. This makes it difficult to understand what's going on at a glance.
I looked in the code, and there doesn't seem to be any configuration ability here.
It seems the standard way to customize an Activity in .NET is to use an
Enrichfield in the OpenTelemetryOptions. Here is one example, but I believe all the libraries I've seen have this.The things that I would like to "Enrich" are to change the name of the source (maybe I can do that using
DisplayName) and to list some parameters to add as Tags.