Open
Description
Is it possible to not only add the tag as a comment to the query but actually enrich the OpenTelemetry span of the query?
var blog = await sqlServerDb.Blogs
.OrderBy(b => b.BlogId)
.TagWith("Getting published blog posts")
.FirstAsync();
Screenshot of the as-is situation in Aspire Dashboard (note that due to having EF / SQL wired up I do see the execution):
Maybe is there something for the wire-up?
.AddHttpClientInstrumentation()
// .AddSqlClientInstrumentation()
.AddEntityFrameworkCoreInstrumentation(options =>
{
//options.EnrichWithIDbCommand = (activity, command) =>
//{
// var stateDisplayName = $"{command.CommandType} main";
// activity.DisplayName = stateDisplayName;
// activity.SetTag("db.name", stateDisplayName);
//};
})