From 773de77f813fc777d00ec4e84e66bed1a966deff Mon Sep 17 00:00:00 2001 From: Nevi Date: Thu, 19 Feb 2026 14:01:55 -0500 Subject: [PATCH] Clarify persist option and pricing for OTel export --- .../exporting-opentelemetry-data/index.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/content/docs/workers/observability/exporting-opentelemetry-data/index.mdx b/src/content/docs/workers/observability/exporting-opentelemetry-data/index.mdx index a4db16fd2a6121a..68e2dec19d3db4f 100644 --- a/src/content/docs/workers/observability/exporting-opentelemetry-data/index.mdx +++ b/src/content/docs/workers/observability/exporting-opentelemetry-data/index.mdx @@ -69,7 +69,8 @@ After setting up destinations in the dashboard, configure your Worker to export // traces sample rate of 5% "head_sampling_rate": 0.05, - // (optional disable traces in Cloudflare dashboard + // (optional) set to false to only export traces to your + // destination without persisting them in the Cloudflare dashboard "persist": false }, "logs": { @@ -78,7 +79,8 @@ After setting up destinations in the dashboard, configure your Worker to export // logs sample rate of 60% "head_sampling_rate": 0.6, - // (optional disable logs in Cloudflare dashboard + // (optional) set to false to only export logs to your + // destination without persisting them in the Cloudflare dashboard "persist": false } } @@ -87,6 +89,10 @@ After setting up destinations in the dashboard, configure your Worker to export +:::note[`persist` and pricing] +By default, `persist` is `true`, which means logs and traces are both exported to your destination and stored in the Cloudflare dashboard. Dashboard storage is billed [separately](/workers/observability/logs/workers-logs/#pricing). Set `persist` to `false` if you only need data in your external destination. +::: + Once you've configured your Wrangler configuration file, redeploy your Worker for new configurations to take effect. Note that it may take a few minutes for events to reach your destination. ## Destination status