Skip to content

Commit 2575843

Browse files
committed
Add content_type to resource schema
1 parent 6ded6e4 commit 2575843

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

samples/rum-events/resource-graphql.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"render_blocking_status": "non-blocking",
2929
"protocol": "HTTP/1.1",
3030
"delivery_type": "cache",
31+
"content_type": "application/json",
3132
"graphql": {
3233
"operationType": "query",
3334
"operationName": "GetUserProfile",

samples/rum-events/resource.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
},
4141
"protocol": "HTTP/1.1",
4242
"delivery_type": "cache",
43+
"content_type": "application/json",
4344
"request": {
4445
"encoded_body_size": 512,
4546
"decoded_body_size": 1024,

schemas/rum/resource-schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,11 @@
244244
"enum": ["cache", "navigational-prefetch", "other"],
245245
"readOnly": true
246246
},
247+
"content_type": {
248+
"type": "string",
249+
"description": "Content type of the resource",
250+
"readOnly": true
251+
},
247252
"provider": {
248253
"type": "object",
249254
"description": "The provider for this resource",

0 commit comments

Comments
 (0)