environment: dev
id: up1
infrastructure:
  uptime:
    inputs:
      alert_channels:
        email_addresses:
        - oncall@example.com
        - sre@example.com
        github_issue_repo: acdl/acdl
        sms_numbers:
        - '+1234567890'
        teams_webhook: https://hooks.example.com/teams/webhook
      cpu: 512
      feature_flag_enabled: true
      memory: 1024
      monitored_endpoints:
      - interval_seconds: 30
        name: api-health
        timeout_seconds: 10
        type: http
        url: https://api.example.com/health
      - interval_seconds: 60
        name: dns-check
        timeout_seconds: 10
        type: dns
        url: example.com
      - interval_seconds: 60
        name: tcp-check
        timeout_seconds: 10
        type: tcp
        url: db.example.com:5432
      region: us-east-1
      static_checks:
      - interval_seconds: 60
        name: google
        timeout_seconds: 10
        type: http
        url: https://google.com
    version: 1.0.0
name: uptime-monitor
