Skip to content

Commit

Permalink
not updating the property for cloudwatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrubajyoti Sadhu committed Feb 5, 2024
1 parent 573e2dd commit 2e936aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ if [ -n "$ENABLE_METRICS" ]; then
#this is populating something in 8080
update_property.py hive.service.metrics.class com.expediagroup.apiary.extensions.metastore.metrics.CodahaleMetrics /etc/hive/conf/hive-site.xml
echo "This is the curl command"
curl -v localhost:8080/metrics
curl -v localhost:8080/metrics 2>&1 > curl_output.txt
cat curl_output.txt
echo "cat curl_output.txt"

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

0 comments on commit 2e936aa

Please sign in to comment.