Table of Contents

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

bool

EgressIgnorePattern

Gets a regex pattern for requests leaving this application where metrics should not be captured

public string EgressIgnorePattern { get; set; }

Property Value

string

EventCounterEvents

public bool EventCounterEvents { get; set; }

Property Value

bool

ExcludedMetrics

Gets a list of metrics that should not be captured

public List<string> ExcludedMetrics { get; set; }

Property Value

List<string>

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-counters

GCEvents

public bool GCEvents { get; set; }

Property Value

bool

HttpClientCore

public bool HttpClientCore { get; set; }

Property Value

bool

HttpClientDesktop

public bool HttpClientDesktop { get; set; }

Property Value

bool

HystrixEvents

public bool HystrixEvents { get; set; }

Property Value

bool

IncludedMetrics

Gets Allow list of metrics that should be captured

public List<string> IncludedMetrics { get; set; }

Property Value

List<string>

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-counters

IngressIgnorePattern

Gets a regex pattern for requests coming into this application where metrics should not be captured

public string IngressIgnorePattern { get; set; }

Property Value

string

ThreadPoolEvents

public bool ThreadPoolEvents { get; set; }

Property Value

bool