Skip to content

Commit

Permalink
updated yaml snippet based on new exporter release
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo committed Sep 21, 2023
1 parent cc4002b commit a6a02e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/postgresql/exporter.yaml.snippet
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
+ app.kubernetes.io/name: postgresql
spec:
containers:
- image: postgres:14.0
- image: postgres:15.3
name: postgresql
env:
- name: POSTGRES_USER
Expand All @@ -37,7 +37,9 @@ spec:
- name: POSTGRES_DB
value: dev
+ - name: exporter
+ image: quay.io/prometheuscommunity/postgres-exporter:v0.11.1
+ image: quay.io/prometheuscommunity/postgres-exporter:v0.14.0
+ args:
+ - --collector.stat_statements
+ env:
+ - name: DATA_SOURCE_NAME
+ value: postgresql://root:password@localhost:5432/dev?sslmode=disable
Expand Down

0 comments on commit a6a02e3

Please sign in to comment.