Pome – Postgres Metrics Dashboard Written in Go
github.com
github.com
I'd really like to see more effort going in to API's that allow you to pull data from (in this case) PostgreSQL in a meaningful way that are open, extensible and composable. Maybe this is a "big platform" problem, but for me all these once off dashboards just don't scale when you've got so many different parts of your stack.
Java and C# do have AOT compilers to native code, capable of producing static executables, you just need to buy them.
[1] http://www.hanselman.com/blog/ExploringTheNewNETDotnetComman...
It hasn't yet been removed from GCC due to the set of unit tests it provides.
Deploying Go apps is not always easy from my experience(cross compiling for Android ARM). You need to cross compile Go source code for the target platform and it's not as simple as you hear from Go's tutorials on the internet. Most of them only demonstrate how to cross compile a small simple Hello World application. For actual app, you have dependencies from third parties and it's not always easy to cross compile with those deps especially when they rely on low level APIs(cgo).
But more seriously, I wrote a bit about the why in https://github.com/rach/pome#why-building-pome
To keep with the simplicity that I was aiming, I wanted a binary. I considered Rust, Haskell or Go (Swift was not opensource yet at the time) but went with Go because the libs that I will need (cron like scheduler, embedding assets, etc).
I had never written something in Go before but if I've known go then maybe I would have pick an other language as I started this project with a learning motivation.
Haskell has a cron like scheduler. What do you mean by embedding assets?
Also Pome only supports PG9.4, whereas PGObserver supports older versions (I used it on 9.3 and 9.1)
The goal of Pome was to be very easy to setup for people who put nothing in place, which is why wrote it in Go. But if you have some time there is much better/complete tools like collectd.
TL;DR: Pome aim to be very simple to deploy, opinionated and battery included tool to have a look at the health of your PG db. It's maybe not the case of anybody here but in my career, I have seen many PG db for which no health status were track (or because people think that RDS is magic). I assumed that if a very simple tool existed then it gives less reason to not track their health status.
At this stage, I don't think that Pome offers enough to be very useful but I hope that you will like the direction taken and where it's going.
Pome isn't aiming to be a tool for humongous Postgres instances which are already in the hands of a DBA who can have the time to setup more advanced monitoring tools. Pome won't be an alternative to a more configurable tool like collectd.
"Pome stands for Posgres Metrics. Pome is a PosgreSQL Metrics Dashboard to keep track of the health of your database."
It should be Postgres instead of Posgres and PostgreSQL instead of PosgreSQL.