HiveMQ Data Hub Metrics

When enabled, the HiveMQ Data Hub exposes the following metrics:

Table 1. Available Data Hub metrics
Metric Type Description

com.hivemq.data-hub.behavior-validation.clients.covered.count

Counter

The number of connected clients to which at least one non-terminated behavior is currently applied

com.hivemq.data-hub.behavior-validation.policies.failed.count

Counter

The total number of failed terminations of behaviors

com.hivemq.data-hub.behavior-validation.policies.successful.count

Counter

The total number of successful terminations of behaviors

com.hivemq.data-hub.behavior-policy-persistence.size.total

Gauge

The current number of policy entries in the behavior policy persistence

com.hivemq.data-hub.behavior-validation.schema-deserializations.failed.count

Counter

The total number of failed schema deserializations in behavior policies

com.hivemq.data-hub.behavior-validation.schema-deserializations.successful.count

Counter

The total number of successful schema deserializations in behavior policies

com.hivemq.data-hub.behavior-validation.states.initialized.count

Counter

The total number of behavior states initialized for all clients

com.hivemq.data-hub.behavior-validation.total.time

Timer

The mean execution time of the behavior validation in nanoseconds

com.hivemq.data-hub.behavior-validation.transitions.performed.count

Counter

The total number of state transitions behaviors perform

com.hivemq.data-hub.data-policy-persistence.size.bytes

Gauge

The current number of bytes the policy persistence uses

com.hivemq.data-hub.data-policy-persistence.size.total

Gauge

The current number of policy entries in the persistence

com.hivemq.data-hub.data-validation.payload-validation.failed.count

Counter

The total number of payloads that failed to validate successfully

com.hivemq.data-hub.data-validation.payload-validation.successful.count

Counter

The total number of payloads that validated successfully

com.hivemq.data-hub.data-validation.policies.failed.count, Counter.class

Counter

The total number of policies that had a failed outcome

com.hivemq.data-hub.data-validation.policies.successful.count

Counter

The total number of policies that had a successful outcome

com.hivemq.data-hub.data-validation.validators.failed.count

Counter

The total number of validators that had a failed outcome

com.hivemq.data-hub.data-validation.validators.successful.count

Counter

The total number of validators that had a successful outcome

com.hivemq.data-hub.data-validation.schema-validations.failed.count

Counter

The total number of failed schema validations

com.hivemq.data-hub.data-validation.schema-validations.successful.count

Counter

The total number of successful schema validations

com.hivemq.data-hub.data-validation.publish-validation.execution.time

Timer

The mean execution time of publish validation in nanoseconds (including all policy engine iterations)

com.hivemq.data-hub.license.allowed-policies-number

Gauge

The number of policies the current Data Hub license allows

com.hivemq.data-hub.license.days-till-expire

Gauge

The number of days until the current Data Hub license expires

com.hivemq.data-hub.messages.dropped.policy-prevented.count

Counter

The number of PUBLISH messages that are dropped because a policy prevented onward delivery

com.hivemq.data-hub.schema-persistence.size.bytes

Gauge

The current number of bytes schema persistence uses

com.hivemq.data-hub.schema-persistence.size.total

Gauge

The current amount of schema entries in the persistence

For more information about HiveMQ metrics, see Available Metrics.