PostgreSQL
Learn how to populate metrics in DoubleLoop via PostgreSQL.
DoubleLoop allows you to populate your metrics in DoubleLoop with time-series data from PostgreSQL. Here's how to do it.
Get your PostgreSQL Host, Port, Database Name, Username, and Password ready, or ask your IT team for assistance in getting this information for your PostgreSQL instance.
Important: You will need to make sure the PostgreSQL instance is reachable over the internet.
In DoubleLoop, double-click on a metric on the map.
Click the "Source" tab in the right drawer.
Choose "PostgreSQL" as the source.
Fill in your Host with either the domain name or IP address of your PostgreSQL instance.
Fill in the Port with your port, the default for PostgreSQL is 5432.
Fill in your PostgreSQL database name, username, and password.
Input the query into DoubleLoop. The output of the query must contain columns named "date" and "value". We recommend that you test out the query in PostgreSQL before you input it into DoubleLoop.
Click "Save".
If you get stuck, please reach out!
Last updated