All jobs

How Did Checkout Hold Up During the On-Sale? A Ticketing Marketplace's Report From Honeycomb After Each Big Release of Tickets

A ticketing marketplace's backend starts an agent when each big on-sale ends; it reads Honeycomb and reports where checkout slowed or failed, by step.

Run this on RushOpens the console with this prompt ready to send. Connect Honeycomb there first.

What the agent does

This is for a ticketing marketplace that sells seats for concerts, sports and theatre, where most of a big event's tickets sell in the first hour after they are released. The engineering team watches dashboards during the on-sale, but the account manager who looks after the promoter, and the promoter themselves, want a plain answer afterwards: did fans get through, where did they get stuck, and was it the queue, the seat map, the payment provider or the marketplace. The company sends its traces to Honeycomb already. When an on-sale window closes, its backend starts an agent that reads Honeycomb and writes that answer for the account manager.

An engineer connects Honeycomb once with POST /me/connections {"type": "mcp", "name": "honeycomb", "url": "https://mcp.honeycomb.io/mcp", "auth": {"mode": "oauth"}} and signs in on Honeycomb's own page. Rush's catalog row is Honeycomb's US region; a team on the EU region adds its EU server as a custom server instead. Honeycomb's tools page says some tools need particular scopes or plan tiers, and the agent uses only read tools.

On a run the agent calls get_workspace_context for the team's environments, then get_dataset_columns on the checkout service's dataset, and find_columns with words like "checkout step", "event id" and "payment provider" to find the fields the company's traces carry, rather than assuming their names. Then it uses run_query for the on-sale window, filtered to the event's id: a count and the 95th percentile of duration broken down by checkout step, and the count of errors broken down by step and status code. It runs the same breakdown for the same hour a week earlier, so the report compares the on-sale with a normal hour.

Where errors cluster, it calls run_bubbleup on the failing requests to see what sets them apart from the ones that succeeded, such as one payment provider, one app version or one region. It reads get_slos for the checkout SLO and how much of its budget the window used. It writes a one-page report in plain words for the account manager, with each number labelled with the query it came from, and a short technical appendix for the on-call engineer. It never creates or changes a board, trigger, SLO or recipient.

Start it with one API call

POST https://api.phoenix.so/o/{org}/sessions with this body:

{
  "agent": "claude",
  "input": "On-sale report for event EVT-48213 (arena concert, 2 shows). On-sale window: 2026-11-21 10:00 to 11:30 Europe/London. Use the honeycomb connection, read tools only. 1) get_workspace_context; pick the production environment. get_dataset_columns on dataset 'checkout-api'; find_columns for checkout step, event id, payment provider, client app version and queue wait. 2) run_query for the window filtered to the event id: COUNT and P95(duration_ms) by checkout step; COUNT of errors (status_code >= 500 or error true) by checkout step and status_code; the same two queries for 2026-11-14 10:00 to 11:30 as a baseline. 3) If any step's error share is above 2% or its P95 is more than twice the baseline, run_bubbleup on its failing requests and name the top differences. 4) get_slos and report the checkout SLO's budget used during the window. Write onsale-report.md: a summary of at most 120 words for the promoter's account manager in plain words (where fans got stuck, if anywhere, and whether it was the marketplace or a third party such as the payment provider), a table by checkout step (requests, errors, error share, P95 now versus baseline), and an appendix for engineers with the query links. Label every number with the query it came from. Never create or update a board, trigger, SLO or recipient.",
  "connections": [
    "honeycomb"
  ]
}
  1. Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
  2. Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
  3. Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

What comes back

What comes back is onsale-report.md among the session's files and its summary in the session's result, which arrives in data.result on the run.completed webhook. The account manager reads the plain-words summary and the table by checkout step; the on-call engineer opens the appendix, whose query links reopen each query in Honeycomb.

What the account manager and engineer check before the summary goes to the promoter: that the baseline hour was a fair comparison, since a week earlier may have had its own on-sale; that a cluster run_bubbleup pinned on a third party is confirmed with that provider's status page; and the wording of anything that says the marketplace was at fault. The promoter receives the summary from the account manager, not from the agent.

Run it on every on-sale that closes

The marketplace's event service already knows when each on-sale window ends. Thirty minutes after, it sends POST /o/{org}/sessions with the event id, the window and a baseline window in input, and a request_id that is a UUID v5 of the on-sale's id, so a retried job never starts a second report for the same on-sale. Only on-sales above a size the team chooses get a report.

On a weekend with several releases, each one starts its own run, and runs past the key's concurrent limit wait queued and start in turn. When the key has a webhook, each report arrives there and the event service attaches it to the event's page in the marketplace's internal tools.

The use case this job follows, with its automation and trigger: Produce a report or file, no repo.

Why run it on Rush?

The Honeycomb sign-in is held in Rush's connection rather than as an API key in the event service's environment, so the service that sells tickets never holds observability credentials. The agent reads only what the engineer who connected it can read in Honeycomb, and removing the connection stops every report.

Each run has its own computer and a record of every Honeycomb query it ran, so when a promoter disputes a number, the account manager and the engineer open the session and see the exact query and result behind it. The session's total_cost_usd gives the cost of each report, and many reports can run at once on a busy weekend.

Frequently asked questions

Why wait until the on-sale ends rather than report live?

During the on-sale, the engineers watch Honeycomb themselves and act. The report is for afterwards: a record the account manager can share and the team can learn from. A shorter run at the halfway point can use the same request with a shorter window.

Will the agent change our triggers or SLOs?

No. The prompt allows only read tools, and Honeycomb's tools page marks which tools write. Boards, triggers and SLOs stay as the engineers set them.

What if our traces do not record the checkout step?

The agent finds fields with find_columns before it queries, and says in the report which breakdowns it could not make. Adding the step as a span attribute is the engineers' work, and the next report picks it up.

More Honeycomb jobs

More jobs like this: Produce a report or file, no repo

Keep reading