Skip to content

Commit

Permalink
Add other feature flag collection
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanGaignault committed Jan 13, 2025
1 parent 61e86d1 commit 45f8abc
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
*/
collect_feature_flags_on?: ('view' | 'error' | 'vital')[];
collect_feature_flags_on?: ('view' | 'error' | '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
*/
collect_feature_flags_on?: ('view' | 'error' | 'vital')[];
collect_feature_flags_on?: ('view' | 'error' | '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": ["error", "view", "vital"]
"collect_feature_flags_on": ["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 @@ -418,7 +418,7 @@
"type": "array",
"items": {
"type": "string",
"enum": ["view", "error", "vital"]
"enum": ["view", "error", "vital", "resource", "action", "long_task"]
},
"description": "The list of events that include feature flags collection"
},
Expand Down

0 comments on commit 45f8abc

Please sign in to comment.