Enhancements:
// #60
builder.Services.AddSignalR()
.AddHubInstrumentation(options =>
{
options.OnException = static (activity, exception) =>
{
if (exception is HubException)
{
// overwrite otel.status_code attribute from "ERROR" to "OK"
activity.SetTag("otel.status_code", "OK");
}
};
});
Full Changelog: v1.4.0...v1.5.0