chore: update monitoring configs, CI workflow, and web build info
Update Grafana datasource and Prometheus configs for monitoring integration. Improve E2E CI workflow with Prisma generate, browser caching, and trace artifact collection. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -2,6 +2,7 @@ apiVersion: 1
|
||||
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
uid: prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://prometheus:9090
|
||||
@@ -9,6 +10,7 @@ datasources:
|
||||
editable: true
|
||||
|
||||
- name: Loki
|
||||
uid: loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: http://loki:3100
|
||||
|
||||
@@ -6,10 +6,15 @@ scrape_configs:
|
||||
- job_name: 'goodgo-api'
|
||||
metrics_path: '/metrics'
|
||||
static_configs:
|
||||
# host.docker.internal for dev (API on host), api:3001 for prod (API in container)
|
||||
- targets: ['host.docker.internal:3001']
|
||||
labels:
|
||||
service: 'goodgo-api'
|
||||
environment: 'development'
|
||||
- targets: ['api:3001']
|
||||
labels:
|
||||
service: 'goodgo-api'
|
||||
environment: 'production'
|
||||
|
||||
- job_name: 'prometheus'
|
||||
static_configs:
|
||||
|
||||
Reference in New Issue
Block a user