Skip to content

Commit 7dbaaa9

Browse files
authored
Add support for allowed GraphQL URLs and payload tracking in telemetry configuration (#299)
* Add support for allowed GraphQL URLs in telemetry configuration * Add track graph ql payload telemetry
1 parent 6184812 commit 7dbaaa9

File tree

4 files changed

+26
-0
lines changed

4 files changed

+26
-0
lines changed

lib/cjs/generated/telemetry.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
199199
* Whether the allowed tracing urls list is used
200200
*/
201201
use_allowed_tracing_urls?: boolean;
202+
/**
203+
* Whether the allowed GraphQL urls list is used
204+
*/
205+
use_allowed_graph_ql_urls?: boolean;
206+
/**
207+
* Whether GraphQL payload tracking is used for at least one GraphQL endpoint
208+
*/
209+
use_track_graph_ql_payload?: boolean;
202210
/**
203211
* A list of selected tracing propagators
204212
*/

lib/esm/generated/telemetry.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,14 @@ export declare type TelemetryConfigurationEvent = CommonTelemetryProperties & {
199199
* Whether the allowed tracing urls list is used
200200
*/
201201
use_allowed_tracing_urls?: boolean;
202+
/**
203+
* Whether the allowed GraphQL urls list is used
204+
*/
205+
use_allowed_graph_ql_urls?: boolean;
206+
/**
207+
* Whether GraphQL payload tracking is used for at least one GraphQL endpoint
208+
*/
209+
use_track_graph_ql_payload?: boolean;
202210
/**
203211
* A list of selected tracing propagators
204212
*/

samples/telemetry-events/configuration.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@
4545
"session_persistence": "cookie",
4646
"action_name_attribute": "foo",
4747
"use_allowed_tracing_origins": false,
48+
"use_allowed_graph_ql_urls": false,
49+
"use_track_graph_ql_payload": false,
4850
"default_privacy_level": "mask",
4951
"text_and_input_privacy_level": "mask_all",
5052
"image_privacy_level": "mask_all",

schemas/telemetry/configuration-schema.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@
168168
"type": "boolean",
169169
"description": "Whether the allowed tracing urls list is used"
170170
},
171+
"use_allowed_graph_ql_urls": {
172+
"type": "boolean",
173+
"description": "Whether the allowed GraphQL urls list is used"
174+
},
175+
"use_track_graph_ql_payload": {
176+
"type": "boolean",
177+
"description": "Whether GraphQL payload tracking is used for at least one GraphQL endpoint"
178+
},
171179
"selected_tracing_propagators": {
172180
"type": "array",
173181
"items": {

0 commit comments

Comments
 (0)