Class HttpClientTracingObserver
- Namespace
- Steeltoe.Management.Tracing.Observer
- Assembly
- Steeltoe.Management.TracingBase.dll
public abstract class HttpClientTracingObserver : DiagnosticObserver, IDiagnosticObserver, IObserver<KeyValuePair<string, object>>
- Inheritance
-
HttpClientTracingObserver
- Implements
- Derived
- Inherited Members
Constructors
HttpClientTracingObserver(string, string, ITracingOptions, ITracing, ILogger)
protected HttpClientTracingObserver(string observerName, string diagnosticName, ITracingOptions options, ITracing tracing, ILogger logger)
Parameters
observerName
stringdiagnosticName
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(string)
protected virtual bool ShouldIgnoreRequest(string path)
Parameters
path
string