@evlt/apix
    Preparing search index...

    Interface MetricManager

    A manager to emit metrics.

    interface MetricManager {
        emit: (metricName: string, value?: number, tags?: MetricTags) => void;
    }
    Index

    Other

    emit: (metricName: string, value?: number, tags?: MetricTags) => void

    Emits a count metric.

    Type declaration

      • (metricName: string, value?: number, tags?: MetricTags): void
      • Parameters

        • metricName: string

          The name of the metric to emit.

        • Optionalvalue: number

          The value to emit (defaults to 1).

        • Optionaltags: MetricTags

          The dimensions to emit with the metric.

        Returns void