Add PMM as a datasource in Grafana

Hello,

I have a pmm-server hosted on an AWS EKS cluster and exposed it on localhost, I am able to access the PMM UI as well as the /prometheus endpoint that has Single-node VictoriaMetrics.

We have a native Grafana instance for our observability and would like to integrate the pmm-server into Grafana as one-single platform for our postgresql observability.

When I am adding pmm’s service (http://monitoring-service.pmm.svc.cluster.local/prometheus) as a data source to Grafana also hosted in the same cluster, I am getting 401 unauthorized. I am using the decrypted password from the secret and with no authentication and no luck.

What am I doing wrong? And how can I fix this?

Thanks.

Hi @skp15
I’ve tested this configuration with
Datasource: Prometheus
URL: http://PMM_SERVER/prometheus (httpS may be a problem if cert are not OK)
Auth: Basic Auth ,
Username-password - for the user from PMM

And this worked on separate instances.