question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trying to get a span of type Execution

See original GitHub issue

Environment

How do you use Sentry? On-Premise (21.9.0)

Which SDK and version? .Net 5.0.10

Steps to Reproduce

Hello, I just recently upgraded from .Net 3.X to 5.0. I also upgraded my Sentry server and Sentry API to the latest version. (3.9.3 Client & 21.9.0). However, I noticed that the amount of WARN logs (NLog) I am getting from ISentry client is insane. I did not get these errors previously.

It looks like from GitHub this is coming from an SQL logger in Sentry.

Some other things to mention, its an API Server. I use GraphQL, Entity Framework and some very light Dapper.

WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id f85667cd-5b41-434a-a3f1-51f33c261377, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id e04a4161-f20d-483b-bb1b-1eb09dd73be1, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id 7b70e129-e5e4-4979-8a7a-5ac4dc2204d2, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id 50ad4d85-4083-4ca2-aadb-206f56a2e1b7, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id 86900659-28bf-4f00-8ff5-5b1469cfa537, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id faa466e5-52af-4406-a51f-18e2a4a2d89d, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id 09329ca3-16d4-4115-b565-d215d416cc8d, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id a86f6f49-ff0c-4d28-a9b6-4865008dc143, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Execution with operation id 75ff00e2-a480-4192-a7a1-8a3d701e2c46, but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log
WARN|Sentry.ISentryClient|Trying to get a span of type Connection with operation id , but it was not found.||Sentry.Extensions.Logging.MelDiagnosticLogger.Log|48|SentryScopeManager.ConfigureScope => <>c__DisplayClass31_0.<GetSpan>b__0 => MelDiagnosticLogger.Log

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
STRATZ-Kencommented, Sep 30, 2021
  • Windows 2012 R2 Fully Updated with IIS.
  • .NET Core 5 w/ basic API server No Docker or anything
0reactions
mattjohnsonpintcommented, Nov 19, 2022

Closing in favor of #2060. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to decipher sentry warning; "span of type Connection ...
Using Sentry.AspNetCore in a .NET core app I get these: warn: Sentry.ISentryClient[0] => SpanId:eed7125b44901343, TraceId: ...
Read more >
Span Operations - Sentry Developer Documentation
Span operations are a short code identifying the type of operation the span is measuring. Span operations are low cardinality attributes - they...
Read more >
Span in tracing - Rust
A handle representing a span, with the capability to enter the span if it exists. If the span was rejected by the current...
Read more >
tracing::span - Rust
Spans represent periods of time in which a program was executing in a particular context.
Read more >
Writing High-Performance Code Using Span<T> and ...
C# 7.2 has introduced two new types: Span and Memory. ... I'll take a deep dive into Span<T> and Memory<T> and demonstrate how...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found