Forked from wwerner/grafana-postgres-datasource.yml
Created
October 28, 2023 18:39
-
-
Save krtvelaz/dd1fd3e7a8f6602a0b340f729b1e6a03 to your computer and use it in GitHub Desktop.
Example grafana datasource provisioning for postgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: 1 | |
datasources: | |
- name: Postgres | |
type: postgres | |
url: localhost:5432 | |
database: grafana | |
user: grafana | |
secureJsonData: | |
password: "Password!" | |
jsonData: | |
sslmode: "disable" # disable/require/verify-ca/verify-full | |
maxOpenConns: 0 # Grafana v5.4+ | |
maxIdleConns: 2 # Grafana v5.4+ | |
connMaxLifetime: 14400 # Grafana v5.4+ | |
postgresVersion: 903 # 903=9.3, 904=9.4, 905=9.5, 906=9.6, 1000=10 | |
timescaledb: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment