Skip to content

Commit

Permalink
Sending it via JMX
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Feb 1, 2024
1 parent 6125aee commit 0a7ad4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ if [ -n "$ENABLE_METRICS" ]; then
export CLOUDWATCH_NAMESPACE="${INSTANCE_NAME}-metastore"
export ECS_TASK_ID=$(wget -q -O - ${ECS_CONTAINER_METADATA_URI}/task|jq -r .TaskARN|awk -F/ '{ print $NF }')
#update_property.py hive.service.metrics.class com.expediagroup.apiary.extensions.metastore.metrics.CodahaleMetrics /etc/hive/conf/hive-site.xml

fi
#enable prometheus jmx agent when running on kubernetes
if [ -n "$KUBERNETES_SERVICE_HOST" ]; then
Expand Down

0 comments on commit 0a7ad4e

Please sign in to comment.