Skip to content

Commit e85ba0c

Browse files
committed
chore(mongodb): enable metrics
1 parent 4735a04 commit e85ba0c

5 files changed

Lines changed: 11 additions & 8 deletions

File tree

addons/index.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,7 @@ entries:
5656
description: "Percona Monitoring and Management: an open source database monitoring, observability and management tool ."
5757
mongodb:
5858
- version: 7.0
59-
description: "MongoDB is a document database designed for ease of application development and scaling."
59+
description: "MongoDB is a document database designed for ease of application development and scaling."
60+
clickhouse:
61+
- version: 24
62+
description: "ClickHouse is the fastest and most resource efficient open-source database for real-time apps and analytics."

addons/mongodb/7.0/chart/mongodb/templates/hidden/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ spec:
393393
{{- else }}
394394
args:
395395
- |
396-
/bin/mongodb_exporter --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
396+
mongodb_exporter --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
397397
{{- end }}
398398
env:
399399
{{- if .Values.auth.enabled }}

addons/mongodb/7.0/chart/mongodb/templates/replicaset/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ spec:
403403
{{- else }}
404404
args:
405405
- |
406-
/bin/mongodb_exporter --collect-all --compatible-mode --web.listen-address ":{{ .Values.metrics.containerPort }}" --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
406+
mongodb_exporter --collect-all --compatible-mode --web.listen-address ":{{ .Values.metrics.containerPort }}" --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
407407
{{- end }}
408408
env:
409409
{{- if .Values.auth.enabled }}

addons/mongodb/7.0/chart/mongodb/templates/standalone/dep-sts.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ spec:
341341
{{- else }}
342342
args:
343343
- |
344-
/bin/mongodb_exporter --collect-all --compatible-mode --web.listen-address ":{{ .Values.metrics.containerPort }}" --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
344+
mongodb_exporter --collect-all --compatible-mode --web.listen-address ":{{ .Values.metrics.containerPort }}" --mongodb.uri "{{ include "mongodb.mongodb_exporter.uri" . }}" {{ .Values.metrics.extraFlags }}
345345
{{- end }}
346346
env:
347347
{{- if .Values.auth.enabled }}

addons/mongodb/7.0/chart/mongodb/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ hidden:
18221822
metrics:
18231823
## @param metrics.enabled Enable using a sidecar Prometheus exporter
18241824
##
1825-
enabled: false
1825+
enabled: true
18261826
## Drycc MongoDB(®) Promtheus Exporter image
18271827
## ref: https://hub.docker.com/r/drycc/mongodb-exporter/tags/
18281828
## @param metrics.image.registry MongoDB(®) Prometheus exporter image registry
@@ -1833,9 +1833,9 @@ metrics:
18331833
## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
18341834
##
18351835
image:
1836-
registry: docker.io
1837-
repository: drycc/mongodb-exporter
1838-
tag: 0.34.0-debian-11-r19
1836+
registry: registry.drycc.cc
1837+
repository: drycc-addons/mongodb_exporterr
1838+
tag: 0
18391839
digest: ""
18401840
pullPolicy: IfNotPresent
18411841
## Optionally specify an array of imagePullSecrets.

0 commit comments

Comments
 (0)