Postgres integration
Learn how to populate metrics in Segflow via Postgres.
Flow Analytics allows you to populate your metrics in Segflow with time-series data from Postgres. Here’s how to do it.
-
In Flow’s sidebar, click on integrations.
-
Click the “New Integration” button in the top card.
-
Choose “Postgres” 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.
-
Click “Save”.
Adding Postgres as a soruce to a metric and a board
-
Create a new metric and select Postgres as source.
-
The output of the query must contain columns named “date” and “value”. We recommend that you test out the query in Postgres before you input it into Flow.
-
Update the metric and run its query
-
You should see the data in the overview tab for the metric
If you get stuck, please reach out!