Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface UnboundMetric<T>

UnboundMetric represents a base class for different types of metric pre aggregations without label value bound yet.

Type parameters

  • T

Hierarchy

Implemented by

Index

Methods

Methods

bind

  • Returns a Instrument associated with specified Labels. It is recommended to keep a reference to the Instrument instead of always calling this method for every operations.

    Parameters

    • labels: Labels

      key-values pairs that are associated with a specific metric that you want to record.

    Returns T

clear

  • clear(): void

unbind

  • unbind(labels: Labels): void
  • Removes the Instrument from the metric, if it is present.

    Parameters

    • labels: Labels

      key-values pairs that are associated with a specific metric.

    Returns void