Class AspNetCoreTracingObserver
- Namespace
- Steeltoe.Management.Tracing.Observer
- Assembly
- Steeltoe.Management.TracingCore.dll
public abstract class AspNetCoreTracingObserver : DiagnosticObserver, IDiagnosticObserver, IObserver<KeyValuePair<string, object>>
- Inheritance
-
AspNetCoreTracingObserver
- Implements
- Derived
- Inherited Members
Constructors
AspNetCoreTracingObserver(string, ITracingOptions, ITracing, ILogger)
protected AspNetCoreTracingObserver(string observerName, ITracingOptions options, ITracing tracing, ILogger logger)
Parameters
observerName
stringoptions
ITracingOptionstracing
ITracinglogger
ILogger
Properties
Options
protected ITracingOptions Options { get; }
Property Value
PathMatcher
protected Regex PathMatcher { get; }
Property Value
Propagation
protected ITextFormat Propagation { get; }
Property Value
- ITextFormat
Tracer
protected ITracer Tracer { get; }
Property Value
- ITracer
Tracing
protected ITracing Tracing { get; }
Property Value
Methods
GetCurrentSpan()
protected ISpan GetCurrentSpan()
Returns
- ISpan
GetExceptionMessage(Exception)
protected virtual string GetExceptionMessage(Exception exception)
Parameters
exception
Exception
Returns
GetExceptionStackTrace(Exception)
protected virtual string GetExceptionStackTrace(Exception exception)
Parameters
exception
Exception
Returns
ShouldIgnoreRequest(PathString)
protected virtual bool ShouldIgnoreRequest(PathString pathString)
Parameters
pathString
PathString