caddy
This commit is contained in:
19
grafana/provisioning/datasources/postgresql.yml
Normal file
19
grafana/provisioning/datasources/postgresql.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: VentdEst
|
||||
type: postgres
|
||||
url: postgresql:5432
|
||||
user: ventdest
|
||||
editable: true
|
||||
secureJsonData:
|
||||
password: motdepasse
|
||||
jsonData:
|
||||
database: ventdest
|
||||
sslmode: disable # disable/require/verify-ca/verify-full
|
||||
maxOpenConns: 50 # Grafana v5.4+
|
||||
maxIdleConns: 50 # Grafana v5.4+
|
||||
maxIdleConnsAuto: true # Grafana v9.5.1+
|
||||
connMaxLifetime: 3600 # Grafana v5.4+
|
||||
postgresVersion: 1500 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10
|
||||
timescaledb: false
|
||||
16
grafana/provisioning/datasources/prometheus.yml
Normal file
16
grafana/provisioning/datasources/prometheus.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
url: http://prometheus:9090
|
||||
orgId: 1
|
||||
isDefault: true
|
||||
access: proxy
|
||||
editable: true
|
||||
jsonData:
|
||||
httpMethod: POST
|
||||
prometheusType: Prometheus
|
||||
prometheusVersion: 2.50.0
|
||||
|
||||
# http://localhost/grafana/api/datasources
|
||||
Reference in New Issue
Block a user