apiVersion: 1 # Grafana reaches Prometheus by its service name on the monitoring network. # localhost would mean the Grafana container itself. datasources: - name: Prometheus uid: prometheus type: prometheus access: proxy url: http://prometheus:9090 isDefault: true editable: false jsonData: timeInterval: 30s