Mendix Cloud JVM Parameters

0
Hello Mx Community,   According to Mendix Documentation (https://docs.mendix.com/refguide/tracing-in-runtime/), we can now use OpenTelemetry for tracing.   When running on localhost through Mendix Studio Pro, it's easy to configure that extra JVM parameter mentioned in the docs via server settings.   What about running an app on a licensed node in Mendix Cloud? How can we configure this setting for utilizing OpenTelemetry for tracing on Mendix Cloud?   Any ideas would be helpful! Thank you in advance!   Kind Regards, George
asked
1 answers
0

You can try this:

 

You can configure the Java properties by providing the JAVA_OPTS enviroment variable to the application.

Configure the JAVA_OPTS environment variable by using the cf set-env command.

cf set-env <YOUR_APP> JAVA_OPTS '["-Djava.rmi.server.hostname=127.0.0.1", "-Dcom.sun.management.jmxremote.authenticate=false", "-Dcom.sun.management.jmxremote.ssl=false", "-Dcom.sun.management.jmxremote.port=5000", "-Dcom.sun.management.jmxremote.rmi.port=5000"]'
answered