07 Oct 2025 07:44 PM
Hi Team,
I’m currently trying to monitor Redis running inside Kubernetes using the Redis 2.0 extension in Dynatrace. I’ve configured the extension and tried the following steps, but I’m still not able to fetch Redis metrics:
Installed and configured the Redis 2.0 extension.
Set up host groups, environments, and management zones, including selecting my Kubernetes cluster within the management zone.
Verified that the management zone is created, but my Redis instances or metrics don’t appear to be linked or visible there.
Under Monitoring configuration endpoints, I’m getting the error:
“Metrics not supported by data source.”
Under Monitoring configuration status per host, I only see host names—no Redis metrics.
Does the Redis 2.0 extension support collecting metrics from Redis instances running inside Kubernetes pods?
Is there any specific configuration or annotation needed for the extension to discover Redis pods correctly in a Kubernetes setup?
Any guidance or clarification would be greatly appreciated!
Thanks in advance for your support.
Solved! Go to Solution.
08 Oct 2025 02:48 PM
Hi,
The Redis 2.0 extension doesn’t support monitoring Redis instances running inside Kubernetes pods. Extensions 2.0 work outside of Kubernetes and can’t automatically discover or attach to Redis pods. That’s why you only see host names and the “Metrics not supported by data source” message.
The recommended approach in Kubernetes is to expose Redis metrics via a Prometheus exporter (for example redis-exporter) and then let Dynatrace scrape those metrics. Dynatrace can natively ingest Prometheus metrics from annotated pods or services in your cluster.
To do this:
Deploy a Redis Prometheus exporter as a sidecar or separate pod.
Annotate the Redis/Exporter pods or service with:
annotations:
metrics.dynatrace.com/scrape: 'true'
metrics.dynatrace.com/port: '<port>'
metrics.dynatrace.com/path: '/metrics'
Ensure your Dynatrace ActiveGate inside the cluster can reach the pods.
After that, Redis metrics will be available in Dynatrace through the Prometheus integration. You can chart them in Data Explorer, create alerts, and add them to dashboards.
So short answer: monitoring Redis pods via the Redis 2.0 extension is not possible; use Prometheus exporters instead.
Here link to documentation:
Monitor Prometheus metrics