serverctl/services/metrics/grafana/provisioning/datasources/datasource.yaml

31 lines
503 B
YAML
Raw Permalink Normal View History

2022-02-14 20:03:53 +01:00
apiVersion: 1
deleteDatasources:
- name: Metrics
orgId: 1
- name: Logs
orgId: 1
datasources:
- name: Metrics
type: prometheus
access: proxy
orgId: 1
url: http://prometheus:9090
basicAuth: false
isDefault: true
jsonData:
graphiteVersion: "1.1"
tlsAuth: false
tlsAuthWithCACert: false
version: 1
editable: false
- name: Logs
type: loki
access: proxy
url: http://loki:3100
jsonData:
maxLines: 1000
orgId: 1