<a id="usm-agent-metrics-metadata"></a>

# USM Agent: Metrics and Metadata Reference

The Unified Stream Manager (USM) Agent collects metrics and metadata from your Confluent Platform
deployment and sends them to Confluent Cloud to power USM capabilities in
the Confluent Cloud UI.
The collected data is organized by source component:

- [Metadata collected](#usm-metadata): Metadata records, such as topic configurations,
  connector configurations, and plugin configuration definitions
- [Metrics collected](#usm-metrics): Metrics, such as counters, gauges, and deltas

<a id="usm-metadata"></a>

## Metadata collected

The USM Agent collects the following metadata records:

- Kafka topic metadata, including topic configurations, from Kafka
  KRaft-based clusters
- Kafka Connect (Connect) connector metadata, including connector
  configurations and connector and task status, from Connect clusters
- Connect plugin metadata, including plugin configuration definitions, from
  Connect clusters

Topic and connector metadata is emitted when resources are created, updated, or
deleted. Plugin metadata is emitted as a snapshot of the plugins installed on
the Connect worker.

### Kafka topic metadata

Topic metadata fields collected from Kafka include the following.

| Name                                      | Description                                                                                                    | Example                         |
|-------------------------------------------|----------------------------------------------------------------------------------------------------------------|---------------------------------|
| `kafkaversion`                            | Confluent Platform version                                                                                     | `8.1.0-0-ce`                    |
| `subject`                                 | Event subject                                                                                                  | `topic`                         |
| `epoch`                                   | Epoch value                                                                                                    | `1`                             |
| `partitionkey`                            | Partition key                                                                                                  | `default`                       |
| `kafkaprocessrolesbroker`                 | Whether the broker role is enabled                                                                             | `false`                         |
| `kafkakafkanodeid`                        | Kafka node ID                                                                                                  | `9990`                          |
| `javaversion`                             | Java version of the emitting process                                                                           | `21.0.8`                        |
| `dataschema`                              | Data schema when present, or `Optional.empty` when absent                                                      | —                               |
| `kafkaprocessrolescontroller`             | Whether the controller role is enabled                                                                         | `true`                          |
| `kafkaclusterid`                          | Kafka cluster ID                                                                                               | `9IyY5G0YQVm1ZzTpnmy9NQ`        |
| `kafkacommitid`                           | Kafka commit ID                                                                                                | `f0ff52f85454ec17`              |
| `datacontenttype`                         | Data media type                                                                                                | `application/protobuf`          |
| `time`                                    | Event timestamp (ISO 8601)                                                                                     | `2025-08-05 08:03:58 +0000 UTC` |
| `hosthostname`                            | Host name of the emitting node                                                                                 | `kraftcontroller-0`             |
| `route`                                   | Route                                                                                                          | `catalog-events`                |
| `kafkabrokerid`                           | Broker or controller node ID                                                                                   | `9990`                          |
| `topic_id`                                | Unique topic identifier                                                                                        | `bSWrTCDdQWe0QXsCZc7_Dg`        |
| `topic_name`                              | Topic name                                                                                                     | `test-topic-1`                  |
| `partitions_count`                        | Number of partitions                                                                                           | `2`                             |
| `replication_factor`                      | Replication factor                                                                                             | `3`                             |
| `retention_ms`                            | Retention period in milliseconds, or -1 if unset                                                               | `604800000`                     |
| `retention_bytes`                         | Retention limit in bytes, or -1 if unset                                                                       | `-1`                            |
| `cleanup_policy`                          | Cleanup policy                                                                                                 | `DELETE` or `COMPACT`           |
| `compression_type`                        | Compression type                                                                                               | `PRODUCER` or `GZIP`            |
| `min_insync_replicas`                     | Minimum in-sync replicas                                                                                       | `1`                             |
| `max_message_bytes`                       | Maximum message size in bytes                                                                                  | `1048588`                       |
| `segment_bytes`                           | Segment size in bytes                                                                                          | `1073741824`                    |
| `segment_ms`                              | Segment roll time in milliseconds                                                                              | `604800000`                     |
| `message_timestamp_type`                  | Timestamp type                                                                                                 | `CreateTime`                    |
| `file_delete_delay_ms`                    | Delay before deleting segment files                                                                            | `60000`                         |
| `flush_messages`                          | Number of messages before flush                                                                                | `9223372036854775807`           |
| `flush_ms`                                | Time before flush in milliseconds                                                                              | `9223372036854775807`           |
| `index_interval_bytes`                    | Index interval in bytes                                                                                        | `4096`                          |
| `max_compaction_lag_ms`                   | Maximum compaction lag in milliseconds                                                                         | `9223372036854775807`           |
| `min_cleanable_dirty_ratio`               | Minimum cleanable dirty ratio                                                                                  | `0.5`                           |
| `segment_index_bytes`                     | Segment index size in bytes                                                                                    | `10485760`                      |
| `delete_retention_ms`                     | Delete retention in milliseconds                                                                               | `86400000`                      |
| `create_time_seconds`                     | Topic creation time, in seconds since epoch                                                                    | `1754381038`                    |
| `create_time_nanos`                       | Topic creation time, in nanoseconds                                                                            | `911000000`                     |
| `update_time_seconds`                     | Topic last update time, in seconds since epoch                                                                 | `1791554603`                    |
| `update_time_nanos`                       | Topic last update time, in nanoseconds                                                                         | `15000000`                      |
| `preallocate`                             | Whether to preallocate the file on disk when creating a new log segment                                        | `false`                         |
| `unclean_leader_election_enable`          | Whether replicas that are not in the in-sync replica set can be elected as leader                              | `false`                         |
| `key_schema_validation`                   | Whether schema ID validation is enabled for record keys                                                        | `false`                         |
| `value_schema_validation`                 | Whether schema ID validation is enabled for record values                                                      | `false`                         |
| `min_compaction_lag_ms`                   | Minimum time a message stays uncompacted, in milliseconds                                                      | `0`                             |
| `segment_jitter_ms`                       | Maximum random jitter subtracted from the segment roll time, in milliseconds                                   | `0`                             |
| `leader_replication_throttled_replicas`   | Replicas throttled on the leader side                                                                          | `[]`                            |
| `follower_replication_throttled_replicas` | Replicas throttled on the follower side                                                                        | `[]`                            |
| `message_downconversion_enable`           | Whether down-conversion of message formats is enabled for consumer requests, when supported by the broker      | `true`                          |
| `message_format_version`                  | Message format version, when supported by the broker                                                           | `3.0-IV1`                       |
| `message_timestamp_difference_max_ms`     | Maximum difference allowed between the record timestamp and the broker timestamp, when supported by the broker | `9223372036854775807`           |

### Connect connector metadata

Connector metadata is emitted from Connect when connectors or their
configurations change. The following table lists the connector metadata fields
collected from Connect.

| Name                        | Description                                                         | Example                                                                                                                                                                                                                                                                                                                                                                                                  |
|-----------------------------|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `connector_name`            | Connector name                                                      | `test-create-source-connector`                                                                                                                                                                                                                                                                                                                                                                           |
| `cluster_group_id`          | Connect cluster group ID                                            | `setu-bb5.connect`                                                                                                                                                                                                                                                                                                                                                                                       |
| `metadata_kafka_cluster_id` | Kafka cluster ID the Connect cluster uses                           | `9IyY5G0YQVm1ZzTpnmy9NQ`                                                                                                                                                                                                                                                                                                                                                                                 |
| `class`                     | Connector class                                                     | `io.confluent.kafka.connect.datagen.DatagenConnector`                                                                                                                                                                                                                                                                                                                                                    |
| `topics`                    | Topics used by the connector                                        | `datagen-topic`                                                                                                                                                                                                                                                                                                                                                                                          |
| `configs`                   | Connector configuration entries, as key-value pairs                 | `configs: {key: 'connector.class', value: 'io.confluent.kafka.connect.datagen.DatagenConnector'}, configs: {key: 'kafka.topic', value: 'datagen-topic'}, configs: {key: 'name', value: 'test-create-source-connector'}, configs: {key: 'quickstart', value: 'orders'}, configs: {key: 'tasks.max', value: '1'}, configs: {key: 'value.converter', value: 'org.apache.kafka.connect.json.JsonConverter'}` |
| `tasks_max`                 | Maximum number of tasks                                             | `1`                                                                                                                                                                                                                                                                                                                                                                                                      |
| `value_converter`           | Value converter class                                               | `org.apache.kafka.connect.json.JsonConverter`                                                                                                                                                                                                                                                                                                                                                            |
| `type`                      | Connector type                                                      | `SOURCE` or `SINK`                                                                                                                                                                                                                                                                                                                                                                                       |
| `data_kafka_cluster_id`     | Kafka cluster ID the connector reads from or writes to              | `9IyY5G0YQVm1ZzTpnmy9NQ`                                                                                                                                                                                                                                                                                                                                                                                 |
| `connector_status.state`    | Current state of the connector                                      | `STATUS_RUNNING`                                                                                                                                                                                                                                                                                                                                                                                         |
| `connector_status.trace`    | Error stack trace of the connector, or empty when there is no error | —                                                                                                                                                                                                                                                                                                                                                                                                        |
| `task_status.task_id`       | ID of a connector task                                              | `0`                                                                                                                                                                                                                                                                                                                                                                                                      |
| `task_status.state`         | Current state of the task                                           | `STATUS_RUNNING`                                                                                                                                                                                                                                                                                                                                                                                         |
| `task_status.trace`         | Error stack trace of the task, or empty when there is no error      | —                                                                                                                                                                                                                                                                                                                                                                                                        |
| `event_time`                | Time of the connector metadata event                                | `2026-10-09 14:09:50 +0000 UTC`                                                                                                                                                                                                                                                                                                                                                                          |

<a id="usm-metadata-connect-plugin"></a>

### Connect plugin metadata

To support connector management from Confluent Cloud, the USM Agent also
collects metadata about the plugins installed on each Connect worker. Plugins
include connectors (source and sink), converters, header converters,
transformations, and predicates. The Connect worker emits one plugin metadata
event for each installed plugin as part of a snapshot of its plugin inventory.
Confluent Cloud uses the configuration definitions in this metadata to help you
configure connectors.

The following table lists the plugin metadata fields collected from Connect.

| Name                        | Description                                                                                                   | Example                                                 |
|-----------------------------|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|
| `cluster_group_id`          | Connect cluster group ID                                                                                      | `setu-bb5.connect`                                      |
| `metadata_kafka_cluster_id` | Kafka cluster ID the Connect cluster uses                                                                     | `9IyY5G0YQVm1ZzTpnmy9NQ`                                |
| `plugin.class`              | Fully qualified class name of the plugin                                                                      | `io.confluent.connect.gcp.pubsub.PubSubSourceConnector` |
| `plugin.version`            | Plugin version                                                                                                | `1.2.14`                                                |
| `plugin.plugin_type`        | Plugin type. One of `SOURCE`, `SINK`, `CONVERTER`, `HEADER_CONVERTER`, `TRANSFORMATION`, or `PREDICATE`.      | `SOURCE`                                                |
| `plugin.location`           | Location of the plugin on the Connect worker                                                                  | `classpath`                                             |
| `plugin.documentation_url`  | URL of the plugin documentation, when available                                                               | —                                                       |
| `plugin.config_definitions` | List of configuration definitions for the plugin. For the fields in each definition, see the following table. | —                                                       |
| `event_time`                | Time the event was emitted                                                                                    | `2026-10-26T15:20:15Z`                                  |

Each entry in `plugin.config_definitions` describes one configuration
property that the plugin accepts. The USM Agent collects the definition
of the property, not the value that you set for it.

| Name             | Description                                                                                                       | Example                                                          |
|------------------|-------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|
| `name`           | Configuration property name                                                                                       | `schemas.enable`                                                 |
| `type`           | Value type. One of `BOOLEAN`, `INT`, `SHORT`, `LONG`, `DOUBLE`, `STRING`, `LIST`, `ENUM`, `PASSWORD`, or `CLASS`. | `BOOLEAN`                                                        |
| `required`       | Whether the property is required                                                                                  | `false`                                                          |
| `default_value`  | Default value of the property                                                                                     | `true`                                                           |
| `importance`     | Importance of the property. One of `HIGH`, `MEDIUM`, or `LOW`.                                                    | `HIGH`                                                           |
| `documentation`  | Description of the property                                                                                       | `Include schemas within each of the serialized values and keys.` |
| `group`          | Group that the property is displayed in                                                                           | `Schemas`                                                        |
| `order_in_group` | Position of the property within its group                                                                         | `0`                                                              |
| `width`          | Display width of the property. One of `SHORT`, `MEDIUM`, or `LONG`.                                               | `MEDIUM`                                                         |
| `display_name`   | Display name of the property                                                                                      | `Enable Schemas`                                                 |
| `dependents`     | Names of other properties that depend on this property                                                            | —                                                                |

<a id="usm-metrics"></a>

## Metrics collected

The USM Agent collects metrics from Kafka and Connect. When you enable
client monitoring, it also collects metrics from client applications, including
Kafka Streams. Metrics are sampled periodically, typically every 60 seconds, and
sent to Confluent Cloud.

### Metric tags

Metrics are tagged so they can be associated with the correct resource. Common
tags are added by Confluent Cloud. The following tables list the main tags that can
appear on metric records.

<a id="usm-metrics-common-tags-kafka"></a>

### Common tags for Kafka clusters

These tags apply to all Kafka cluster metrics except the node count metric.

| Tag name                          | Description                                                                       |
|-----------------------------------|-----------------------------------------------------------------------------------|
| `resource.kafka.id`               | The ID of the Kafka cluster. This tag is added in Confluent Cloud.                |
| `resource.kafka.provided.id`      | The provided ID of the Kafka cluster.                                             |
| `resource.kafka.broker.id`        | The ID of a Kafka broker.                                                         |
| `resource.kafka.version`          | The version of the Kafka cluster.                                                 |
| `resource.kafka.roles.broker`     | Indicates whether the Kafka broker role is enabled.                               |
| `resource.kafka.roles.controller` | Indicates whether the Kafka controller role is enabled.                           |
| `resource.environment.id`         | The ID of the Confluent Cloud environment. This tag is added in Confluent Cloud.  |
| `resource.organization.id`        | The ID of the Confluent Cloud organization. This tag is added in Confluent Cloud. |

#### Node count metric tags

The following tags apply only to the `io.confluent.usm/node_count` metric for
Kafka clusters.

| Tag name                      | Description                                                                       |
|-------------------------------|-----------------------------------------------------------------------------------|
| `resource.id`                 | The ID of the cluster or resource. This tag is added in Confluent Cloud.          |
| `resource.provided.id`        | The provided ID of the cluster.                                                   |
| `resource.kafka.roles.broker` | Indicates whether the Kafka broker role is enabled.                               |
| `resource.name`               | The name of the resource.                                                         |
| `resource.type`               | The type of the resource.                                                         |
| `resource.environment.id`     | The ID of the Confluent Cloud environment. This tag is added in Confluent Cloud.  |
| `resource.organization.id`    | The ID of the Confluent Cloud organization. This tag is added in Confluent Cloud. |
| `metric.node.id`              | The ID of the node.                                                               |

<a id="usm-metrics-common-tags-connect"></a>

### Common tags for Connect clusters

These tags apply to all Connect cluster metrics except the node count metric.

| Tag name                               | Description                                                                       |
|----------------------------------------|-----------------------------------------------------------------------------------|
| `resource.connector.id`                | The ID of the Connect cluster. This tag is added in Confluent Cloud.              |
| `resource.connector.name`              | The name of the connector.                                                        |
| `resource.connector.kafka.provided.id` | The provided ID of the Kafka cluster associated with the connector.               |
| `resource.connector.cluster.id`        | The ID of the Connect cluster running the connector.                              |
| `resource.connector.version`           | The version of the Connect cluster running the connector.                         |
| `resource.environment.id`              | The ID of the Confluent Cloud environment. This tag is added in Confluent Cloud.  |
| `resource.organization.id`             | The ID of the Confluent Cloud organization. This tag is added in Confluent Cloud. |

#### Node count metric tags

The following tags apply only to the `io.confluent.usm/node_count` metric for
Connect clusters.

| Tag name                      | Description                                                                       |
|-------------------------------|-----------------------------------------------------------------------------------|
| `resource.id`                 | The ID of the cluster or resource. This tag is added in Confluent Cloud.          |
| `resource.provided.id`        | The provided ID of the cluster.                                                   |
| `resource.kafka.roles.broker` | Indicates whether the Kafka broker role is enabled.                               |
| `resource.name`               | The name of the resource.                                                         |
| `resource.type`               | The type of the resource.                                                         |
| `resource.environment.id`     | The ID of the Confluent Cloud environment. This tag is added in Confluent Cloud.  |
| `resource.organization.id`    | The ID of the Confluent Cloud organization. This tag is added in Confluent Cloud. |
| `metric.node.id`              | The ID of the node.                                                               |

### Optional metric-specific tags

The following optional tags appear only on specific metric records.

| Tag name                          | Description                                                                                                                                                           |
|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `metric.host.hostname`            | The name of the host.                                                                                                                                                 |
| `metric.topic`                    | The name of the Kafka topic.                                                                                                                                          |
| `metric.partition`                | The partition number of the Kafka topic.                                                                                                                              |
| `metric.volume`                   | The volume or disk label.                                                                                                                                             |
| `metric.type`                     | The Kafka protocol request type.                                                                                                                                      |
| `metric.consumer_group_id`        | The ID of the consumer group.                                                                                                                                         |
| `metric.consumer_group_member_id` | The ID of the member in a consumer group.                                                                                                                             |
| `metric.client_id`                | The client ID of the producer or consumer.                                                                                                                            |
| `metric.group_protocol`           | The group protocol used by the consumer group member.                                                                                                                 |
| `metric.external_client_id`       | The client ID reported by the client through [KIP-714](https://cwiki.apache.org/confluence/display/KAFKA/KIP-714%3A+Client+Metrics+and+Observability) client metrics. |
| `metric.principal`                | The authentication principal of the client.                                                                                                                           |
| `metric.client_software_name`     | The name of the client software.                                                                                                                                      |
| `metric.client_software_version`  | The version of the client software.                                                                                                                                   |
| `metric.application_id`           | The application ID of the Kafka Streams application.                                                                                                                  |
| `metric.process_id`               | The process ID of the Kafka Streams instance.                                                                                                                         |
| `metric.thread_id`                | The thread ID of the Kafka Streams thread.                                                                                                                            |
| `metric.group_id`                 | The group ID of the Kafka Streams consumer group.                                                                                                                     |

<a id="usm-metrics-kafka"></a>

### Kafka cluster metrics

Kafka cluster metrics collected by the USM Agent include the following.

| Metric name                                                         | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | Additional applicable tags                                                                                       |
|---------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
| `io.confluent.kafka.server/retained_bytes`                          | The current number of bytes retained by the cluster, summed across all partitions. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                     | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/retained_tier_bytes`                     | The cumulative size, in bytes, of a topic partition’s data on tiered (object) storage, summed across all partitions at the cluster level. Each partition is counted once, so the value is not multiplied by the replication factor. Sampled every 60 seconds. Requires Confluent Platform 7.9.10 or later in the 7.9.x series, 8.1.6 or later in 8.1.x, 8.2.4 or later in 8.2.x, 8.3.2 or later in 8.3.x, or 8.4.0 or later. Brokers on earlier patches do not send this metric. | `TOPIC`, `PARTITION`                                                                                             |
| `io.confluent.kafka.server/tier_tasks_partitions_in_error`          | The number of partitions whose tiered storage tasks are in an error state, summed across brokers. A healthy cluster reports 0. A non-zero value means a broker hit a non-retriable error on a partition, such as a corrupted segment or index. The count stays non-zero until the affected broker restarts, even after the cause is fixed. Check the broker logs for tier archiver errors. Sampled every 60 seconds.                                                             | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/log_start_offset`                        | The offset of the first message in a partition. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                                        | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/log_end_offset`                          | The offset of the last message in a partition. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                                         | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/received_bytes`                          | The number of bytes received from the network since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                               | `TOPIC`, `HOSTNAME`                                                                                              |
| `io.confluent.kafka.server/sent_bytes`                              | The number of bytes sent over the network since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                   | `TOPIC`, `HOSTNAME`                                                                                              |
| `io.confluent.kafka.server/received_records`                        | The number of records received since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                              | `TOPIC`, `HOSTNAME`                                                                                              |
| `io.confluent.kafka.server/sent_records`                            | The number of records sent since the previous sample, including unsuccessful sends. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                    | `TOPIC`, `CLIENT_ID`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/active_controller_count`                 | The number of active controllers in the cluster. Alert if the aggregated sum across all brokers is anything other than one, as there must be exactly one controller per cluster.                                                                                                                                                                                                                                                                                                 | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/raft_number_of_voters`                   | The number of voters in the KRaft quorum. Sampled every 60 seconds. The implicit time and space aggregation for this metric is `MAX`.                                                                                                                                                                                                                                                                                                                                            | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/offline_partitions_count`                | The number of partitions without an active leader. These partitions are neither writable nor readable. Alert if the value is greater than 0.                                                                                                                                                                                                                                                                                                                                     | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/unclean_leader_elections`                | The rate of unclean leader elections.                                                                                                                                                                                                                                                                                                                                                                                                                                            | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/under_replicated_partitions`             | The number of under-replicated partitions. In a healthy cluster, the number of in-sync replicas (ISRs) equals the total number of replicas. Under-replicated partitions occur when a broker is down or cannot replicate fast enough from the leader.                                                                                                                                                                                                                             | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/under_min_isr_partition_count`           | The number of partitions where the in-sync replica (ISR) count is lower than the configured minimum.                                                                                                                                                                                                                                                                                                                                                                             | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/network_processor_avg_idle_percent`      | The average fraction of time that network processor threads are idle. Values range from 0, meaning all resources are in use, to 1, meaning all resources are available.                                                                                                                                                                                                                                                                                                          | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/request_handler_avg_idle_percent`        | The average fraction of time that request handler threads are idle.                                                                                                                                                                                                                                                                                                                                                                                                              | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/leader_count`                            | The number of leaders on the broker.                                                                                                                                                                                                                                                                                                                                                                                                                                             | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/partition_count`                         | The number of partitions on the broker.                                                                                                                                                                                                                                                                                                                                                                                                                                          | `HOSTNAME`                                                                                                       |
| `io.confluent.kafka.server/active_connection_count`                 | The count of active connections.                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `HOSTNAME`                                                                                                       |
| `system/volume/capacity_bytes`                                      | The total capacity of the storage volume, in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                              | `VOLUME`, `HOSTNAME`                                                                                             |
| `system/volume/free_bytes`                                          | The amount of free space on the storage volume, in bytes.                                                                                                                                                                                                                                                                                                                                                                                                                        | `VOLUME`, `HOSTNAME`                                                                                             |
| `io.confluent.kafka.server/failed_produce_requests`                 | The number of failed produce requests since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                       | `TOPIC`, `HOSTNAME`                                                                                              |
| `io.confluent.kafka.server/failed_fetch_requests`                   | The number of failed fetch requests since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                         | `TOPIC`, `HOSTNAME`                                                                                              |
| `io.confluent.kafka.server/request_duration_milliseconds`           | The total duration of inbound requests within the sampling window. To calculate the average time per request, divide this value by `request_count`.                                                                                                                                                                                                                                                                                                                              | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/request_count`                           | The number of requests received by the broker within the sampling window. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                              | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/consumer_lag_offsets`                    | Lag between a member’s committed offset and the partition high watermark.                                                                                                                                                                                                                                                                                                                                                                                                        | `CONSUMER_GROUP_ID`, `CONSUMER_GROUP_MEMBER_ID`, `PARTITION`, `CLIENT_ID`, `TOPIC`, `GROUP_PROTOCOL`, `HOSTNAME` |
| `io.confluent.kafka.server/max_pending_rebalance_time_milliseconds` | The maximum pending rebalance time, in milliseconds, among all members of a consumer group                                                                                                                                                                                                                                                                                                                                                                                       | `CONSUMER_GROUP_ID`, `GROUP_PROTOCOL`                                                                            |
| `io.confluent.kafka.server/bytes_in`                                | The number of bytes received by the client since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                  | `TOPIC`, `CLIENT_ID`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/bytes_out`                               | The number of bytes sent by the client since the previous sample. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                      | `TOPIC`, `CLIENT_ID`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/request_latency_p50_milliseconds`        | The p50 (median) duration of inbound requests. The value is the maximum p50 latency across requests of each type within the sampling window.                                                                                                                                                                                                                                                                                                                                     | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/request_latency_p95_milliseconds`        | The p95 duration of inbound requests. The value is the maximum p95 latency across requests of each type within the sampling window.                                                                                                                                                                                                                                                                                                                                              | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/request_latency_p99_milliseconds`        | The p99 duration of inbound requests. The value is the maximum p99 latency across requests of each type within the sampling window.                                                                                                                                                                                                                                                                                                                                              | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/request_latency_p999_milliseconds`       | The p99.9 duration of inbound requests. The value is the maximum p99.9 latency across requests of each type within the sampling window.                                                                                                                                                                                                                                                                                                                                          | `REQUEST_TYPE`, `HOSTNAME`                                                                                       |
| `io.confluent.kafka.server/log_size_bytes`                          | The current size of the log, in bytes. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                                                 | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/partition_replicas_count`                | The number of replicas for a partition. Sampled every 60 seconds.                                                                                                                                                                                                                                                                                                                                                                                                                | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/partition_under_replicated`              | Indicates whether a partition is under-replicated (1) or not (0). A partition is under-replicated when its in-sync replica (ISR) count is lower than its total replica count. Sampled every 60 seconds.                                                                                                                                                                                                                                                                          | `TOPIC`, `PARTITION`, `HOSTNAME`                                                                                 |
| `io.confluent.kafka.server/consumer_group_status`                   | The state of a consumer group, as an integer: 0 = UNKNOWN, 1 = PREPARING_REBALANCE, 2 = COMPLETING_REBALANCE, 3 = STABLE, 4 = EMPTY, 5 = ASSIGNING, 6 = RECONCILING.                                                                                                                                                                                                                                                                                                             | `CONSUMER_GROUP_ID`, `GROUP_PROTOCOL`                                                                            |
| `io.confluent.usm/node_count`                                       | The current count of active nodes for the Confluent Platform resource. Sampled every 60 seconds. The implicit time aggregation for this metric is MAX.                                                                                                                                                                                                                                                                                                                           | Only the tags listed under Node count metric tags                                                                |

<a id="usm-metrics-connect"></a>

### Connect cluster metrics

Connect cluster metrics collected by the USM Agent include the
following.

| Metric name                                            | Description                                                                                                                                                            | Additional applicable tags                        |
|--------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
| `io.confluent.kafka.connect/task_count`                | The total number of tasks from all workers for a connector. Sampled every 60 seconds. The implicit time aggregation for this metric is MAX.                            | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/failed_task_count`         | The number of failed tasks from all workers for a connector. Ideally, this value is 0. Sampled every 60 seconds. The implicit time aggregation for this metric is MAX. | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/sent_records`              | The number of records sent from transformations and written to Kafka by the source connector since the previous sample. Sampled every 60 seconds.                      | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/received_records`          | The number of records received by the sink connector since the previous sample. Sampled every 60 seconds.                                                              | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/sent_bytes`                | The number of bytes sent from transformations and written to Kafka by the source connector since the previous sample. Sampled every 60 seconds.                        | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/received_bytes`            | The number of bytes received by the sink connector since the previous sample. Sampled every 60 seconds.                                                                | `HOSTNAME`                                        |
| `io.confluent.kafka.connect/dead_letter_queue_records` | The number of dead letter queue records written to Kafka by the sink connector since the previous sample. Sampled every 60 seconds.                                    | —                                                 |
| `io.confluent.kafka.connect/request_size_avg`          | The average size of all client requests to the Connect cluster within a 60-second window.                                                                              | —                                                 |
| `io.confluent.usm/node_count`                          | The current count of active nodes for the Confluent Platform resource. Sampled every 60 seconds. The implicit time aggregation for this metric is MAX.                 | Only the tags listed under Node count metric tags |

<a id="usm-metrics-client"></a>

### Client metrics

The USM Agent collects these metrics only when client monitoring is
enabled. Client monitoring is disabled by default. For setup, see
[Configure client monitoring for Confluent Platform with USM](../configure/client-monitoring.md#usm-client-monitoring) and [Configure Kafka Streams monitoring for Confluent Platform with USM](../configure/monitor-kafka-streams.md#usm-kafka-streams-monitoring).

| Metric name                                                           | Description                                                                          | Additional applicable tags                                                                    |
|-----------------------------------------------------------------------|--------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
| `io.confluent.kafka.server/producer_connection_creation_total`        | The number of new connections established by the producer since the previous sample. | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/producer_request_total`                    | The number of requests sent by the producer since the previous sample.               | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/producer_request_latency_avg_milliseconds` | The average request latency of the producer, in milliseconds.                        | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/producer_topic_byte_rate`                  | The rate of bytes sent by the producer per topic, in bytes per second.               | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`, `TOPIC` |
| `io.confluent.kafka.server/consumer_connection_creation_total`        | The number of new connections established by the consumer since the previous sample. | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/consumer_request_total`                    | The number of requests sent by the consumer since the previous sample.               | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/consumer_request_latency_avg_milliseconds` | The average time taken for a fetch request, in milliseconds.                         | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`          |
| `io.confluent.kafka.server/consumer_bytes_consumed_rate`              | The rate of bytes consumed by the consumer per topic, in bytes per second.           | `EXTERNAL_CLIENT_ID`, `PRINCIPAL`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`, `TOPIC` |
| `io.confluent.kafka.streams/kafka_streams_client_state`               | The current state of the Kafka Streams client.                                       | `APPLICATION_ID`, `PROCESS_ID`, `CLIENT_SOFTWARE_NAME`, `CLIENT_SOFTWARE_VERSION`             |
| `io.confluent.kafka.streams/thread_thread_state`                      | The current state of a Kafka Streams thread.                                         | `PROCESS_ID`, `THREAD_ID`, `GROUP_ID`                                                         |
| `io.confluent.kafka.streams/poll_ratio`                               | The fraction of time the thread spent polling records.                               | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/commit_ratio`                             | The fraction of time the thread spent committing records.                            | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/process_ratio`                            | The fraction of time the thread spent processing records.                            | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/punctuate_ratio`                          | The fraction of time the thread spent executing punctuators.                         | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/process_records_avg`                      | The average number of records processed per poll by the Kafka Streams thread.        | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/node_e2e_latency_avg`                     | The average end-to-end latency of a processor node.                                  | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/node_e2e_latency_max`                     | The maximum end-to-end latency of a processor node.                                  | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/node_e2e_latency_min`                     | The minimum end-to-end latency of a processor node.                                  | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/block_cache_usage`                        | The percentage of RocksDB block cache usage.                                         | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/estimate_num_keys`                        | The estimated number of keys.                                                        | `THREAD_ID`, `GROUP_ID`                                                                       |
| `io.confluent.kafka.streams/size_all_mem_tables_bytes`                | The size of all RocksDB memtables, in bytes.                                         | `THREAD_ID`, `GROUP_ID`                                                                       |

## Related content

- [Unified Stream Manager overview](../overview.md#usm-overview)
- [Getting Started with Unified Stream Manager](../get-started.md#usm-start)
- [USM Agent: Sizing, High Availability, and Monitoring](sizing.md#agent-sizing)
