Class MetricsObserver
Inheritance
System.Object
MetricsObserver
Implements
IObserver<KeyValuePair<System.String, System.Object>>
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public abstract class MetricsObserver : DiagnosticObserver, IDiagnosticObserver
Constructors
|
Edit this page
View Source
MetricsObserver(String, String, IMetricsObserverOptions, ILogger)
Declaration
public MetricsObserver(string observerName, string diagnosticName, IMetricsObserverOptions options, ILogger logger = null)
Parameters
Type |
Name |
Description |
System.String |
observerName |
|
System.String |
diagnosticName |
|
IMetricsObserverOptions |
options |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
Options
Declaration
protected IMetricsObserverOptions Options { get; }
Property Value
Methods
|
Edit this page
View Source
GetPathMatcher()
Declaration
protected Regex GetPathMatcher()
Returns
|
Edit this page
View Source
MilliToSeconds(Double)
Declaration
protected double MilliToSeconds(double totalMilliseconds)
Parameters
Type |
Name |
Description |
System.Double |
totalMilliseconds |
|
Returns
Type |
Description |
System.Double |
|
|
Edit this page
View Source
ProcessEvent(String, Object)
Declaration
public abstract override void ProcessEvent(string evnt, object arg)
Parameters
Type |
Name |
Description |
System.String |
evnt |
|
System.Object |
arg |
|
Overrides
|
Edit this page
View Source
SetPathMatcher(Regex)
Declaration
protected void SetPathMatcher(Regex value)
Parameters
Type |
Name |
Description |
Regex |
value |
|
|
Edit this page
View Source
ShouldIgnoreRequest(String)
Declaration
protected virtual bool ShouldIgnoreRequest(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
IObserver<>