Custom Postgres metrics in Datadog

Instrumenting applications is something we are used to at Bithaus. Having the code reporting itself delivers great information, and every person involved in the system from developers, operations and managers appreciate it.

But you cannot always change the code to get metrics, or not as fast as you would like to.

An excellent way to gather business metric of your application, is to look in your tables in the database. Continue on reading for step-by-step on how to create a custom metric based on a SQL query, so we can display it on a dashboard and create monitors to check it’s value.

Continue reading Custom Postgres metrics in Datadog