feat(grafana): add GlitchTip error tracking dashboard

- Add PostgreSQL datasource pointing to GlitchTip database
- Add Error Tracking dashboard with 7 panels:
  - Total Open Issues (stat)
  - Issues by Project (pie chart)
  - Total Events (stat)
  - Projects Tracked (stat)
  - Resolved vs Unresolved (stat)
  - New Issues Over Time (stacked bar chart, 30 days)
  - Recent Issues (table with 50 latest, color-coded levels)
- Dashboard links to GlitchTip UI for detailed investigation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-19 21:14:09 +01:00
parent afbf5ef00a
commit f264e9f2ae
2 changed files with 189 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# GlitchTip PostgreSQL Datasource
# Enables error tracking dashboards in Grafana
apiVersion: 1
datasources:
- name: GlitchTip
type: postgres
access: proxy
url: postgres:5432
user: postgres
secureJsonData:
password: ${POSTGRES_PASSWORD}
jsonData:
database: glitchtip
sslmode: disable
maxOpenConns: 5
maxIdleConns: 2
connMaxLifetime: 14400
postgresVersion: 1600
timescaledb: false
isDefault: false
editable: true