Table of Contents

Class Quilt4NetMetrics

Namespace
Quilt4Net.Toolkit.Framework
Assembly
Quilt4Net.Toolkit.dll

Meter names and instrument names for the toolkit's own metrics, in one place so a host can subscribe to them by name without reading the source.

public static class Quilt4NetMetrics
Inheritance
Quilt4NetMetrics
Inherited Members

Remarks

Issue #170: content and configuration resolution were instrumented with timings and a source, but only as Debug logs — so a consumer could see that one call was slow and never how many calls there are, nor what fraction hit the cache. Counting log rows is not a viable substitute: one screen can resolve dozens of keys, and the interesting number (the cache-hit ratio) is only knowable inside the library, because the public read returns a bare value.

Deliberately near-zero cost when nobody is listening — an unsubscribed Counter<T> records nothing.

Fields

ConfigurationBackoffKeys

Number of configuration keys currently held off by the failure back-off.

public const string ConfigurationBackoffKeys = "quilt4net.configuration.backoff.keys"

Field Value

string

ConfigurationMeterName

Meter carrying the remote-configuration instruments.

public const string ConfigurationMeterName = "Quilt4Net.Toolkit.Configuration"

Field Value

string

ConfigurationResolutionDuration

Duration of a configuration resolution in milliseconds, tagged by source and key.

public const string ConfigurationResolutionDuration = "quilt4net.configuration.resolution.duration"

Field Value

string

ConfigurationResolutions

Count of configuration resolutions, tagged by source and key.

public const string ConfigurationResolutions = "quilt4net.configuration.resolutions"

Field Value

string

ContentBackoffKeys

Number of content keys currently held off by the failure back-off.

public const string ContentBackoffKeys = "quilt4net.content.backoff.keys"

Field Value

string

ContentMeterName

Meter carrying the content-resolution instruments.

public const string ContentMeterName = "Quilt4Net.Toolkit.Content"

Field Value

string

ContentResolutionDuration

Duration of a content resolution in milliseconds, tagged by source.

public const string ContentResolutionDuration = "quilt4net.content.resolution.duration"

Field Value

string

ContentResolutions

Count of content resolutions, tagged by source.

public const string ContentResolutions = "quilt4net.content.resolutions"

Field Value

string