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 8bcc0bd
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 @@ -486,6 +486,10 @@ export interface CommonTelemetryProperties {
id: string;
[k: string]: unknown;
};
/**
* The actual percentage of telemetry usage per event
*/
effective_sample_rate?: number;
/**
* Enabled experimental features
*/
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 @@ -486,6 +486,10 @@ export interface CommonTelemetryProperties {
id: string;
[k: string]: unknown;
};
/**
* The actual percentage of telemetry usage per event
*/
effective_sample_rate?: number;
/**
* Enabled experimental features
*/
Expand Down
6 changes: 6 additions & 0 deletions schemas/telemetry/_common-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@
}
}
},
"effective_sample_rate": {
"type": "integer",
"description": "The actual percentage of telemetry usage per event",
"minimum": 0,
"maximum": 100
},
"experimental_features": {
"type": "array",
"description": "Enabled experimental features",
Expand Down

0 comments on commit 8bcc0bd

Please sign in to comment.