Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MetricCollector

The common base interface for metric collectors.

Hierarchy

Implemented by

Index

Properties

Readonly exportToPrometheus

exportToPrometheus: boolean

Indicates whether the metric collector exports to Prometheus.

Readonly maximumGroups

maximumGroups: number

Limit on the number of groups maintained by this metric collector.

Session metric collectors can group metrics by property. Topic metric collectors can group metrics by topic type. This property places an upper limit on the number of groups that will be maintained for the metric collector.

For example, if a session metric collector groups by $SessionId and maximumGroups is 10, then metrics will only be collected for the first 10 sessions.

since

6.8

Readonly name

name: string

the name of the metric collector

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.