Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AbstractMetricCollector

A session metric collector.

Hierarchy

Implements

Index

Constructors

constructor

  • new AbstractMetricCollector(name: string, exportToPrometheus: boolean, maximumGroups: number): AbstractMetricCollector
  • Constructor.

    throws

    an IllegalArgumentError if the name is empty or the maximum number of groups is not positive

    Parameters

    • name: string

      identity

    • exportToPrometheus: boolean

      whether to expose the collector through the Prometheus gateway

    • maximumGroups: number

      the maximum number of groups

    Returns AbstractMetricCollector

Properties

Readonly exportToPrometheus

exportToPrometheus: boolean

Indicates whether the metric collector exports to Prometheus.

Readonly maximumGroups

maximumGroups: number

Limit on the number of dimensions created by the metric collector

Readonly name

name: string

the name of the metric collector

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.