Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.ewake.ai/llms.txt

Use this file to discover all available pages before exploring further.

What you’ll get: ewake correlates production issues with deployment events in real time. When an alert fires, it automatically checks whether a recent deployment on the affected service could be the cause.

Prerequisites

You need an ewake API key to authenticate deployment events. Go to your ewake instance → SettingsAPI Keys → create a key scoped to deployment tracking. Store it as a secret in your CI/CD environment (e.g. ewake_API_KEY).

How it works

Send a deployment event to ewake each time you deploy to production. Ewake stores these events in your environment’s knowledge map and uses them as context during alert investigations.
The artifactName field must match the service name as it appears in your observability stack (Datadog, Grafana, etc.) for correlation to work.

Option 1, GitHub Actions

The ewake GitHub Action is available on the GitHub Marketplace. Add ~5 lines to any existing workflow, no changes to your deployment logic required.
- name: Report deployment to ewake
  uses: ewake-ai/report-deployment-action@v1
  with:
    api-key: ${{ secrets.ewake_API_KEY }}
    artifact-name: "my-service"
    version: ${{ github.sha }}
    message: "Deploy ${{ github.ref_name }} to production"
    # repository: ${{ github.repository }}          # optional
    # commit-sha: ${{ github.sha }}                  # optional
    # labels: '{"env": "production"}'               # optional: custom metadata
    # api-url: "https://your-ewake-instance"        # optional: self-hosted override
ParameterRequiredDescription
api-keyYour ewake API key
artifact-nameMust match the service name in your observability stack
versionSemver, image tag, or short SHA
messageFree-text deployment description
repositoryRepository identifier (e.g. my-org/my-service)
commit-shaFull or short commit SHA
labelsJSON object with custom metadata
api-urlOverride for self-hosted ewake instances
Non-blocking by design, if ewake is unreachable, your deployment continues unaffected.

Option 2, Direct API call

curl -X POST https://api.ewake.ai/api/v1/events/deployment \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "artifactName": "my-service",
    "repository": "my-org/my-service",
    "commitSha": "abc123",
    "version": "1.2.3",
    "message": "Deployed by CI",
    "timestamp": "2026-04-14T12:00:00Z",
    "source": "ci",
    "labels": {"env": "production"}
  }'
A 202 Accepted response confirms the event was received.
FieldRequiredDescription
artifactNameMust match the service name in your observability stack
repositoryRepository identifier (e.g. my-org/my-service)
commitShaFull or short commit SHA
versionSemver, image tag, or short SHA
messageFree-text deployment description
timestampISO 8601 datetime, defaults to time of receipt if omitted
sourceDeployment source identifier (e.g. ci, github-actions)
labelsJSON object with custom metadata

Troubleshooting

ErrorCause
401 UnauthorizedInvalid or missing API key
400 Bad RequestartifactName field missing or malformed
TimeoutCheck proxy or firewall settings for outbound HTTPS