如何破译哨兵警告; "span of type Connection with operation id (null).."

How to decipher sentry warning; "span of type Connection with operation id (null).."

在 .NET 核心应用程序中使用 Sentry.AspNetCore 我得到这些:

warn: Sentry.ISentryClient[0] => SpanId:eed7125b44901343, TraceId:bde9ab9c677f6c45a343a489f37e55c1, ParentId:0000000000000000 => ConnectionId:0HMBS5J9RV0II => RequestPath:/ws RequestId:0HMBS5J9RV0II:00000002 Trying to get a span of type Connection with operation id (null), but it was not found.

这条消息是什么意思,我应该摆脱它们吗?如果是,怎么办?

更新

已在 3.10.0 中修复。


这看起来像是 Sentry SDK 中的错误。见相关issue.

希望这会很快得到解决。

The latter error in regard to spans will be fixed soon.

https://github.com/getsentry/sentry-dotnet/issues/1210#issuecomment-933822947