Skip to content

Commit

Permalink
Improve warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-rr committed Dec 15, 2023
1 parent 2ec4bf0 commit 74a4876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function recorderFromEnv(prefix: string): Recorder {
case 'production':
// NODE_ENV set to `production` in bin/run_bin, which is specified in 'bin' package.json section
sink = new NewRelicSink('eu01xx73a8521047150dd9414f6aedd2FFFFNRAL');
console.log('IMPORTANT MESSAGE: We are tracking metrics anonymously from the commands you are executing just for statistical purposes.');
console.log('AsyncAPI anonymously tracks command executions to improve the specification and tools, ensuring no sensitive data reaches our servers.\nIt aids in comprehending how AsyncAPI tools are used and adopted, facilitating ongoing improvements to our specifications and tools.\n\nTo disable tracking, set the "ASYNCAPI_METRICS" env variable to "false" when executing the command. For instance:\n\nASYNCAPI_METRICS=false asyncapi validate spec_file.yaml');
break;
}
}
Expand Down

0 comments on commit 74a4876

Please sign in to comment.