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

support jmx port for seata-server.sh #5269

Closed
funky-eyes opened this issue Jan 30, 2023 · 0 comments · Fixed by #5938
Closed

support jmx port for seata-server.sh #5269

funky-eyes opened this issue Jan 30, 2023 · 0 comments · Fixed by #5938
Labels
task: help-wanted Extra attention is needed

Comments

@funky-eyes
Copy link
Contributor

funky-eyes commented Jan 30, 2023

Why you need it?

Is your feature request related to a problem? Please describe in details
方便jvm相关的exporter或jconsole采集线程数,gc次数等metric数据,应该开放jmx port的设置

JMX_PORT=$JMX_PORT
JMX_OPTS=$JMX_OPTS
if [ -z "$JMX_OPTS" ]; then
  JMX_OPTS=" -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false  -Dcom.sun.management.jmxremote.ssl=false "
fi

if [ -z "$JMX_PORT" ]; then
  JMX_OPTS=" $JMX_OPTS -Dcom.sun.management.jmxremote.port=${JMX_PORT:="10055"} -Dcom.sun.management.jmxremote.rmi.port=${JMX_PORT:="10055"} "
fi

How it could be?

A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.

Other related information

Add any other context or screenshots about the feature request here.

@funky-eyes funky-eyes added the task: help-wanted Extra attention is needed label Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task: help-wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant