Adds a metrics HTTP server to acb-worker exposing Prometheus text format at /metrics, plus /health and /ready K8s probe endpoints. Tracks counters (matches, errors, jobs, replays, polls, heartbeats) and histograms (match duration, replay upload duration, replay size). Instruments the full worker execution flow. Fixes .gitignore binary patterns to use root-anchored paths so cmd/ subdirectories aren't incorrectly excluded. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
320 B
Text
32 lines
320 B
Text
# Binaries (root-level only)
|
|
/acb-local
|
|
/acb-mapgen
|
|
/acb-worker
|
|
|
|
# Node modules
|
|
node_modules/
|
|
|
|
# Build outputs
|
|
dist/
|
|
*.js.map
|
|
|
|
# Environment files
|
|
.env
|
|
.env.local
|
|
.env.*.local
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS files
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Test outputs
|
|
replay.json
|
|
|
|
# Marathon instructions (local only)
|
|
.marathon/
|