Skip to content

Commit 8d3e0c2

Browse files
committed
chore: update Grafana to 12.3.1 and PostgreSQL to 17
- Update Grafana from 12.0.2 to 12.3.1 (latest stable) - Update PostgreSQL from 15 to 17 in docker-compose and Helm - Update Grafana datasource postgresVersion from 1500 to 1700 Both versions are well-supported: pgwatch v3 supports PostgreSQL 14-18 with version-aware queries that automatically adapt.
1 parent a007650 commit 8d3e0c2

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

config/grafana/provisioning/datasources/datasources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ datasources:
1212
password: pgwatchadmin
1313
jsonData:
1414
sslmode: disable
15-
postgresVersion: 1500
15+
postgresVersion: 1700
1616
isDefault: false
1717

1818
- name: PGWatch-Prometheus

docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424

2525
# Target Database - The PostgreSQL database being monitored (demo only)
2626
target-db:
27-
image: postgres:15
27+
image: postgres:17
2828
container_name: target-db
2929
environment:
3030
POSTGRES_DB: target_database
@@ -53,7 +53,7 @@ services:
5353
# and postgres-exporter connectivity without compromising security since
5454
# the database is not exposed externally.
5555
sink-postgres:
56-
image: postgres:15
56+
image: postgres:17
5757
container_name: sink-postgres
5858
environment:
5959
POSTGRES_DB: postgres
@@ -135,7 +135,7 @@ services:
135135

136136
# Grafana with datasources - Visualization layer
137137
grafana:
138-
image: grafana/grafana:12.0.2
138+
image: grafana/grafana:12.3.1
139139
container_name: grafana-with-datasources
140140
environment:
141141
GF_SECURITY_ADMIN_USER: monitor

postgres_ai_helm/templates/grafana-datasources.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ data:
2929
jsonData:
3030
database: {{ .Values.sinkPostgres.database }}
3131
sslmode: disable
32-
postgresVersion: 1500
32+
postgresVersion: 1700
3333
secureJsonData:
3434
password: {{ .Values.secrets.postgres.password }}
3535
{{- if .Values.flask.enabled }}

postgres_ai_helm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ global:
3030
customTags: {}
3131

3232
sinkPostgres:
33-
image: postgres:15
33+
image: postgres:17
3434
database: measurements
3535
user: pgwatch
3636
resources: {}

0 commit comments

Comments
 (0)