diff options
author | Andrew Maguire <andrewm4894@gmail.com> | 2023-04-03 19:01:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 19:01:39 +0100 |
commit | bb471433adfc4f936c524603634934dfe8056ef2 (patch) | |
tree | 498c9afd1e805c4000856af9ef98acf7063b9b96 /daemon | |
parent | a363ea3d18b30f122537dff758d5b06b83911819 (diff) |
update posthog domain (#14818)
* update posthog domain
* update for curl too
* update telemetry url in installer
Diffstat (limited to 'daemon')
-rwxr-xr-x | daemon/anonymous-statistics.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/anonymous-statistics.sh.in b/daemon/anonymous-statistics.sh.in index 9f8df188d9..6e5ace2c80 100755 --- a/daemon/anonymous-statistics.sh.in +++ b/daemon/anonymous-statistics.sh.in @@ -165,7 +165,7 @@ EOF # send the anonymous statistics to the Netdata PostHog if [ -n "$(command -v curl 2> /dev/null)" ]; then - curl --silent -o /dev/null --write-out '%{http_code}' -X POST --max-time 2 --header "Content-Type: application/json" -d "${REQ_BODY}" https://posthog.netdata.cloud/capture/ + curl --silent -o /dev/null --write-out '%{http_code}' -X POST --max-time 2 --header "Content-Type: application/json" -d "${REQ_BODY}" https://app.posthog.com/capture/ else wget -q -O - --no-check-certificate \ --server-response \ @@ -173,5 +173,5 @@ else --timeout=1 \ --header 'Content-Type: application/json' \ --body-data "${REQ_BODY}" \ - 'https://posthog.netdata.cloud/capture/' 2>&1 | awk '/^ HTTP/{print $2}' + 'https://app.posthog.com/capture/' 2>&1 | awk '/^ HTTP/{print $2}' fi |