From 0a7ad4e49b093fb93bd9faeb4697daddb77efa95 Mon Sep 17 00:00:00 2001 From: Dhrubajyoti Sadhu Date: Thu, 1 Feb 2024 02:43:24 +0000 Subject: [PATCH] Sending it via JMX --- files/startup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/startup.sh b/files/startup.sh index e8259b5..e0bfd02 100755 --- a/files/startup.sh +++ b/files/startup.sh @@ -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