Skip to content

Commit

Permalink
Marking span with error tag in ErrorEventHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
borkke committed Jan 7, 2019
1 parent d4d3785 commit d5e715e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -52,6 +52,7 @@ public void ErrorEventHandler(CommandFailedEvent @event)
if (_scopeCache.TryRemove(@event.RequestId, out var activeScope))
{
activeScope.Span.Log(ExtractExceptionInfo(@event));
activeScope.Span.SetTag(Tags.Error, true);
activeScope.Dispose();
}
}
Expand Down

0 comments on commit d5e715e

Please sign in to comment.