Class HttpClientDesktopObserver
Inheritance
System.Object
HttpClientDesktopObserver
Implements
IObserver<KeyValuePair<System.String, System.Object>>
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class HttpClientDesktopObserver : MetricsObserver, IDiagnosticObserver
Constructors
|
Edit this page
View Source
HttpClientDesktopObserver(IMetricsObserverOptions, ILogger<HttpClientDesktopObserver>, IViewRegistry)
Declaration
public HttpClientDesktopObserver(IMetricsObserverOptions options, ILogger<HttpClientDesktopObserver> logger, IViewRegistry viewRegistry)
Parameters
Methods
|
Edit this page
View Source
GetLabels(HttpWebRequest, HttpStatusCode)
Declaration
protected IEnumerable<KeyValuePair<string, object>> GetLabels(HttpWebRequest request, HttpStatusCode statusCode)
Parameters
Type |
Name |
Description |
HttpWebRequest |
request |
|
HttpStatusCode |
statusCode |
|
Returns
Type |
Description |
IEnumerable<KeyValuePair<System.String, System.Object>> |
|
|
Edit this page
View Source
HandleStopEvent(Activity, HttpWebRequest, HttpStatusCode)
Declaration
protected void HandleStopEvent(Activity current, HttpWebRequest request, HttpStatusCode statusCode)
Parameters
Type |
Name |
Description |
Activity |
current |
|
HttpWebRequest |
request |
|
HttpStatusCode |
statusCode |
|
|
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<>