跳到主要内容

Telementry

Collection of how to disable telementry and analytics that default to enable.

env

# https://do-not-track.dev/
# https://en.wikipedia.org/wiki/Do_Not_Track
DO_NOT_TRACK=1

# ========================
# Dev/Frontend/Backend
# ========================
# Homebrew
HOMEBREW_NO_ANALYTICS=1
# NextJS
NEXT_TELEMETRY_DISABLED=1
# NuxtJS
NUXT_TELEMETRY_DISABLED=1

# ========================
# Service
# ========================
# MinIO
MINIO_UPDATE=off

# K0S
DISABLE_TELEMETRY=true
DISABLE_UPGRADE_CHECK=true

# ferretdb
FERRETDB_TELEMETRY=disable
DO_NOT_TRACK=true

# OpenObserve
ZO_TELEMETRY=false

# grafana
GF_ANALYTICS_REPORTING_ENABLED=false
GF_ANALYTICS_CHECK_FOR_UPDATES=false

HTTP DNT

DNT: 1
console.log(navigator.doNotTrack);

infisical

export TELEMETRY_ENABLED=false

ferretdb

  • --telemetry=false
  • db.disableFreeMonitoring()
FERRETDB_TELEMETRY=disable
DO_NOT_TRACK=true

Minio

MINIO_UPDATE=off

Homebrew

export HOMEBREW_NO_ANALYTICS=1

Scarf

SCARF_ANALYTICS=false
package.json
{
"scarfSettings": {
"defaultOptIn": false
}
}

NuxtJS

export NUXT_TELEMETRY_DISABLED=1
npx nuxt telemetry disable
nuxt.config.js
export default {
telemetry: false,
};

NextJS

# 1. by env
export NEXT_TELEMETRY_DISABLED=1
# 2. by cli
npx next telemetry disable

cubejs

new CubejsServer({
telemetry: false,
});

yarn

# for global
yarn config set --home enableTelemetry 0
# for project
yarn config set enableTelemetry 0

k0sctl

export DISABLE_TELEMETRY=true
export DISABLE_UPGRADE_CHECK=true

k0s

k0s.yaml
spec:
# api.segment.io
telemetry:
enabled: true

grafana

grafana.ini
[analytics]
# stats.grafana.org 24h
reporting_enabled=false
# grafana.org 10m
check_for_updates=false
env
export GF_ANALYTICS_REPORTING_ENABLED=false
export GF_ANALYTICS_CHECK_FOR_UPDATES=false

argocd

apiVersion: v1
kind: ConfigMap
metadata:
name: argocd-cm
namespace: argocd
labels:
app.kubernetes.io/name: argocd-cm
app.kubernetes.io/part-of: argocd
data:
# unset tracking id
ga.trackingid: ''

kubed

alose named config-syncer

Flags

  • remove --enable-analytics

Helm

values.yaml
enableAnalytics: false

strapi

  1. telemetry:disable
npm run strapi telemetry:disable
  1. delete package.json strip.uuid
  2. add package.json telemetryDisabled:true

openobserve

ZO_TELEMETRY=false

openpolicyagent

--disable-telemetry
POST /v1/version HTTP/1.1
Host: telemetry.openpolicyagent.org
Content-Type: application/json
User-Agent: "Open Policy Agent/v0.12.3 (darwin, amd64)"

{
"id": "08c1d850-6065-478a-b9b5-a8f9f464ad33",
"version": "v0.12.3",
"heap_usage_bytes": "596000"
}

bun

disableTelemetry=true

juicefs

juicefs --no-usage-report