server:
  http_listen_port: 9080
  grpc_listen_port: 0

positions:
  filename: /tmp/positions.yaml

clients:
  - url: http://localhost:3100/loki/api/v1/push

scrape_configs:
  # ONLY PM2 Application Logs (logger.js output)
  - job_name: capi_production_pm2
    static_configs:
      - targets:
          - localhost
        labels:
          job: capi-prod      # This is the name you will see in Grafana
          app: capi
          env: production
          __path__: /home/capibigul/.pm2/logs/capi-*.log
