Release health scorecard after every deploy

Summarize a deploy with new errors, affected users, key metric deltas, and the next engineering action in one chat response.

Published

difficulty intermediate · time to value 3 minutes

Start from this

Build a release health scorecard for the latest production deploy: new errors, regressed errors, affected users, key funnel deltas, and recommended next action.

Why this matters

Most teams ship and then manually check three places: deploy logs, error monitoring, and product metrics. The scorecard turns that into a single post-deploy ritual the agent can run after every release.

What you get

  • New and regressed fingerprints since the deploy
  • Affected-user count for the top cases
  • Movement in selected product events or funnels
  • A clear recommendation: keep watching, roll back, hotfix, or investigate one case

Walk through it

You

Build a release health scorecard for the latest deploy.

Agent

I’ll pull the deploy, compare error fingerprints, then check key product events around the release window.

GET /v1/projects/:project_id/deploys { project_id: "default", limit: 1 }
POST /v1/projects/:project_id/recipes/:recipe_id/run {
  recipe_id: "errors_after_last_deploy",
  project_id: "default",
  params: {}
}
POST /v1/projects/:project_id/analytics/query {
  project_id: "default",
  hogql: "SELECT event, count() AS count FROM events WHERE timestamp > now() - INTERVAL 2 HOUR GROUP BY event ORDER BY count DESC LIMIT 20"
}

The output

The agent returns a release note for engineering: deploy SHA, new cases, user impact, metric changes, and the one next action. If one case dominates, it should call GET /v1/cases/:case_id before recommending a fix.

Setting it up

Post deploys from CI with POST /v1/deploys/ and AGENTRY_DSN, and keep error + analytics ingest enabled. No extra event names are required beyond the metrics your team wants in the scorecard.

Variations

  • “Compare this deploy to the previous three production deploys.”
  • “Only include checkout and signup metrics.”
  • “Send the scorecard to the release Slack channel after every deploy.”

Try this recipe in your own agent.

Ask your agent to adapt the starter prompt to your saved signal map and live events, then run it against your data.

Install agentry.sh/install.md for me
Agent will onboard itself and then your app