Skip to content

Commit 39a4b67

Browse files
BenoitZugmeyereloytoro
authored andcommitted
🔧 add missing configuration values to telemetry schema (#298)
1 parent 0e836ff commit 39a4b67

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed

‎lib/cjs/generated/telemetry.d.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
433433
* The id of the remote configuration
434434
*/
435435
remote_configuration_id?: string;
436+
/**
437+
* Whether a proxy is used for remote configuration
438+
*/
439+
use_remote_configuration_proxy?: boolean;
440+
/**
441+
* The percentage of sessions with Profiling enabled
442+
*/
443+
profiling_sample_rate?: number;
444+
/**
445+
* Whether trace baggage is propagated to child spans
446+
*/
447+
propagate_trace_baggage?: boolean;
436448
[k: string]: unknown;
437449
};
438450
[k: string]: unknown;

‎lib/esm/generated/telemetry.d.ts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,18 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
433433
* The id of the remote configuration
434434
*/
435435
remote_configuration_id?: string;
436+
/**
437+
* Whether a proxy is used for remote configuration
438+
*/
439+
use_remote_configuration_proxy?: boolean;
440+
/**
441+
* The percentage of sessions with Profiling enabled
442+
*/
443+
profiling_sample_rate?: number;
444+
/**
445+
* Whether trace baggage is propagated to child spans
446+
*/
447+
propagate_trace_baggage?: boolean;
436448
[k: string]: unknown;
437449
};
438450
[k: string]: unknown;

‎schemas/telemetry/configuration-schema.json‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,23 @@
480480
"type": "string",
481481
"description": "The id of the remote configuration",
482482
"readOnly": false
483+
},
484+
"use_remote_configuration_proxy": {
485+
"type": "boolean",
486+
"description": "Whether a proxy is used for remote configuration",
487+
"readOnly": false
488+
},
489+
"profiling_sample_rate": {
490+
"type": "number",
491+
"description": "The percentage of sessions with Profiling enabled",
492+
"minimum": 0,
493+
"maximum": 100,
494+
"readOnly": false
495+
},
496+
"propagate_trace_baggage": {
497+
"type": "boolean",
498+
"description": "Whether trace baggage is propagated to child spans",
499+
"readOnly": false
483500
}
484501
}
485502
}

0 commit comments

Comments
 (0)