Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Memory and CPU usage of managed service for apache kafka

Hi,

We are running a GCP Managed Kafka cluster in region europe-west2.

The cluster is active and processing traffic — we can see metrics such as `Bytes_in_count`and `Bytes_out_count` working correctly.

However, CPU and memory utilization metrics such as `managedkafka.googleapis.com/cpu/usage` and `.../memory/usage` are not available in Metrics Explorer.

Only `cpu.limit` and `memory.limit` are exposed.

I can see dashboards with cpu and memory usage at 0:

RuiSMagalhaes_0-1747346062272.png


Is there anything we need to enable to receive those metrics ?
Is this expected or is this a possible issue in metric export ?

Thanks!

0 1 165
1 REPLY 1

Hi @RuiSMagalhaes

Welcome to Google Cloud Community! 

Here are some workaround that may help along with relevant documentation:

1. Check Service Account Permissions
Managed services usually operate with a Google-managed service account that has the necessary permissions to write metrics.

2. Check GCP Status Dashboard

Check for any ongoing incidents related to:

  • Cloud Monitoring
  • Managed Service for Apache Kafka
  • Specifically in the europe-west2 region.

If Metrics Remain Unavailable/Zero for an active cluster, please reach out to our Google Cloud Support.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.