Packages

@flue/opentelemetry

2.3.1 · 18 Nov 2026Apache-2.0147.1k / weekRepositoryHomepagenpmAtom feed

Your version

2.1.0

18 Sep 2026Where it was published

2.3.1 is the newest release of 2.x.

In short

1 new2 fixed1 internal

Release note

Minor Changes

  • Trace content budgets are now configurable. createCloudflareTracing({ contentBudgetBytes }) and createOpenTelemetryInstrumentation({ contentBudgetBytes }) override the default 56 KiB per-span content pool — raise it (e.g. contentBudgetBytes: 200_000) to ship fuller prompts and tool results to an observability backend that isn't bound by workerd's 64 KiB span-attribute cap, or tighten it. The 128-byte sentinel floor and the shared-pool semantics are unchanged.

Patch Changes

  • Fix two bugs in the configurable content budget:

    • An invalid contentBudgetBytes value (non-integer, too small, or too large) now throws a TypeError at setup instead of producing confusing trace content later.

    • The span that records conversation compaction now honors the configured budget, so its content is truncated or shipped consistently with every other span.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.