Skip to content

Commit

Permalink
updated docs and metadata to account for changes in the exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
algchoo committed Jul 7, 2023
1 parent 6bb1be8 commit 5908985
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions integrations/postgresql/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exporter_name: the PostgreSQL exporter
exporter_pkg_name: postgres_exporter
exporter_repo_url: https://github.com/prometheus-community/postgres_exporter
dashboard_available: true
minimum_exporter_version: v0.11.1
minimum_exporter_version: v0.13.1
multiple_dashboards: false
dashboard_display_name: {{app_name_short}} Prometheus Overview
config_mods: |
Expand All @@ -26,7 +26,7 @@ config_mods: |
+ app.kubernetes.io/name: postgresql
spec:
containers:
- image: postgres:14.0
- image: postgres:15.3
name: postgresql
env:
- name: POSTGRES_USER
Expand All @@ -36,7 +36,9 @@ config_mods: |
- name: POSTGRES_DB
value: dev
+ - name: exporter
+ image: quay.io/prometheuscommunity/postgres-exporter:v0.11.1
+ image: quay.io/prometheuscommunity/postgres-exporter:v0.13.1
+ args:
+ - --collector.stat_statements
+ env:
+ - name: DATA_SOURCE_NAME
+ value: postgresql://root:password@localhost:5432/dev?sslmode=disable
Expand Down
2 changes: 1 addition & 1 deletion integrations/postgresql/prometheus_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ platforms:
exporter_metadata:
name: GKE Prometheus Exporter
doc_url: https://github.com/prometheus-community/postgres_exporter
minimum_supported_version: v0.11.1
minimum_supported_version: v0.13.1
default_metrics:
- name: prometheus.googleapis.com/pg_stat_database_numbackends/gauge
prometheus_name: pg_stat_database_numbackends
Expand Down

0 comments on commit 5908985

Please sign in to comment.