Skip to content

Commit

Permalink
ZENKO-4734: add back the mongodb exporter configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
williamlardier committed Jan 29, 2024
1 parent fc3406c commit 068e081
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion solution-base/mongodb/charts/mongodb-sharded/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1553,7 +1553,7 @@ metrics:
## @param metrics.extraArgs String with extra arguments to the metrics exporter
## ref: https://github.com/dcu/mongodb_exporter/blob/master/mongodb_exporter.go
##
extraArgs: ""
extraArgs: "--collector.diagnosticdata --collector.replicasetstatus --collector.dbstats --collector.topmetrics --compatible-mode"
## @param metrics.resources Metrics exporter resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
##
Expand Down
13 changes: 13 additions & 0 deletions solution-base/mongodb/patches/mongodb-exporter-configuration.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/solution-base/mongodb/charts/mongodb-sharded/values.yaml b/solution-base/mongodb/charts/mongodb-sharded/values.yaml
index 1a1f7636..1bba988f 100644
--- a/solution-base/mongodb/charts/mongodb-sharded/values.yaml
+++ b/solution-base/mongodb/charts/mongodb-sharded/values.yaml
@@ -1553,7 +1553,7 @@ metrics:
## @param metrics.extraArgs String with extra arguments to the metrics exporter
## ref: https://github.com/dcu/mongodb_exporter/blob/master/mongodb_exporter.go
##
- extraArgs: ""
+ extraArgs: "--collector.diagnosticdata --collector.replicasetstatus --collector.dbstats --collector.topmetrics --compatible-mode"
## @param metrics.resources Metrics exporter resource requests and limits
## ref: https://kubernetes.io/docs/user-guide/compute-resources/
##

0 comments on commit 068e081

Please sign in to comment.