New Relic integrations with the Google Cloud Platform (GCP) include one that reports Google Cloud Managed Service for Apache Kafka data to New Relic. This document explains how to activate the GCP Managed Kafka integration and describes the data it reports.
Features
Managed Service for Apache Kafka is Google Cloud's fully managed, Apache Kafka–compatible streaming platform, including Kafka Connect. New Relic Managed Kafka integration collects throughput, lag, retention, and connector-health metrics across clusters, topics, partitions, consumer groups, and Kafka Connect clusters and connectors.
Activate integration
To enable the integration, follow standard procedures to connect your GCP service to New Relic:
Polling frequency
New Relic integrations query your GCP services according to a polling interval that varies by integration. The polling frequency for Google Cloud Managed Kafka is 5 minutes. The resolution is 1 data point every minute.
重要
Managed Service for Apache Kafka supports 1-minute polling intervals for WIF integrations in limited preview. To request access, contact New Relic support.
Workload Identity Federation
Find and use data
After you enable the integration, your Managed Kafka resources appear as entities in the New Relic entity explorer. To see dashboards and manage services, go to one.newrelic.com > All capabilities > Infrastructure > GCP.
All Managed Kafka metrics available in GCP Cloud Monitoring are collected as dimensional metrics in the Metric event type. Additional metrics beyond this table are collected automatically. See Google's Managed Kafka metrics documentation for the complete list.
Entities
Metric data
Key metrics — Cluster
Metric name | Unit | Description |
|---|---|---|
| Percent | CPU utilization across broker nodes in the Managed Kafka cluster. |
| Percent | Memory utilization across broker nodes in the Managed Kafka cluster. |
| Bytes | Storage in use by the Managed Kafka cluster. |
| Count | Number of brokers currently running in the Managed Kafka cluster. |
| Count | Number of topics on the Managed Kafka cluster. |
Key metrics — Topic
Metric name | Unit | Description |
|---|---|---|
| Bytes | Bytes produced to the Managed Kafka topic. |
| Bytes | Bytes consumed from the Managed Kafka topic. |
| Count | Messages produced to the Managed Kafka topic. |
| Count | Number of partitions in the Managed Kafka topic. |
| Bytes | Total on-disk size of the Managed Kafka topic across partitions. |
Key metrics — Topic Partition
Metric name | Unit | Description |
|---|---|---|
| Bytes | On-disk size of the topic partition. |
| Count | Most recent offset produced to the topic partition. |
| Count | Earliest available offset in the topic partition. |
| Count | Log-end offset for the topic partition. |
| Count | Number of messages the partition is ahead of its slowest consumer. |
Key metrics — Consumer Group
Metric name | Unit | Description |
|---|---|---|
| Count | Number of messages the consumer group is behind the latest offset, faceted by partition. |
| Count | Last offset committed by the consumer group. |
| Count | Number of active members in the consumer group. |
| Count | Number of consumer-group rebalances observed. |
Key metrics — Connect Cluster
Metric name | Unit | Description |
|---|---|---|
| Seconds | CPU-seconds consumed by workers in the Kafka Connect cluster. |
| Bytes | Memory currently in use by workers in the Kafka Connect cluster. |
| Count | Number of connector API requests processed by the Kafka Connect cluster. |
| Count | Number of workers currently running in the Kafka Connect cluster. |
| Milliseconds | Latency distribution for connector API requests on the Kafka Connect cluster. |
Key metrics — Connector
Metric name | Unit | Description |
|---|---|---|
| Count | Number of tasks running for the connector, faceted by task state. |
| Count | Number of records that produced errors on the connector. |
| Count | Active records buffered on sink connectors. |
| Count | Number of records written by source connectors to Kafka. |
| Count | Number of records read by sink connectors from Kafka. |
For the complete list of Managed Kafka metrics, see Google's Managed Kafka metrics documentation.