added grafana and prometheus
This commit is contained in:
26
grafana/provisioning/datasources/datasources.yml
Normal file
26
grafana/provisioning/datasources/datasources.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
isDefault: true
|
||||
editable: false
|
||||
|
||||
- name: PostgreSQL
|
||||
type: postgres
|
||||
access: proxy
|
||||
url: db:5432
|
||||
# These must match your .env.db values
|
||||
user: $POSTGRES_USER
|
||||
secureJsonData:
|
||||
password: $POSTGRES_PASSWORD
|
||||
jsonData:
|
||||
database: $POSTGRES_DB
|
||||
sslmode: disable
|
||||
maxOpenConns: 5
|
||||
maxIdleConns: 2
|
||||
connMaxLifetime: 14400
|
||||
postgresVersion: 1700
|
||||
editable: false
|
||||
Reference in New Issue
Block a user