Table of Contents

Class OwinHostingObserver

Namespace
Steeltoe.Management.Endpoint.Metrics.Observer
Assembly
Steeltoe.Management.EndpointOwin.dll
public class OwinHostingObserver : MetricsObserver, IDiagnosticObserver, IObserver<KeyValuePair<string, object>>
Inheritance
OwinHostingObserver
Implements
Inherited Members

Constructors

OwinHostingObserver(IMetricsOptions, IStats, ITags, ILogger<OwinHostingObserver>)

public OwinHostingObserver(IMetricsOptions options, IStats censusStats, ITags censusTags, ILogger<OwinHostingObserver> logger)

Parameters

options IMetricsOptions
censusStats IStats
censusTags ITags
logger ILogger<OwinHostingObserver>

Methods

GetException(IOwinContext)

protected string GetException(IOwinContext arg)

Parameters

arg IOwinContext

Returns

string

GetTagContext(IOwinContext)

protected ITagContext GetTagContext(IOwinContext arg)

Parameters

arg IOwinContext

Returns

ITagContext

HandleStopEvent(Activity, IOwinContext)

protected void HandleStopEvent(Activity current, IOwinContext arg)

Parameters

current Activity
arg IOwinContext

ProcessEvent(string, object)

public override void ProcessEvent(string evnt, object arg)

Parameters

evnt string
arg object