diff --git a/lib/cjs/generated/rum.d.ts b/lib/cjs/generated/rum.d.ts index 4cdb48d..e0b3343 100644 --- a/lib/cjs/generated/rum.d.ts +++ b/lib/cjs/generated/rum.d.ts @@ -651,6 +651,10 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties * Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2') */ readonly protocol?: string; + /** + * Content type of the fetched resource + */ + readonly content_type?: string; /** * The provider for this resource */ diff --git a/lib/esm/generated/rum.d.ts b/lib/esm/generated/rum.d.ts index 4cdb48d..e0b3343 100644 --- a/lib/esm/generated/rum.d.ts +++ b/lib/esm/generated/rum.d.ts @@ -651,6 +651,10 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties * Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2') */ readonly protocol?: string; + /** + * Content type of the fetched resource + */ + readonly content_type?: string; /** * The provider for this resource */ diff --git a/samples/rum-events/resource.json b/samples/rum-events/resource.json index ddf0d04..f15346d 100644 --- a/samples/rum-events/resource.json +++ b/samples/rum-events/resource.json @@ -34,7 +34,8 @@ "duration": 157090000, "start": 88945000 }, - "protocol": "HTTP/1.1" + "protocol": "HTTP/1.1", + "content_type": "application/json" }, "action": { "id": "ae3a5d82-cdd1-468d-9bc9-3aa9e54d953c" diff --git a/schemas/rum/resource-schema.json b/schemas/rum/resource-schema.json index 295ca31..8863ccf 100644 --- a/schemas/rum/resource-schema.json +++ b/schemas/rum/resource-schema.json @@ -218,6 +218,11 @@ "description": "Network protocol used to fetch the resource (e.g., 'http/1.1', 'h2')", "readOnly": true }, + "content_type": { + "type": "string", + "description": "Content type of the fetched resource", + "readOnly": true + }, "provider": { "type": "object", "description": "The provider for this resource",