Forked from wwerner/grafana-postgres-datasource.yml
Created
February 13, 2024 18:51
-
-
Save apolzek/7bc9f66da8af891c3aa41fca857f4162 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