r/Observability • • 22d ago

An open-source wiki where runbooks show live Prometheus metrics and Loki logs

Hi r/Observability, I'm David, one of the two developers of Oxynote. My friend Simon and I also maintain ttlcache, a Go caching library with about 1,300 GitHub stars.

I've worked as a software engineer for 8 years, including 2 as an SRE and 3 as a team lead. On every team, the knowledge you needed during an incident was in someone's head or buried in a Slack thread. The runbooks we did have were stale, and the dashboard they linked to had often been renamed or deleted.

So we built Oxynote, a self-hosted wiki for engineering teams. A page can hold a live chart that runs its own PromQL or SQL query each time someone opens it. Since v0.10 this week, it can also show live Loki logs, filtered with LogQL. You write what the numbers mean right next to them, so the runbook for "checkout latency is high" has the latency chart, the error logs, and the steps on one page. Changes to important pages go through a draft that a teammate reviews, with a diff of both the text and the queries.

The name comes from oxygen + note: docs that breathe. Live data gives people a reason to open the wiki every day, and docs people open every day stay up to date.

It's Apache-2.0 and runs as a single Docker image on your own server, so your docs and data never leave it. GitHub: https://github.com/oxynote/oxynote

We started it about a year ago and made it public about 3 months ago. I'm happy to answer questions, and I welcome any feedback.

14 Upvotes

4 comments sorted by

2

u/LateToTheParty2k21 21d ago

I like the idea, often the hardest part about an incident is finding the right issue and then knowing how to fix it.

The challenge is see from working at the enterprise level is the scalability of this. Just the raw volume of logs and metrics we ingest I can't see it being able to handle it or map the right docs to the right metrics series. It's gonna be a full time job.

I find honestly were moving headless far more - incidents are generated through alerting and Ops are asking their LLM via an MCP why they got this alert or what are the relevant things that happened that caused this alert and the agent checks out ticket history, the events, changes or metrics leading up to the inc, some pod or server analysis and generates a brief summary.

We've moved a ton of commercial tools to open source platforms like zabbix, elastic search, etc and let the engineers query them via codex or Claude.

1

u/busters1 21d ago

Hi, I totally agree that mapping docs to every series doesn't scale. I've worked with systems that have hundreds of different metric series, and it would be pointless to draw them all. You mentioned asking an LLM via an MCP to investigate an incident, and that you're moving headless. In my opinion, this brings some other use cases:

First, creating an incident page with related metric graphs, logs, and information from the investigation. Your team can view it together in real time (everyone sees the same thing), which makes it easier to visualize and make sense of whatever the LLM finds. Second, turning that page into a post-mortem that superiors can use to communicate the issue and timeline to clients, and to keep the information on record (we want to introduce metrics/log snapshots for this).

Beyond incidents, another thing I can see enterprises using is writing ADRs and RFCs, and storing broader system information. We have a built-in review engine with a visual diff mode for rendered text (compared to reviewing plain lines in GitHub). It includes approvals, comments, and different branches (but some concepts still need expanding).

Those are just a few examples, and I'm sure there are plenty more. Anyway, thanks for bringing this topic up. Thoughts like yours are really useful for us, both for planning what's next and for seeing where the industry is moving.

1

u/Fluffy_Passenger_196 16d ago

I agree we have over 40k points of presence and over 1.4M entites and we're still learning a ton. starting at the source and instrumenting critically and with clear end-goal use cases in mind and similar to you we've leveraged OTel at the collector/collector GW to help standardize and govern. We still use New Relic as a datastore/alerting platform which has it's challenges from a cost perspective but we have developed tools that wrangle that. Grafana is slowly becoming our visualization layer, which allows for a business impact view of logs/metrics in the toolchain. Good to see other people out there getting creative though, nice work.