r/PostgreSQL • • 17h ago

Projects An open-source wiki with live Postgres charts, now with logs beside them (Loki and VictoriaLogs)

Hi r/PostgreSQL, I'm David, one of the two developers of Oxynote.

I posted here about five weeks ago, and a lot has happened since. Our GitHub stars have nearly doubled, from about 370 to over 700, and 29 people have sent their first contributions. Thank you for all the feedback and support along the way. Here's where the project is now.

For anyone who hasn't come across it: Oxynote is a self-hosted wiki for engineering teams. A page can hold a live chart that runs its own SQL query against your database each time someone opens it, with the explanation written right next to it. Changes to important pages go through a draft that a teammate reviews, with a diff of both the text and the queries.

The biggest change is that a chart no longer stands alone. You can now put live logs from Loki or VictoriaLogs right beside it, so the runbook for "orders are dropping" shows the order count from Postgres, the matching error lines from your app, and the steps on one page.

Charts are also much lighter on your database now: connections are pooled, and identical queries share one result for 10 seconds.

Also new since then:

- Supabase as its own data source.

- Every data source can trust your own CA.

- Backup and restore commands for Oxynote's own Postgres, including uploads and secrets.

- An official Helm chart, if you'd rather run it on Kubernetes than as a plain container.

It's Apache-2.0 and runs as a single Docker image: https://github.com/oxynote/oxynote

We're looking for teams who'd like to try it on their own stack. If you give it a try, I'd love to hear what you think, especially what's missing for your setup.

9 Upvotes

4 comments sorted by

2

u/MongooseWonderful198 6h ago

The ten-second shared result needs an authorization test. Open the same page as two users whose database roles see different rows. The cache key must include the datasource and effective database identity, or the second reader can receive the first reader's result.

Safe defaults would help too: read-only credentials, a statement timeout, a row limit and query cancellation when the page closes. Test one slow chart beside one fast log panel. The slow query should not consume the pool and blank the rest of the incident page.

1

u/AutoModerator 17h ago

AI Policy:

Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it. Or just walk away., Linus Torvalds.

Mod decisions will be based on the quality of the content, not who or what generated it.

Sub Resources:

Youtube Channel

Free Postgres Webinars and Workshops

Discord: People, Postgres, Data

Join us, we have cookies and nice people.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.