Class AspNetCoreHostingObserver
Inheritance
System.Object
AspNetCoreHostingObserver
Implements
IObserver<KeyValuePair<System.String, System.Object>>
Assembly: Steeltoe.Management.EndpointCore.dll
Syntax
public class AspNetCoreHostingObserver : MetricsObserver, IDiagnosticObserver
Constructors
|
Edit this page
View Source
AspNetCoreHostingObserver(IMetricsObserverOptions, IViewRegistry, ILogger<AspNetCoreHostingObserver>)
Declaration
public AspNetCoreHostingObserver(IMetricsObserverOptions options, IViewRegistry viewRegistry, ILogger<AspNetCoreHostingObserver> logger)
Parameters
Methods
|
Edit this page
View Source
GetException(HttpContext)
Declaration
protected string GetException(HttpContext arg)
Parameters
Type |
Name |
Description |
HttpContext |
arg |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetLabelSets(HttpContext)
Declaration
protected IEnumerable<KeyValuePair<string, object>> GetLabelSets(HttpContext arg)
Parameters
Type |
Name |
Description |
HttpContext |
arg |
|
Returns
Type |
Description |
IEnumerable<KeyValuePair<System.String, System.Object>> |
|
|
Edit this page
View Source
HandleStopEvent(Activity, HttpContext)
Declaration
protected void HandleStopEvent(Activity current, HttpContext arg)
Parameters
Type |
Name |
Description |
Activity |
current |
|
HttpContext |
arg |
|
|
Edit this page
View Source
ProcessEvent(String, Object)
Declaration
public override void ProcessEvent(string evnt, object arg)
Parameters
Type |
Name |
Description |
System.String |
evnt |
|
System.Object |
arg |
|
Overrides
Implements
IObserver<>