Skip to content

Commit 1f7d135

Browse files
committed
add telemetry option to the plugin config
1 parent b9f202c commit 1f7d135

File tree

1 file changed

+11
-0
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+11
-0
lines changed

packages/bundler-plugin-core/src/types.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,17 @@ export interface Options {
105105
/** Override values for passing custom information to API. */
106106
uploadOverrides?: UploadOverrides;
107107

108+
/* If set to true, internal plugin errors and performance data will be sent to Sentry.
109+
*
110+
* At Codecov we like to use Sentry ourselves to deliver faster and more stable products. We're
111+
* very careful of what we're sending. We won't collect anything other than error and high-level
112+
* performance data. We will never collect your code or any details of the projects in which
113+
* you're using this plugin.
114+
*
115+
* Defaults to `true`.
116+
*/
117+
telemetry?: boolean;
118+
108119
sentry?: {
109120
/**
110121
* Only send bundle stats to sentry (used within sentry bundler plugin).

0 commit comments

Comments
 (0)