added grafana and prometheus

This commit is contained in:
2026-02-21 15:00:49 +01:00
parent d9347ada81
commit d276792607
6 changed files with 825 additions and 0 deletions

View 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