diff --git a/src/content/changelog/workers/2025-06-20-increased-blob-size-limits-in-Workers-Analytics.mdx b/src/content/changelog/workers/2025-06-20-increased-blob-size-limits-in-Workers-Analytics.mdx new file mode 100644 index 00000000000000..df7d0e6cebd2b5 --- /dev/null +++ b/src/content/changelog/workers/2025-06-20-increased-blob-size-limits-in-Workers-Analytics.mdx @@ -0,0 +1,37 @@ +--- +title: Increased blob size limits in Workers Analytics Engine +description: We’ve increased the total allowed size of blob fields per request from 5 KB to 16 KB in the Workers Analytics Engine. +products: + - workers +date: 2025-06-20T11:29:00Z +--- +import { TypeScriptExample } from "~/components"; + +We’ve increased the total allowed size of [`blob`](/analytics/analytics-engine/get-started/#2-write-data-points-from-your-worker) fields on data points written to [Workers Analytics Engine](/analytics/analytics-engine/) from **5 KB to 16 KB**. + +This change gives you more flexibility when logging rich observability data — such as base64-encoded payloads, AI inference traces, or custom metadata — without hitting request size limits. + +You can find full details on limits for queries, filters, payloads, and more [here in the Workers Analytics Engine limits documentation](/analytics/analytics-engine/limits/). + + + +```ts title="worker.ts" +export default { + async fetch(request, env) { + env.analyticsDataset.writeDataPoint({ + // The sum of all of the blob's sizes can now be 16 KB + blobs: [ + // The URL of the request to the Worker + request.url, + // Some metadata about your application you'd like to store + JSON.stringify(metadata), + // The version of your Worker this datapoint was collected from + env.versionMetadata.tag, + ], + indexes: ["sample-index"], + }); + } +}; +``` + +