Skip to content

Commit

Permalink
✨ [RUM-3902] Add configuration for action name privacy control (#199)
Browse files Browse the repository at this point in the history
* Add configuration for action name pivacy control

* Add build

* Fix typo
  • Loading branch information
cy-moi authored Apr 17, 2024
1 parent e2ee3bd commit 844e2f4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/cjs/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* Session replay default privacy level
*/
default_privacy_level?: string;
/**
* Privacy control for action name
*/
enable_privacy_for_action_name?: boolean;
/**
* Whether the request origins list to ignore when computing the page activity is used
*/
Expand Down
4 changes: 4 additions & 0 deletions lib/esm/generated/telemetry.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* Session replay default privacy level
*/
default_privacy_level?: string;
/**
* Privacy control for action name
*/
enable_privacy_for_action_name?: boolean;
/**
* Whether the request origins list to ignore when computing the page activity is used
*/
Expand Down
1 change: 1 addition & 0 deletions samples/telemetry-events/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"action_name_attribute": "foo",
"use_allowed_tracing_origins": false,
"default_privacy_level": "mask",
"enable_privacy_for_action_name": false,
"use_excluded_activity_urls": false,
"track_frustrations": true,
"track_views_manually": true,
Expand Down
5 changes: 5 additions & 0 deletions schemas/telemetry/configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@
"description": "Session replay default privacy level",
"readOnly": false
},
"enable_privacy_for_action_name": {
"type": "boolean",
"description": "Privacy control for action name",
"readOnly": false
},
"use_excluded_activity_urls": {
"type": "boolean",
"description": "Whether the request origins list to ignore when computing the page activity is used"
Expand Down

0 comments on commit 844e2f4

Please sign in to comment.