Skip to content

v0.13.0#165

Merged
bengl merged 2 commits into
v0.xfrom
bengl/v0.13.0-proposal
Jul 8, 2026
Merged

v0.13.0#165
bengl merged 2 commits into
v0.xfrom
bengl/v0.13.0-proposal

Conversation

@bengl

@bengl bengl commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Release 0.13.0.

Includes:

Unblocks dd-trace-js native-spans (#9139): ~46 ASM-standalone system-tests asserting the header, plus client-computed stats being honored.

Rebase-and-merge to v0.x to trigger the Release workflow (npm publish gate + v0.13.0 tag).

bengl added 2 commits July 8, 2026 12:05
Add a `client_computed_stats` parameter to `WasmSpanState::new` and set
`builder.set_client_computed_stats()` so the exporter sends the
`Datadog-Client-Computed-Stats: true` header. The tracer needs this when it
runs in APM-standalone (apmTracingEnabled=false) so the agent skips its own APM
stats/sampling.

The header is also sent whenever `stats_enabled` is set: computing stats
client-side requires telling the agent to skip its own, otherwise the same
traces are counted twice. Enabling stats therefore always implies the header,
so the flags are OR'd in the binding rather than relying on the caller to keep
them in sync.

libdatadog's TraceExporterBuilder already supports the flag; the WASM binding
just never called it. Adds pipeline tests asserting the header is present when
client_computed_stats OR stats_enabled is set, and absent when both are off.
@bengl bengl requested review from a team as code owners July 8, 2026 16:06
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

Overall package size

Self size: 30.09 MB
Deduped: 30.09 MB
No deduping: 30.09 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@bengl bengl merged commit 5068d0a into v0.x Jul 8, 2026
46 checks passed
@bengl bengl deleted the bengl/v0.13.0-proposal branch July 8, 2026 16:42
@bengl bengl mentioned this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants