1 open incident
Order Worker — SLO “Order Processing Success Rate” is RED
View details

Service: Payments API

Risk: Green Safe to deploy
Why?

All SLOs for service 'Payments API' are GREEN. Safe to deploy.

{# ------------------------------------------------------------------ Governance strip: freeze windows, approvals, last decision (all additive; works even if the view doesn't pass extra context). ------------------------------------------------------------------- #}
Change freeze

No active freeze window configured for this service yet.

Deploys allowed
Approvals

No explicit approval policy wired yet.

No approvals configured
Last decision

No deployment decisions logged for this service yet.

No history

SLO Health for Payments API

View risk trends for this service
SLO SLI Target Error Budget Remaining Burn Rate Health
Payments Availability 1.000 99.900 1.000 0.000 Green

CI-ready safe-to-deploy check

Use this in CI to block deployments when the service is not safe.

curl
curl -s "https://sre.sydatrix.com/api/safe_to_deploy/?service=Payments API&env=prod"
GitHub Actions

- name: Check if Payments API is safe to deploy
  run: |
    set -e
    RESPONSE=$(curl -sS "https://sre.sydatrix.com/api/safe_to_deploy/?service=Payments API&env=prod")
    echo "$RESPONSE"
    SAFE=$(echo "$RESPONSE" | jq -r '.safe')
    if [ "$SAFE" != "true" ]; then
      echo "❌ Not safe to deploy: $(echo "$RESPONSE" | jq -r '.reason')"
      exit 1
    fi
    echo "✅ Safe to deploy"
Jenkins Pipeline

stage('Safe to Deploy – Payments API') {
  steps {
    script {
      def response = sh(
        script: "curl -sS 'https://sre.sydatrix.com/api/safe_to_deploy/?service=Payments API&env=prod'",
        returnStdout: true
      ).trim()

      echo "Safe-to-deploy response: ${response}"

      def safe = sh(
        script: "echo '${response}' | jq -r .safe",
        returnStdout: true
      ).trim()

      if (safe != 'true') {
        def reason = sh(
          script: "echo '${response}' | jq -r .reason",
          returnStdout: true
        ).trim()
        error "❌ Not safe to deploy: ${reason}"
      }

      echo "✅ Safe to deploy"
    }
  }
}
← Back to Services