mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
Add --include-databases arguments to Postgres exporter values (#1099)
Signed-off-by: Paul de Nonancourt <pdenonancourt@octo.com> Co-authored-by: Paul de Nonancourt <pdenonancourt@octo.com>
This commit is contained in:
co-authored by
Paul de Nonancourt
parent
69e7ce5f75
commit
41808ef222
@@ -2,7 +2,7 @@ apiVersion: v2
|
||||
appVersion: "0.9.0"
|
||||
description: A Helm chart for prometheus postgres-exporter
|
||||
name: prometheus-postgres-exporter
|
||||
version: 2.3.4
|
||||
version: 2.3.5
|
||||
home: https://github.com/prometheus-community/postgres_exporter
|
||||
sources:
|
||||
- https://github.com/prometheus-community/postgres_exporter
|
||||
|
||||
@@ -57,6 +57,10 @@ spec:
|
||||
- "--exclude-databases"
|
||||
- {{ .Values.config.excludeDatabases | join "," }}
|
||||
{{- end }}
|
||||
{{- if .Values.config.includeDatabases }}
|
||||
- "--include-databases"
|
||||
- {{ .Values.config.includeDatabases | join "," }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.config.constantLabels }}
|
||||
{{ $firstLabel := true -}}
|
||||
|
||||
@@ -115,6 +115,7 @@ config:
|
||||
disableSettingsMetrics: false
|
||||
autoDiscoverDatabases: false
|
||||
excludeDatabases: []
|
||||
includeDatabases: []
|
||||
constantLabels: {}
|
||||
# possible values debug, info, warn, error, fatal
|
||||
logLevel: ""
|
||||
|
||||
Reference in New Issue
Block a user