apps/docs/content/troubleshooting/grafana-not-displaying-data-sXJrMj.mdx
This guide is for identifying configuration mistakes in self-hosted Supabase Grafana installations
Use the below cURL command to make sure your metrics endpoint returns data:
curl https://<YOUR_PROJECT_REF>.supabase.co/customer/v1/privileged/metrics --user 'service_role:<SECRET_API_KEY>'
Run the following command in the terminal:
docker ps -f name=supabase-grafana
The output should look something like this:
Here it is in an easier to read format
- CONTAINER ID: < container id >
- IMAGE: supabase-grafana-supabase-grafana
- COMMAND: /entrypoint.sh
- CREATED: < time >
- STATUS: Up < unit of time > ago
- PORTS: 3000/tcp, 0.0.0.0:8000 → 8080/tcp
- NAMES: supabase-grafana-supabase-grafana-1
Try running the following terminal command:
docker exec -it <container id> bash
Run the following in the docker container:
printenv | egrep 'GRAFANA_PASSWORD|SUPABASE_PROJECT_REF|SUPABASE_SERVICE_ROLE_KEY'
Ensure the values are correct by comparing them with those in the Dashboard. Users have previously encountered issues by accidentally omitting the last character of their strings, so a thorough check is essential.
entrypoint.sh fileRun the following terminal commands:
cd /
ls -l | grep entrypoint.sh
entrypoint.sh should have the following permissions:
-rwxr-xr-x
If off, update the values
chmod +x entrypoint.sh