Skip to content

Commit

Permalink
Add back jmx for exporting metrics into datadog
Browse files Browse the repository at this point in the history
  • Loading branch information
JP Pakalapati authored and gmiklos-ltg committed Aug 16, 2024
1 parent f810fe8 commit 40bb8b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridge-run.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

export JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -javaagent:jolokia.jar"
export JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -javaagent:jolokia.jar -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.port=9012 -Dcom.sun.management.jmxremote.rmi.port=9012 -Djava.rmi.server.hostname=$POD_IP"

if [[ -v PULSAR_SERVICE_ACCOUNT_JSON ]]; then
echo "$PULSAR_SERVICE_ACCOUNT_JSON" > /tmp/pulsar_creds.json
Expand Down

0 comments on commit 40bb8b2

Please sign in to comment.