-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #0000 fix: added the exporter name in defaults (#1744)
* Issue #0000 fix: updated the secor backup alert rules vars * Issue #0000 fix: renamed the chart name * Issue #0000 fix: added the exporter name in defaults
- Loading branch information
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
kubernetes/ansible/roles/sunbird-monitoring/templates/processing-kafka-exporter.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
kafkaExporter: | ||
zookeeper: | ||
servers: ["{{ groups['processing-cluster-zookeepers'] | difference(["localhost"]) | map('regex_replace', '^(.*)$', '\\1:2181') | list | join("\", \"") }}"] | ||
kafka: | ||
servers: ["{{ groups['processing-cluster-kafka'] | difference(["localhost"]) | map('regex_replace', '^(.*)$', '\\1:9092') | list | join("\", \"") }}"] | ||
additionalFlags: | ||
- --use.consumelag.zookeeper | ||
|
||
prometheus: | ||
serviceMonitor: | ||
enabled: true | ||
namespace: monitoring | ||
interval: "120s" | ||
scrapeTimeout: "90s" | ||
additionalLabels: | ||
app: prometheus-operator | ||
release: prometheus-operator |