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:
Ho Ngoc Hai
2026-04-08 23:07:21 +07:00
parent c9782fd48d
commit 5114f5b87e
3 changed files with 8 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,6 +2,7 @@ apiVersion: 1
datasources: datasources:
- name: Prometheus - name: Prometheus
uid: prometheus
type: prometheus type: prometheus
access: proxy access: proxy
url: http://prometheus:9090 url: http://prometheus:9090
@@ -9,6 +10,7 @@ datasources:
editable: true editable: true
- name: Loki - name: Loki
uid: loki
type: loki type: loki
access: proxy access: proxy
url: http://loki:3100 url: http://loki:3100

View File

@@ -6,10 +6,15 @@ scrape_configs:
- job_name: 'goodgo-api' - job_name: 'goodgo-api'
metrics_path: '/metrics' metrics_path: '/metrics'
static_configs: static_configs:
# host.docker.internal for dev (API on host), api:3001 for prod (API in container)
- targets: ['host.docker.internal:3001'] - targets: ['host.docker.internal:3001']
labels: labels:
service: 'goodgo-api' service: 'goodgo-api'
environment: 'development' environment: 'development'
- targets: ['api:3001']
labels:
service: 'goodgo-api'
environment: 'production'
- job_name: 'prometheus' - job_name: 'prometheus'
static_configs: static_configs: