From 03d97788ab8f6524e64ad767bea57aeebf59cf13 Mon Sep 17 00:00:00 2001 From: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Date: Tue, 21 Jul 2020 08:33:23 -0700 Subject: [PATCH] Docs: Update postgres.md (#26467) * Update postgres.md * Update docs/sources/features/datasources/postgres.md Co-authored-by: Arve Knudsen Co-authored-by: Arve Knudsen --- docs/sources/features/datasources/postgres.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/sources/features/datasources/postgres.md b/docs/sources/features/datasources/postgres.md index 142a5d3f70c..7c4dcfa95b5 100755 --- a/docs/sources/features/datasources/postgres.md +++ b/docs/sources/features/datasources/postgres.md @@ -26,7 +26,7 @@ Name | Description ------------ | ------------- *Name* | The data source name. This is how you refer to the data source in panels and queries. *Default* | Default data source means that it will be pre-selected for new panels. -*Host* | The IP address/hostname and optional port of your PostgreSQL instance. +*Host* | The IP address/hostname and optional port of your PostgreSQL instance. _Do not_ include the database name. The connection string for connecting to Postgres will not be correct and will cause errors. *Database* | Name of your PostgreSQL database. *User* | Database user's login/username *Password* | Database user's password @@ -418,3 +418,7 @@ datasources: postgresVersion: 903 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10 timescaledb: false ``` + +If you encounter metric request errors or other issues: +- Make sure your data source YAML file parameters exactly match the example. This includes parameter names and use of quotation marks. +- Make sure the `database` name is not included in the `url`.