Skip to content

Commit

Permalink
RUM-6850: [iOS] Add "Effective Sample Rate" to telemetry events
Browse files Browse the repository at this point in the history
  • Loading branch information
simaoseica-dd committed Dec 2, 2024
1 parent 55e92d2 commit fc2dc22
Show file tree
Hide file tree
Showing 3 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 @@ -119,6 +119,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* The percentage of sessions with RUM & Session Replay pricing tracked
*/
session_replay_sample_rate?: number;
/**
* The actual percentage of telemetry usage per event
*/
effective_sample_rate?: number;
/**
* The initial tracking consent value
*/
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 @@ -119,6 +119,10 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
* The percentage of sessions with RUM & Session Replay pricing tracked
*/
session_replay_sample_rate?: number;
/**
* The actual percentage of telemetry usage per event
*/
effective_sample_rate?: number;
/**
* The initial tracking consent value
*/
Expand Down
6 changes: 6 additions & 0 deletions schemas/telemetry/configuration-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
"maximum": 100,
"readOnly": false
},
"effective_sample_rate": {
"type": "integer",
"description": "The actual percentage of telemetry usage per event",
"minimum": 0,
"maximum": 100
},
"tracking_consent": {
"type": "string",
"description": "The initial tracking consent value",
Expand Down

0 comments on commit fc2dc22

Please sign in to comment.