I have installed Microsoft Azure Kubernetes Service - AKS (version 1.26.6) and have connected from Lens successfully to this cluster.
I have also installed Azure Monitor managed service for Prometheus from Azure Portal (there is a checkbox option, see Enable Azure Monitor managed service for Prometheus - Azure Monitor | Microsoft Learn), and I noticed that the following pods have been deployed in AKS (in kube-system namespace) after Azure prometheus installation:
ama-metrics (one pod)
ama-metrics-ksm (one pod)
ama-metrics-node (one pod in each node)
as well as service:
ama-metrics-ksm in port 8080
so I suppose (but I am not sure) that this is the prometheus service.
However in Lens I get:
“Metrics not available at the moment”
I have tried many different combinations in Cluster settings → Metrics (Auto Detect Prometheus, helm, helm14 etc., with kube-system/ama-metrics-ksm:8080, as well as various other services in format namespace/service:port), but I haven’t achieved to retrieve metrics.
How can I retrieve metrics from Azure Monitor managed service for Prometheus into Lens?
Has anyone achieved that?