Skip to content

Commit

Permalink
change init parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanGaignault committed Jan 13, 2025
1 parent d8b3d63 commit 459932b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/cjs/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
/**
* The list of events that include feature flags collection. The tracking is enabled by default on views and errors.
*/
collect_feature_flags_on?: ('vital' | 'resource' | 'action' | 'long_task')[];
track_feature_flags_for_events?: ('vital' | 'resource' | 'action' | 'long_task')[];
/**
* Whether the anonymous users are tracked
*/
Expand Down
2 changes: 1 addition & 1 deletion lib/esm/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
/**
* The list of events that include feature flags collection. The tracking is enabled by default on views and errors.
*/
collect_feature_flags_on?: ('vital' | 'resource' | 'action' | 'long_task')[];
track_feature_flags_for_events?: ('vital' | 'resource' | 'action' | 'long_task')[];
/**
* Whether the anonymous users are tracked
*/
Expand Down
2 changes: 1 addition & 1 deletion samples/telemetry-events/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"option_foo": "bar"
}
],
"collect_feature_flags_on": ["long_task", "resource", "vital"]
"track_feature_flags_for_events": ["long_task", "resource", "vital"]
}
}
}
2 changes: 1 addition & 1 deletion schemas/telemetry/configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@
"type": "boolean",
"description": "Whether the SDK is initialised on the application's main or a secondary process"
},
"collect_feature_flags_on": {
"track_feature_flags_for_events": {
"type": "array",
"items": {
"type": "string",
Expand Down

0 comments on commit 459932b

Please sign in to comment.