Skip to main content
Runbooks are prompts written in natural language that can be used to assist an agent while it’s trying to investigate alerts.

Do I need runbooks for every alert?

No. The agent has context of generic alerts in application, infrastructure & containers that engineering teams get. Runbooks help in situations where you already have an opinion on how to debug an issue.

How to write runbooks?

Writing runbooks is more about giving your own context/nuance to the agent. There are no hard and fast rules on how to write them, but here’s what we recommend:
  • Keep the instructions similar to how you’d give them to a junior engineer.
  • Add links to dashboards, log queries or any other query that removes the guess work of schema or context.
  • With regards to access, if you have a specific way of access a certain file/info, giving that to the agent might not be very relevant. Agent’s accesses are defined based on setup and it will likely not be able to manually request access to a user on the go.

How can the runbooks be used?

Runbooks can be mapped to an alert as a configuration so that the agent can leverage it while investigating the alert better. Attaching the alert to a runbook is a one-time activity and future alerts of the same pattern. Alternately, runbooks can be attached to the chat on the go just like you attach files to Cursor for better context.

Do I need to configure or write code for automation?

No. The agent has been designed to automatically identify tools & data to query based on guidelines written in runbooks.

Where will the runbooks be stored?

Runbooks created on the platform will be stored on DrDroid. Alternately, you can connect DrDroid with BitBucket, Github or Confluence. In this case, your Wiki will be the source of truth and will be synced on the platform on a recurring basis.

Example Runbooks?

Explore these practical examples to get started with creating your own runbooks. Each example includes a description, use case, and the complete runbook definition.

1. Service Health Check

Use Case: Verify the health of a web service

2. Database Maintenance

Use Case: Perform routine database maintenance

3. Kubernetes Deployment Rollout

Use Case: Deploy a new version of a service

4. Incident Response – High CPU Usage

Use Case: Automated response to high CPU usage