Table of Contents

Class AspNetHostingObserver

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

Constructors

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

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

Parameters

options IMetricsOptions
censusStats IStats
censusTags ITags
logger ILogger<AspNetHostingObserver>

Methods

GetException(HttpContext)

protected string GetException(HttpContext arg)

Parameters

arg HttpContext

Returns

string

GetTagContext(HttpContext)

protected ITagContext GetTagContext(HttpContext arg)

Parameters

arg HttpContext

Returns

ITagContext

HandleStopEvent(Activity, HttpContext)

protected void HandleStopEvent(Activity current, HttpContext arg)

Parameters

current Activity
arg HttpContext

ProcessEvent(string, object)

public override void ProcessEvent(string evnt, object arg)

Parameters

evnt string
arg object