Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TopicMetricCollectorImpl

A topic metric collector.

Hierarchy

Implements

Index

Constructors

constructor

  • new TopicMetricCollectorImpl(name: string, exportToPrometheus: boolean, maximumGroups: number, topicSelector: string, groupByTopicType: boolean, groupByTopicView: boolean, groupByPathPrefixParts: number): TopicMetricCollectorImpl
  • Create a new TopicMetricCollector instance

    Parameters

    • name: string

      identity

    • exportToPrometheus: boolean

      whether to expose the collector through the Prometheus gateway

    • maximumGroups: number
    • topicSelector: string

      identifies the target topics

    • groupByTopicType: boolean

      whether to group the results by topic type

    • groupByTopicView: boolean
    • groupByPathPrefixParts: number

    Returns TopicMetricCollectorImpl

Properties

Readonly exportToPrometheus

exportToPrometheus: boolean

Indicates whether the metric collector exports to Prometheus.

Readonly groupByPathPrefixParts

groupByPathPrefixParts: number

The number of leading parts of the topic path to group by, or 0 if the collector does not group by path prefix

since

6.8

Readonly groupByTopicType

groupByTopicType: boolean

Indicates whether the collector groups by topic type.

Readonly groupByTopicView

groupByTopicView: boolean

Indicates whether the collector groups by topic view.

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

Readonly topicSelector

topicSelector: string

the topic selector

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.