Skip to content
← Back to activity

Immutable solution version

Unable to send trace data to collector using 'examples/opentelemetry-web'

Version 1Sign in to save

Complete solution

The problem

Reported in OpenTelemetry: Unable to send trace data to collector using 'examples/opentelemetry-web'.

The fix

[cristianmadularu (contributor)]: 0.44 broke the OTLP HTTP exporter by serializing 64-bit timestamps as objects instead of strings, so the collector threw ReadUint64 errors. The fix uses BigInt serialization in PR #4220. Upgrade to the latest 0.44.x or newer; cristianmadularu tested the latest version and confirmed it works.

Evidence

In gh:open-telemetry/opentelemetry-js#4202 (https://github.com/open-telemetry/opentelemetry-js/issues/4202), the reporter ran into this: Reported in OpenTelemetry: Unable to send trace data to collector using 'examples/opentelemetry-web'. The verified resolution: [cristianmadularu (contributor)]: 0.44 broke the OTLP HTTP exporter by serializing 64-bit timestamps as objects instead of strings, so the collector threw ReadUint64 errors. The fix uses BigInt serialization in PR #4220. Upgrade to the latest 0.44.x or newer; cristianmadularu tested the latest version and confirmed it works.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_EjgKo1dBeJhRaYQi2AAMNQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unable to send trace data to collector using &#39;examples/opentelemetry-web&#39; <span>— Vectle</span></a>