Amazon Managed Streaming for Apache Kafka (Amazon MSK) is a fully managed service that enables you to build and run applications that use Apache Kafka to process streaming data.

Amazon MSK provides the control-plane operations, such as those for creating, updating, and deleting clusters.

  • You can use Apache Kafka data-plane operations, such as those for producing and consuming data.
  • It runs open-source versions of Apache Kafka.

This means existing applications, tooling, and plugins from partners and the Apache Kafka community are supported without requiring changes to application code.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

Monitoring an Amazon MSK Cluster

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select MSK Cluster.

Event support

CloudTrail event support

  • Not Supported

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_kafka_broker_node_BurstBalanceBurstBalanceBurst BalancePercentAverageRemaining balance of input/output burst credits for EBS volumes
aws_kafka_broker_node_BytesInPerSecBytesInPerSecBytes In Per SecBytes/SecondAverageBytes per second received from clients
aws_kafka_broker_node_BytesOutPerSecBytesOutPerSecBytes Out Per SecBytes/SecondAverageBytes per second sent to clients
aws_kafka_broker_node_ClientConnectionCountClientConnectionCountClient Connection CountCountAverageNumber of active authenticated client connections
aws_kafka_broker_node_ConnectionCountConnectionCountConnection CountCountAverageNumber of active authenticated, unauthenticated, and inter-broker connections
aws_kafka_broker_node_CPUCreditBalanceCPUCreditBalanceCPU Credit BalanceCountAverageEarned CPU credits a broker has accrued since launch
aws_kafka_broker_node_CpuIdleCpuIdleCpu IdlePercentAveragePercentage of CPU idle time
aws_kafka_broker_node_CpuIoWaitCpuIoWaitCpu Io WaitPercentAveragePercentage of CPU idle time during a pending disk operation
aws_kafka_broker_node_CpuSystemCpuSystemCpu SystemPercentAveragePercentage of CPU in kernel space
aws_kafka_broker_node_CpuUserCpuUserCpu UserPercentAveragePercentage of CPU in user space
aws_kafka_broker_node_KafkaAppLogsDiskUsedKafkaAppLogsDiskUsedKafka App Logs Disk UsedPercentAveragePercentage of disk space used for application logs
aws_kafka_broker_node_KafkaDataLogsDiskUsedKafkaDataLogsDiskUsedKafka Data Logs Disk UsedPercentAveragePercentage of disk space used for data logs
aws_kafka_broker_node_LeaderCountLeaderCountLeader CountCountAverageTotal number of leaders of partitions per broker, not including replicas
aws_kafka_broker_node_MemoryBufferedMemoryBufferedMemory BufferedBytesAverageSize in bytes of buffered memory for the broker
aws_kafka_broker_node_MemoryCachedMemoryCachedMemory CachedBytesAverageSize in bytes of cached memory for the broker
aws_kafka_broker_node_MemoryFreeMemoryFreeMemory FreeBytesAverageSize in bytes of free and available memory for the broker
aws_kafka_broker_node_HeapMemoryAfterGCHeapMemoryAfterGCHeap Memory After GCPercentAveragePercentage of total heap memory in use after garbage collection
aws_kafka_broker_node_MemoryUsedMemoryUsedMemory UsedBytesAverageSize in bytes of memory in use for the broker
aws_kafka_broker_node_MessagesInPerSecMessagesInPerSecMessages In Per SecCount/SecondAverageNumber of incoming messages per second for the broker
aws_kafka_broker_node_NetworkRxDroppedNetworkRxDroppedNetwork Rx DroppedCountAverageNumber of dropped receive packages
aws_kafka_broker_node_NetworkRxErrorsNetworkRxErrorsNetwork Rx ErrorsCountAverageNumber of network receive errors for the broker
aws_kafka_broker_node_NetworkRxPacketsNetworkRxPacketsNetwork Rx PacketsCountAverageNumber of packets received by the broker
aws_kafka_broker_node_NetworkTxDroppedNetworkTxDroppedNetwork Tx DroppedCountAverageNumber of dropped transmit packages
aws_kafka_broker_node_NetworkTxErrorsNetworkTxErrorsNetwork Tx ErrorsCountAverageNumber of network transmit errors for the broker
aws_kafka_broker_node_NetworkTxPacketsNetworkTxPacketsNetwork Tx PacketsCountAverageNumber of packets transmitted by the broker
aws_kafka_broker_node_PartitionCountPartitionCountPartition CountCountAverageThe total number of topic partitions per broker, including replicas.
aws_kafka_broker_node_ProduceTotalTimeMsMeanProduceTotalTimeMsMeanProduce Total Time Ms MeanMillisecondsAverageThe mean produce time in milliseconds.
aws_kafka_broker_node_RequestBytesMeanRequestBytesMeanRequest Bytes MeanBytesAverageThe mean number of request bytes for the broker.
aws_kafka_broker_node_RequestTimeRequestTimeRequest TimeMillisecondsAverageThe average time in milliseconds spent in broker network and I/O threads to process requests.
aws_kafka_broker_node_RootDiskUsedRootDiskUsedRoot Disk UsedPercentAverageThe percentage of the root disk used by the broker.
aws_kafka_broker_node_SwapFreeSwapFreeSwap FreeBytesAverageThe size in bytes of swap memory that is available for the broker.
aws_kafka_broker_node_SwapUsedSwapUsedSwap UsedBytesAverageThe size in bytes of swap memory that is in use for the broker.
aws_kafka_broker_node_TrafficShapingTrafficShapingTraffic ShapingCountAverageHigh-level metrics indicating the number of packets shaped (dropped or queued) due to exceeding network allocations. Finer detail is available with PER_BROKER metrics.
aws_kafka_broker_node_UnderMinIsrPartitionCountUnderMinIsrPartitionCountUnder Min Isr Partition CountCountAverageThe number of under minIsr partitions for the broker.
aws_kafka_broker_node_UnderReplicatedPartitionsUnderReplicatedPartitionsUnder Replicated PartitionsCountAverageThe number of under-replicated partitions for the broker.
aws_kafka_broker_node_UserPartitionExistsUserPartitionExistsUser Partition ExistsCountAverageA Boolean metric that indicates the presence of a user-owned partition on a broker. A value of 1 indicates the presence of partitions on the broker.
aws_kafka_broker_node_ZooKeeperRequestLatencyMsMeanZooKeeperRequestLatencyMsMeanZoo Keeper Request Latency Ms MeanMillisecondsAverageFor ZooKeeper-based cluster. The mean latency in milliseconds for Apache ZooKeeper requests from broker.
aws_kafka_broker_node_ZooKeeperSessionStateZooKeeperSessionStateZoo Keeper Session StateCountAverageFor ZooKeeper-based cluster. Connection status of broker's ZooKeeper session which may be one of the following: NOT_CONNECTED: '0.0', ASSOCIATING: '0.1', CONNECTING: '0.5', CONNECTEDREADONLY: '0.8', CONNECTED: '1.0', CLOSED: '5.0', AUTH_FAILED: '10.0'.