mirror of
https://github.com/nprasad2077/NBA_Go.git
synced 2026-09-22 22:15:13 +00:00
feat(grafana): add production API and HA PostgreSQL dashboard with datasource provisioning
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2,7 +2,40 @@ apiVersion: 1
|
|||||||
|
|
||||||
datasources:
|
datasources:
|
||||||
- name: Prometheus
|
- name: Prometheus
|
||||||
|
uid: PBFA97CFB590B2093
|
||||||
type: prometheus
|
type: prometheus
|
||||||
access: proxy
|
access: proxy
|
||||||
url: http://prometheus:9090
|
url: http://prometheus:9090
|
||||||
isDefault: true
|
isDefault: true
|
||||||
|
jsonData:
|
||||||
|
httpMethod: POST
|
||||||
|
|
||||||
|
- name: PostgreSQL-Read-HA
|
||||||
|
uid: afxrpob6lpnggc
|
||||||
|
type: grafana-postgresql-datasource
|
||||||
|
access: proxy
|
||||||
|
url: 178.105.149.129:5438
|
||||||
|
user: postgres
|
||||||
|
database: appdb
|
||||||
|
jsonData:
|
||||||
|
database: appdb
|
||||||
|
sslmode: disable
|
||||||
|
maxOpenConns: 50
|
||||||
|
maxIdleConns: 20
|
||||||
|
secureJsonData:
|
||||||
|
password: postgrespassword
|
||||||
|
|
||||||
|
- name: PostgreSQL-Write-HA
|
||||||
|
uid: efxrponpevy0wc
|
||||||
|
type: grafana-postgresql-datasource
|
||||||
|
access: proxy
|
||||||
|
url: 178.105.149.129:5437
|
||||||
|
user: postgres
|
||||||
|
database: appdb
|
||||||
|
jsonData:
|
||||||
|
database: appdb
|
||||||
|
sslmode: disable
|
||||||
|
maxOpenConns: 50
|
||||||
|
maxIdleConns: 20
|
||||||
|
secureJsonData:
|
||||||
|
password: postgrespassword
|
||||||
Reference in New Issue
Block a user