How to disable next telemetry #9241
-
|
currently the keystone build logs that next.js telemetry is being collected. As only keystone is instrumenting the next build, I am unsure about how to turn it off. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Per the Next docs: env variables:
To verify:
I also tried with |
Beta Was this translation helpful? Give feedback.
-
|
Please see https://nextjs.org/telemetry
|
Beta Was this translation helpful? Give feedback.
Per the Next docs:
env variables:
NEXT_TELEMETRY_DISABLED=1seems to work immediately.To verify:
NEXT_TELEMETRY_DEBUG=1yarn dev[telemetry]object logged (after✨ Preparing Admin UI app)NEXT_TELEMETRY_DISABLED=1varyarn devagain, no more log.I also tried with
yarn next telemetry disable, it confirmed it disabled it, but when I ranyarn dev, I still received the telemetry log - so go with the.envoption.