{"by":"TheBengaluruGuy","descendants":35,"id":40573790,"kids":[40582615,40576465,40578780,40579178,40578458,40580689,40578247,40577301,40578676,40577321,40584122,40582271,40577663,40582509,40581946],"score":147,"text":"Hello everyone, Dipesh and Siddarth here. We are building PlayBooks (<a href=\"https:&#x2F;&#x2F;github.com&#x2F;DrDroidLab&#x2F;playbooks\">https:&#x2F;&#x2F;github.com&#x2F;DrDroidLab&#x2F;playbooks</a>), an open source tool to write executable notebooks for on-call investigations &#x2F; remediations instead of Google Docs or Wikis. There’s a demo video here: <a href=\"https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_e-wOtIm1gk\" rel=\"nofollow\">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=_e-wOtIm1gk</a>, and our docs are here: <a href=\"https:&#x2F;&#x2F;docs.drdroid.io&#x2F;docs&#x2F;playbooks\">https:&#x2F;&#x2F;docs.drdroid.io&#x2F;docs&#x2F;playbooks</a><p>We were in YC’s W23 batch working on a data lakehouse with support for dynamic log schemas. Eventually we realized it was a product in search of a market and decided to stop building it. When pivoting, we decided to work on something that we originally prototyped (before even YC) but didn’t execute on.<p>In our previous jobs, we were at a food delivery startup in India with a busy on-call routine for backend &amp; devops engineers and a small tech team. Often business impacting issues (e.g. orders dropped by &gt;5% in the last 15 minutes) would escalate to Dipesh as he was the lead dev who had been around for a while and he always had 4-5 hypotheses on what might have failed. To avoid becoming the bottleneck, he used to write scripts that fetched custom metrics &amp; order related application logs every 5 minutes during peak traffic. So if an issue was reported, engineers would check the output of those scripts with all the usual suspects first, before diving into a generic exploration. This was the inspiration to get started on PlayBooks.<p>We’ve put together a platform that can help any dev create scripts with flexibility and without requiring to code much. Our goals were: (1) it can be automated to run and send updates; (2) investigation progress can be shared easily with other team members so everyone has the right context; (3) It can all be done without being on-call or having a laptop access.<p>Using PlayBooks, a user can configure the steps as data queries or actions within their observability stack. Here are the integrations we currently support: - Run bash commands on a remote server; - Fetch logs from AWS Cloudwatch and Azure Log Analytics; - Fetch metrics from any PromQL compatible db, AWS Cloudwatch, Datadog and New Relic; - Query PostgreSQL, ClickHouse or any other JDBC compatible databases; - Write a custom API call; - Query events from EKS &#x2F; GKE; - Add an iFrame<p>The platform focuses on not just running the tasks but also displaying information in a meaningful form with relevant graphs &#x2F; logs &#x2F; text outputs alongside the steps in a notebook format. Some of our users have shared feedback that on-call decision making overload has reduced with PlayBooks as relevant data from multiple tools is presented upfront in one page.<p>Here are some of the key features that we believe will further increase the value to users looking to improve developer experience for their on-call engineers: - Automated surfacing of PlayBooks against alerts &amp; enriching alerts with above-mentioned data; - AI-supported interpretation layer — connect with LLM or ML models to auto-analyze the data in the playbook; - Logs of historical executions to ease the effort of creating post-mortems &#x2F; timelines and&#x2F;or share information with peers.<p>If this looks like something that would have been useful for you on-call or will be in your current workspace, we welcome you to try our sandbox: <a href=\"https:&#x2F;&#x2F;sandbox.drdroid.io&#x2F;\">https:&#x2F;&#x2F;sandbox.drdroid.io&#x2F;</a>. We have added a default playbook. Just click on one of the steps in the playbook and then the “Run” button to see the playbook in action.<p>We are excited to hear what you like about the PlayBooks and what you think could improve the oncall developer experience for your team. Please drop your comments here – we will read them eagerly and respond!","time":1717504156,"title":"Show HN: PlayBooks – Jupyter Notebooks style on-call investigation documents","type":"story","url":"https://github.com/DrDroidLab/PlayBooks"}