Linear
Rocketgraph opens one Linear issue per alert storm, comments as it grows, and closes it once the alerts stop.
Each alert storm becomes one issue in the Linear team you pick. Later alerts in the storm are added as comments, and the issue is closed after a day once the alerts have stopped.
Connect
- Open Connect and click Linear under Ticketing.
- Linear API key: in Linear, open Settings, go to Security & access, and create a personal API key. It needs write access so Rocketgraph can create, comment on and close issues. The Open Linear settings button takes you there.
- Team: pick where issues are opened.
- Add a slow-trace report (optional): adds the 20 slowest traces from the alert window to each new issue, and which span held each one up. Needs ClickHouse as your observability backend.
- Click Connect Linear.
What Rocketgraph reads and writes
It uses Linear's GraphQL API with your personal key.
- Reads your teams, and the team's workflow states.
issueCreateto open an issue. When an incident is customer-facing, the issue gets Urgent priority and a red Customer-facing label. Rocketgraph creates that label the first time it needs it.fileUploadto attach a chart of the error rate and p95 to the issue.commentCreatefor new alerts in the storm.issueUpdateto move the issue to the team's completed state, with a comment saying why.
A new issue lists every alert in the storm, a summary, likely causes and checks to run. When there is something to say, it also has earlier storms like this one, code changes from GitHub, and the slow-trace report.
Known limits
- An issue is not closed while its storm is still firing.
- The team list shows up to 100 teams.
- You can cap new tickets per day on the Settings page. Comments on existing tickets are not capped.
Disconnect
Open Linear on the Connect page and click Disconnect Linear. Then revoke the API key in Linear if you no longer need it.