Files
goodgo-platform/monitoring/prometheus/prometheus.yml
Ho Ngoc Hai 5114f5b87e 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>
2026-04-08 23:07:21 +07:00

22 lines
570 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
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:
- targets: ['localhost:9090']