Closed Javidleo closed 2 weeks ago
I searched a lot in internet to find anything related to SignalR Open Telemetry Configuration, I also use the above method after the SignalR service registration in Startup, why there is nothing really exist for this topic? checked this link but its for .NET 9 : https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
It's in .NET 9.
why its not possible to create manual activities ? I use rabbit mq as mesage broker but when an event published from a Hub Method, the Rabbit MQ Activity Source Returns null when calling StartActivity,
@noahfalk do we have end to end docs for using activities?
I searched a lot in internet to find anything related to SignalR Open Telemetry Configuration, I also use the above method after the SignalR service registration in Startup, why there is nothing really exist for this topic? checked this link but its for .NET 9: https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
It's in .NET 9.
so we don't have it in .NET 8?
so we don't have it in .NET 8?
No. There's this package that someone built that supports .NET 8 though https://www.nuget.org/packages/AspNetCore.SignalR.OpenTelemetry
I searched a lot in internet to find anything related to SignalR Open Telemetry Configuration, I also use the above method after the SignalR service registration in Startup, why there is nothing really exist for this topic? checked this link but its for .NET 9 : https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
It's in .NET 9.
why its not possible to create manual activities ? I use rabbit mq as mesage broker but when an event published from a Hub Method, the Rabbit MQ Activity Source Returns null when calling StartActivity,
@noahfalk do we have end to end docs for using activities?
I also need to mention that this problem also happens for when I use signalR. everything works fine with http endpoints.
so we don't have it in .NET 8?
No. There's this package that someone built that supports .NET 8 though https://www.nuget.org/packages/AspNetCore.SignalR.OpenTelemetry
thanks I give it a try.
I close the Issue for now, thanks for your time 😄
@noahfalk do we have end to end docs for using activities?
It won't answer specifics about SignalR, but these are the docs: .NET overview of distributed tracing .NET guide on setting up OpenTelemetry (incudes distributed tracing) OpenTelemetry-dotnet repo's distributed tracing getting started guide
Is there an existing issue for this?
Describe the bug
Hi, I used open telemetry in .NET for my microservice based solution, everything works fine, but there is a problem with SignalR working correctly as expected with Activities,
My current version of .NET is 8. Open Telemetry Packages are in 1.9.0
with apis, everything is okey and works fine, but when it comes to call Hub Methods,
Activity.Current.Recorded
returns false and I cannot receive any activities in my Grafana dashboard, this is the full activity json datameanwhile the Metrics are not working either. I can see them in console when Im using console exporter, but cannot found them in granfa.
other possible issues you may mention: I already checked the configuration to ensure everything works correctly, because all of my services are using a global configuration like this :
this is all I use, questions:
I searched a lot in internet to find anything related to SignalR Open Telemetry Configuration, I also use the above method after the SignalR service registration in Startup, why there is nothing really exist for this topic? checked this link but its for .NET 9 : https://learn.microsoft.com/en-us/aspnet/core/release-notes/aspnetcore-9.0?view=aspnetcore-8.0
why its not possible to create manual activities ? I use rabbit mq as mesage broker but when an event published from a Hub Method, the Rabbit MQ Activity Source Returns null when calling StartActivity,
can anyone clarify these problems for me? thanks.
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response