@cryptotaxi247 / netdata-1 / commits / bb471433a

update posthog domain (#14818)

* update posthog domain * update for curl too * update telemetry url in installer

Andrew Maguire committed Apr 3, 2023 at 19:01 UTC bb471433adfc4f936c524603634934dfe8056ef2
2 files changed +3 -3
daemon/anonymous-statistics.sh.in
+2 -2
@@ -165,7 +165,7 @@ EOF
165
166 # send the anonymous statistics to the Netdata PostHog
167 if [ -n "$(command -v curl 2> /dev/null)" ]; then
168 - 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/
168 + 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/
169 else
170 wget -q -O - --no-check-certificate \
171 --server-response \
@@ -173,5 +173,5 @@ else
173 --timeout=1 \
174 --header 'Content-Type: application/json' \
175 --body-data "${REQ_BODY}" \
176 - 'https://posthog.netdata.cloud/capture/' 2>&1 | awk '/^ HTTP/{print $2}'
176 + 'https://app.posthog.com/capture/' 2>&1 | awk '/^ HTTP/{print $2}'
177 fi
packaging/installer/kickstart.sh
+1 -1
@@ -34,7 +34,7 @@ REPOCONFIG_RPM_URL_PREFIX="https://repo.netdata.cloud/repos/repoconfig"
34 REPOCONFIG_RPM_VERSION="2-1"
35 START_TIME="$(date +%s)"
36 STATIC_INSTALL_ARCHES="x86_64 armv7l aarch64 ppc64le"
37 -TELEMETRY_URL="https://posthog.netdata.cloud/capture/"
37 +TELEMETRY_URL="https://app.posthog.com/capture/"
38
39 # ======================================================================
40 # Defaults for environment variables