MetricLabel
Constructors
Models
MetricLabel interface
Added in v2.0.0
Source
Signature
interface MetricLabel extends Equal, Pipeable {
readonly [MetricLabelTypeId]: typeof MetricLabelTypeId;
readonly key: string;
readonly value: string;
}Refinements
isMetricLabel
Added in v2.0.0
Source
Signature
declare const isMetricLabel: (u: unknown) => u is MetricLabel;Symbols
MetricLabelTypeId
Added in v2.0.0
Source
Signature
declare const MetricLabelTypeId: unique symbol;MetricLabelTypeId type
Added in v2.0.0
Source
Signature
type MetricLabelTypeId = typeof MetricLabelTypeId;
A
MetricLabelrepresents a key value pair that allows analyzing metrics at an additional level of granularity.For example if a metric tracks the response time of a service labels could be used to create separate versions that track response times for different clients.