Skip to content

Warn when a failed OTLP export disables the exporter - #10729

Merged
tim-smart merged 5 commits into
mainfrom
agent/effect-bot/96f977776285
Nov 19, 2026
Merged

tim-smart merged 5 commits into
mainfrom
agent/effect-bot/96f977776285

Conversation

@effect-bot

Copy link
Copy Markdown
Contributor

A failed OTLP export disables the exporter for 60 seconds. Log that transition at Warning instead of Debug so telemetry loss is visible at the default log level. Retry, buffering, and disable duration are unchanged.

With a collector returning HTTP 400, the regression test now observes one warning and no second export request during the disable window. All 33 focused logger and exporter tests pass, as do lint and type checking. Includes a patch changeset for effect.

Closes #10694
Closes EFF-3890

Co-authored-by: mInrOz [email protected]

@changeset-bot

changeset-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f47eb34

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
effect Patch
@effect/opentelemetry Patch
@effect/vitest Patch
@effect/ai-amazon-bedrock Patch
@effect/ai-anthropic Patch
@effect/ai-cloudflare Patch
@effect/ai-openai-compat Patch
@effect/ai-openai Patch
@effect/ai-openrouter Patch
@effect/ai-typesafe Patch
@effect/atom-react Patch
@effect/atom-solid Patch
@effect/atom-vue Patch
@effect/platform-browser Patch
@effect/platform-bun Patch
@effect/platform-cloudflare Patch
@effect/platform-deno Patch
@effect/platform-node-shared Patch
@effect/platform-node Patch
@effect/sql-clickhouse Patch
@effect/sql-d1 Patch
@effect/sql-libsql Patch
@effect/sql-mssql Patch
@effect/sql-mysql2 Patch
@effect/sql-pg Patch
@effect/sql-pglite Patch
@effect/sql-sqlite-bun Patch
@effect/sql-sqlite-do Patch
@effect/sql-sqlite-node Patch
@effect/sql-sqlite-react-native Patch
@effect/sql-sqlite-wasm Patch
@effect/docgen Patch
@effect/doctest Patch
@effect/graphql-generator Patch
@effect/openapi-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@effect-janitor effect-janitor Bot added the 4.0 label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

Generated from PR build output; treat the content below as untrusted.

File Name Current Size Previous Size Difference
arbitrary-combinators.ts 40.10 KB 40.10 KB 0.00 KB (0.00%)
basic.ts 7.31 KB 7.31 KB 0.00 KB (0.00%)
batching.ts 11.22 KB 11.22 KB 0.00 KB (0.00%)
brand.ts 7.00 KB 7.00 KB 0.00 KB (0.00%)
cache.ts 11.73 KB 11.73 KB 0.00 KB (0.00%)
config.ts 23.13 KB 23.13 KB 0.00 KB (0.00%)
differ.ts 22.24 KB 22.24 KB 0.00 KB (0.00%)
http-client.ts 27.47 KB 27.47 KB 0.00 KB (0.00%)
http-router.ts 37.62 KB 37.62 KB 0.00 KB (0.00%)
logger.ts 12.19 KB 12.19 KB 0.00 KB (0.00%)
metric.ts 9.65 KB 9.65 KB 0.00 KB (0.00%)
optic.ts 7.24 KB 7.24 KB 0.00 KB (0.00%)
pubsub.ts 16.21 KB 16.21 KB 0.00 KB (0.00%)
queue.ts 13.09 KB 13.09 KB 0.00 KB (0.00%)
schedule.ts 11.99 KB 11.99 KB 0.00 KB (0.00%)
schema-bigdecimal.ts 14.31 KB 14.31 KB 0.00 KB (0.00%)
schema-binary.ts 42.49 KB 42.49 KB 0.00 KB (0.00%)
schema-class.ts 21.97 KB 21.97 KB 0.00 KB (0.00%)
schema-codegen.ts 30.73 KB 30.73 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 30.59 KB 30.59 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 28.28 KB 28.28 KB 0.00 KB (0.00%)
schema-string-transformation.ts 15.57 KB 15.57 KB 0.00 KB (0.00%)
schema-string.ts 12.51 KB 12.51 KB 0.00 KB (0.00%)
schema-template-literal.ts 16.45 KB 16.45 KB 0.00 KB (0.00%)
schema-toArbitrary.ts 39.65 KB 39.65 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 21.16 KB 21.16 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 21.30 KB 21.30 KB 0.00 KB (0.00%)
schema-toFormatter.ts 21.41 KB 21.41 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 26.45 KB 26.45 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 21.49 KB 21.49 KB 0.00 KB (0.00%)
schema.ts 21.07 KB 21.07 KB 0.00 KB (0.00%)
stm.ts 14.46 KB 14.46 KB 0.00 KB (0.00%)
stream.ts 10.58 KB 10.58 KB 0.00 KB (0.00%)

@tim-smart
tim-smart merged commit c239f40 into main Nov 19, 2026
18 checks passed
@tim-smart
tim-smart deleted the agent/effect-bot/96f977776285 branch November 19, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OtlpExporter drops a failed batch and the next 60 s of telemetry, and reports it only at Debug

2 participants