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.

  1. In Flow’s sidebar, click on integrations.

  2. Click the “New Integration” button in the top card.

  3. Choose “Postgres” as the source.

  4. Fill in your Host with either the domain name or IP address of your PostgreSQL instance.

  5. Fill in the Port with your port, the default for PostgreSQL is 5432.

  6. Fill in your PostgreSQL database name, username, and password.

  7. Click “Save”.

postgres

Adding Postgres as a soruce to a metric and a board

  1. Create a new metric and select Postgres as source.

  2. 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.

  3. Update the metric and run its query

  4. You should see the data in the overview tab for the metric

postgres

If you get stuck, please reach out!