Skip to content

Commit

Permalink
updated fastapi(yaml)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeeyoungkim committed Sep 2, 2023
1 parent 83df308 commit 69310e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/fastapi/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
export WHATAP_HOME=${PWD}
chmod -R 777 $WHATAP_HOME
whatap-setting-config \
--host 15.165.146.117 \
--host $WHATAP_LICENSE \
--license $WHATAP_LICENSE \
--app_name $WHATAP_APP_NAME \
--app_process_name uvicorn

echo "trace_logging_enabled=${WHATAP_LOGGING_ENABLED}" >> whatap.conf
echo "log_unhandled_exception=${WHATAP_LOGGING_ENABLED}" >> whatap.conf
echo "profile_basetime=0" >> whatap.conf
whatap-start-agent uvicorn server:app --host 0.0.0.0 --port 8000

0 comments on commit 69310e8

Please sign in to comment.