Created
April 1, 2021 10:02
-
-
Save wwerner/803a9569e3048fe8372d08f596c6da82 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 |
For those who needs it editable - editable: true
Has anyone tried to connect to Google Cloud SQL Postgresql instances using the Google Cloud SQL Auth Proxy?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks a lot