fix(postgresql): improve monitoring
This commit is contained in:
parent
86cfe7561d
commit
4f6874057f
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ name: "postgresql"
|
|||
description: "A Helm chart for running PostgreSQL (Postgres) database"
|
||||
icon: https://wiki.postgresql.org/images/a/a4/PostgreSQL_logo.3colors.svg
|
||||
type: "application"
|
||||
version: "0.3.1"
|
||||
version: "0.3.3"
|
||||
# renovate: image=docker.io/library/postgres
|
||||
appVersion: "17.4-alpine"
|
||||
maintainers:
|
||||
|
|
|
@ -7,7 +7,7 @@ description: "A Helm chart for running PostgreSQL (Postgres) database"
|
|||
|
||||
# postgresql
|
||||
|
||||
  
|
||||
  
|
||||
|
||||
A Helm chart for running PostgreSQL (Postgres) database
|
||||
|
||||
|
|
|
@ -1213,7 +1213,7 @@
|
|||
"value": "$__all"
|
||||
},
|
||||
"datasource": "$datasource",
|
||||
"definition": "label_values(up{namespace=~\"$namespace\"},service)",
|
||||
"definition": "label_values(pg_up{namespace=~\"$namespace\"},service)",
|
||||
"description": "",
|
||||
"includeAll": true,
|
||||
"label": "Service",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{- if and .Values.prometheus.rules.enabled }}
|
||||
{{- $fullname := include "postgresql.fullname" . }}
|
||||
{{- $filter := printf `namespace="%s",service=~"%s.*"` .Release.Namespace $fullname }}
|
||||
{{- $filter := printf `namespace="%s",job="%s"` .Release.Namespace $fullname }}
|
||||
---
|
||||
apiVersion: monitoring.coreos.com/v1
|
||||
kind: PrometheusRule
|
||||
|
|
Loading…
Add table
Reference in a new issue