question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow for automatic "Yes" opt-in to telemetry

See original GitHub issue

Currently, during a build, Nuxt asks “Are you interested in participation? (Y/n)” and requires a user response.

This is something that needs to be able to be automated for use inside Docker deployments, continuous integrations, cloud instance deployments, or otherwise unattended server builds/starts of Nuxt.

I recommend an accept boolean to facilitate telemetry opt-in AND automatically proceed with a build.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
pi0commented, Jun 21, 2020

Hi. Better CI detection is implemented with v1.1.0 so prompt will be auto skipped on CI environments. Also using nuxt telemetry enable sets consent value too now. You can recreate yarn.lock or use yarn upgrade nuxt to get the fixes.

@nathanchase If you prefer nuxt.config instead of .nuxtrc, it is still possible just value of consent should be 1 (will be increased if telemetry terms changes). Technically .nuxtrc (both global and per-project) provide defaults for nuxt.config (see https://github.com/nuxt/nuxt.js/pull/7430)

@mkriesten (unrelated) If you see telemetry log without manually enabling DEBUG, it is likely you are using some outdated dependencies (including consola). I would recommend recreating lock-file.

2reactions
nathanchasecommented, Jun 20, 2020

@pi0 I see there’s an options.consent boolean under TelemetryOptions, but I think it’s not exposed at the nuxt.config.js level? So just a refactor perhaps to allow something like:

export default {
  telemetry: {
     enabled: true,
     consent: true
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable warehousing telemetry with Application Insights
Warehouse events – Specify whether you want to send warehousing telemetry data to Application Insights. You should set this option to Yes.
Read more >
Stop the auto opt-in on new telemetry collections : r/firefox
Yes, that is useful to recommend settings and I understand the need for it. What I don't understand is that I did not...
Read more >
Submitting Symantec Endpoint Protection telemetry to improve ...
Yes, you can opt out. You can modify the server data collection or client submissions options in the client and the server user...
Read more >
Cisco DNA Center User Guide, Release 2.1.2 - Configure ...
Application telemetry allows you to configure global network settings on devices for monitoring and assessing their health.
Read more >
Introduction to OpenTelemetry with New Relic
OpenTelemetry is a toolkit you can use to gather telemetry data from your ... options and an extensive set of auto-instrumentation capabilities.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found