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>
22 lines
570 B
YAML
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']
|