michaelfeil / infinity

Infinity is a high-throughput, low-latency serving engine for text-embeddings, reranking models, clip, clap and colpali
https://michaelfeil.github.io/infinity/
MIT License
1.52k stars 118 forks source link

How to disable posthog for send anonymous data to external domain #428

Closed AlexBlack2202 closed 3 weeks ago

AlexBlack2202 commented 1 month ago

System Info

i use the lasted version and i see that there are many request to eu.i.posthog.com, it is not legal for user .

Can you disable it by default?

Information

Tasks

Reproduction

start new emb model

Expected behavior

disable send data to posthog.com

michaelfeil commented 1 month ago

@AlexBlack2202 https://michaelfeil.eu/infinity/main/telemetry

You can disable tracking like the following:

# set 
export DO_NOT_TRACK="1"
# infinity specific setting
export INFINITY_ANONYMOUS_USAGE_STATS="0"

Is similar to e.g. how other projects collect stats:

Infinity collects currently info on which: