Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add broker metrics details

...

New broker metrics

The following brokers new broker metrics should be added:

...

Metric Name

Type

Labels

Description

ClientMetricsInstanceCount

Gauge

broker_id

Current number of client metric instances being managed by this broker. E.g., the number of unique CLIENT_INSTANCE_IDs with an empty or non-empty subscription set.

...

ClientMetricsNewInstanceCount

Sum

broker_id

Total number of GetTelemetrySubscriptionsRequests received by this broker.

ClientMetricsUnknownInstanceCount

Sum

broker_id

Total number of metrics requests GetTelemetrySubscriptionsRequests with

...

unknown CLIENT_INSTANCE_IDs.

ClientMetricsThrottleCount

...

Sum

broker_id

Total number of throttled PushTelemetryRequests due to a higher PushTelemetryRequest rate than the allowed PushIntervalMs.

ClientMetricsPluginExportCount

...

Sum

broker_id


The total number of metrics requests being pushed to metrics plugins, e.g., the number of exportMetrics() calls.

ClientMetricsPluginExportTimeMs

...

Sum

broker_id


The amount of time plugins spent handling pushed metrics, e.g., the amount of time spent in exportMetrics().

ClientMetricsPluginErrorCount

...

Sum

broker_id

The total number of exceptions raised from plugin's exportMetrics().


Client metrics and metric labels

...