diff --git a/develop-docs/sdk/data-model/envelope-items.mdx b/develop-docs/sdk/data-model/envelope-items.mdx index 4c466e05bf463..ddb990ff2dd07 100644 --- a/develop-docs/sdk/data-model/envelope-items.mdx +++ b/develop-docs/sdk/data-model/envelope-items.mdx @@ -430,7 +430,9 @@ _None_ **Additional Item Headers:** -_None_ +`platform` + +: **String, required.** The platform of the profiled application. This item header is used for rate limiting and categorization. It must match the `platform` in the payload. the Examples: `"javascript"`, `"node"`, `"python"`, `"cocoa"`, etc. ### Check-Ins diff --git a/develop-docs/sdk/telemetry/profiles/sample-format-v2.mdx b/develop-docs/sdk/telemetry/profiles/sample-format-v2.mdx index 26c176534e584..cc0fa464dc379 100644 --- a/develop-docs/sdk/telemetry/profiles/sample-format-v2.mdx +++ b/develop-docs/sdk/telemetry/profiles/sample-format-v2.mdx @@ -280,17 +280,15 @@ It's suggested to remove unnecessary data like thread data without samples from ## Ingestion -After this payload is generated, serialize it as JSON, pack it into an +After this payload is generated, serialize it as JSON, pack it into an [Envelope](/sdk/data-model/envelopes/) with the item type [`profile_chunk`](/sdk/data-model/envelope-items/#profile-chunk) and send it to Relay. -[Envelope](/sdk/data-model/envelopes/) with the item type [`profile_chunk`](/sdk/data-model/envelope-items/#profile-chunk) and send - -it to Relay. +The `platform` item header is required for rate limiting and categorization of the profile chunk and must match the `platform` in the payload. This envelope should look like this: ```json {"event_id":"a229377b82ad4898be7c3a6272d052d9"} -{"type":"profile_chunk"} +{"type":"profile_chunk", "platform":"node"} { /* profile_chunk JSON payload */} ````