Table of Contents

Interface IMetricsObserverOptions

Namespace
Steeltoe.Management.Endpoint.Metrics
Assembly
Steeltoe.Management.EndpointBase.dll
public interface IMetricsObserverOptions

Properties

EgressIgnorePattern

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

string EgressIgnorePattern { get; }

Property Value

string

ExcludedMetrics

Gets a list of metrics that should not be captured

List<string> ExcludedMetrics { get; }

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

IncludedMetrics

Gets Allow list of metrics that should be captured

List<string> IncludedMetrics { get; }

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

string IngressIgnorePattern { get; }

Property Value

string