# Grafana 数据源自动 provisioning # 启动时自动注册 Prometheus 数据源,无需手动在 UI 配置 apiVersion: 1 datasources: - name: Prometheus type: prometheus access: proxy url: http://prometheus:9090 isDefault: true editable: false jsonData: timeInterval: "15s"