PostgreSQL Connection

Host
Database
User
Password
Password reset
This option determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server.

PostgreSQL details

Version This option controls what functions are available in the PostgreSQL query builder.
Min time interval A lower limit for the auto group by time interval. Recommended to be set to write frequency, for example 1m if your data is written every minute.

TimescaleDB is a time-series database built as a PostgreSQL extension. If enabled, Grafana will use time_bucket in the $__timeGroup macro and display TimescaleDB specific aggregate functions in the query builder.

User Permission

The database user should only be granted SELECT permissions on the specified database & tables you want to query. Grafana does not validate that queries are safe so queries can contain any SQL statement. For example, statements like DELETE FROM user; and DROP TABLE user; would be executed. To protect against this we Highly recommmend you create a specific PostgreSQL user with restricted permissions.