Class MetricsObserverOptions
- Namespace
- Steeltoe.Management.Endpoint.Metrics
- Assembly
- Steeltoe.Management.EndpointBase.dll
public class MetricsObserverOptions : IMetricsObserverOptions
- Inheritance
-
MetricsObserverOptions
- Implements
- Inherited Members
Constructors
MetricsObserverOptions()
public MetricsObserverOptions()
MetricsObserverOptions(IConfiguration)
public MetricsObserverOptions(IConfiguration config)
Parameters
config
IConfiguration
Properties
AspNetCoreHosting
public bool AspNetCoreHosting { get; set; }
Property Value
EgressIgnorePattern
Gets a regex pattern for requests leaving this application where metrics should not be captured
public string EgressIgnorePattern { get; set; }
Property Value
EventCounterEvents
public bool EventCounterEvents { get; set; }
Property Value
ExcludedMetrics
Gets a list of metrics that should not be captured
public List<string> ExcludedMetrics { get; set; }
Property Value
Remarks
Currently only applies to System.Runtime metrics captured by EventCounterListener
See this list for values to choose from: https://docs.microsoft.com/dotnet/core/diagnostics/available-counters#systemruntime-countersGCEvents
public bool GCEvents { get; set; }
Property Value
HttpClientCore
public bool HttpClientCore { get; set; }
Property Value
HttpClientDesktop
public bool HttpClientDesktop { get; set; }
Property Value
HystrixEvents
public bool HystrixEvents { get; set; }
Property Value
IncludedMetrics
Gets Allow list of metrics that should be captured
public List<string> IncludedMetrics { get; set; }
Property Value
Remarks
Currently only applies to System.Runtime metrics captured by EventCounterListener
See this list for values to choose from: https://docs.microsoft.com/dotnet/core/diagnostics/available-counters#systemruntime-countersIngressIgnorePattern
Gets a regex pattern for requests coming into this application where metrics should not be captured
public string IngressIgnorePattern { get; set; }
Property Value
ThreadPoolEvents
public bool ThreadPoolEvents { get; set; }