Skip to content

Commit

Permalink
Update heartbeat.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-epsilla authored Oct 19, 2023
1 parent f6d021c commit 18ecdd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions engine/scripts/heartbeat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ if [ ! -f "${STARTUP_FILE}" ]; then
\"api_key\": \"${POSTHOG_API_KEY}\",
\"distinct_id\": \"${DISTINCT_ID}\",
\"properties\": {
\"version\": \"latest\",
\"version\": \"${RELEASE_VERSION}\",
\"internal_ip\": \"${INTERNAL_IP}\",
\"external_ip\": \"${EXTERNAL_IP}\"
}
Expand All @@ -79,6 +79,7 @@ curl -X POST \
\"level\": \"info\",
\"server_name\": \"${HOSTNAME}\",
\"tags\": {
\"version\": \"${RELEASE_VERSION}\",
\"internal_ip\": \"${INTERNAL_IP}\",
\"external_ip\": \"${EXTERNAL_IP}\",
\"heart_beat\": \"${DATE_TAG}\",
Expand All @@ -99,7 +100,7 @@ curl -X POST -L --header "Content-Type: application/json" \
\"api_key\": \"${POSTHOG_API_KEY}\",
\"distinct_id\": \"${DISTINCT_ID}\",
\"properties\": {
\"version\": \"latest\",
\"version\": \"${RELEASE_VERSION}\",
\"internal_ip\": \"${INTERNAL_IP}\",
\"external_ip\": \"${EXTERNAL_IP}\"
}
Expand Down

0 comments on commit 18ecdd9

Please sign in to comment.