Table of Contents

Class MetricDeclaration

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

An application metric and where its value comes from.

public sealed class MetricDeclaration
Inheritance
MetricDeclaration
Inherited Members

Properties

Codec

How the value travels.

public Codec Codec { get; }

Property Value

Codec

Index

The order this metric was declared in. Not the wire index, which starts above the engine's reserved range.

public int Index { get; }

Property Value

int

Kind

Gauge or counter.

public MetricKind Kind { get; }

Property Value

MetricKind

Labels

The labels, empty when the metric contributes one value.

public IReadOnlyList<string> Labels { get; }

Property Value

IReadOnlyList<string>

Name

The metric's name.

public string Name { get; }

Property Value

string

Unit

Its unit.

public string Unit { get; }

Property Value

string

Methods

ToString()

public override string ToString()

Returns

string