Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: create jmx config file #208

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions tdp_vars_defaults/zookeeper-kafka/zookeeper-kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,9 @@ zk_start_on_boot: no
zk_restart: "no"

jmx_common_opts: "-Dcom.sun.management.jmxremote=true"
zookeeper_jmx_exporter_conf_dir: /etc/zookeeper
zookeeper_jmx_exporter_conf_file: zk-kafka-jmx-exporter.yml
zookeeper_jmx_exporter_conf_file: jmx-exporter.yml
jmx_exporter_zk_port: "{{ exporter_zookeeper_kafka_server_http_port }}"
jmx_exporter_zk_opts: "{% if 'exporter_jmx' in groups and groups['exporter_jmx'] %}-javaagent:{{ jmx_exporter_install_file }}={{ jmx_exporter_zk_port }}:{{ zookeeper_jmx_exporter_conf_dir }}/{{ zookeeper_jmx_exporter_conf_file }}{% endif %}"
jmx_exporter_zk_opts: "{% if 'exporter_jmx' in groups and groups['exporter_jmx'] %}-javaagent:{{ jmx_exporter_install_file }}={{ jmx_exporter_zk_port }}:{{ zookeeper_root_conf_dir }}/{{ zookeeper_jmx_exporter_conf_file }}{% endif %}"

# jmx exporter configuration directory
jmx_exporter_conf_dir: /etc/jmx-exporter
Expand Down
Loading