Game Framework
Operations

Monitoring

Monitor your Game Framework deployment for health and performance.

Health Checks

# API health
curl https://registry.yourcompany.com/health

# Detailed status
curl https://registry.yourcompany.com/v1/status \
  -H "Authorization: Bearer $TOKEN"

Metrics

Game Framework exposes Prometheus metrics:

# Endpoint
http://registry:8080/metrics

# Key metrics
- gameframework_requests_total
- gameframework_request_duration_seconds
- gameframework_packages_total
- gameframework_downloads_total

Logging

Structured JSON logs:

# View logs
docker-compose logs -f api

# Or in Kubernetes
kubectl logs -f deployment/gameframework

Alerting

Example Prometheus alerts:

groups:
  - name: gameframework
    rules:
      - alert: HighErrorRate
        expr: rate(gameframework_requests_total{status=~"5.."}[5m]) > 0.05
        annotations:
          summary: "High error rate detected"

Next Steps