Skip to content

revert!: add from_string to span text (#2011)#2073

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
vianney/remove-from-string
Jun 3, 2026
Merged

revert!: add from_string to span text (#2011)#2073
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
vianney/remove-from-string

Conversation

@VianneyRuhlmann
Copy link
Copy Markdown
Contributor

@VianneyRuhlmann VianneyRuhlmann commented Jun 3, 2026

This reverts commit ecdca7d.

What does this PR do?

!1985 is using an alternative way which doesn't require to normalize fields. Since this is not needed right an introduce some overhead, this can be reverted. It may be reintroduced in the future if we need to mutate span fields.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 3, 2026

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/vianney/remove-from-string

Summary by Rule

Rule Base Branch PR Branch Change
unwrap_used 1 1 No change (0%)
Total 1 1 No change (0%)

Annotation Counts by File

File Base Branch PR Branch Change
libdd-trace-stats/src/stats_exporter.rs 1 1 No change (0%)

Annotation Stats by Crate

Crate Base Branch PR Branch Change
clippy-annotation-reporter 5 5 No change (0%)
datadog-ffe-ffi 1 1 No change (0%)
datadog-ipc 21 21 No change (0%)
datadog-live-debugger 6 6 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-remote-config 3 3 No change (0%)
datadog-sidecar 57 57 No change (0%)
libdd-common 13 13 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-data-pipeline 5 5 No change (0%)
libdd-ddsketch 2 2 No change (0%)
libdd-dogstatsd-client 1 1 No change (0%)
libdd-profiling 13 13 No change (0%)
libdd-telemetry 20 20 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 3 3 No change (0%)
libdd-trace-stats 1 1 No change (0%)
libdd-trace-utils 13 13 No change (0%)
Total 196 196 No change (0%)

About This Report

This report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality.

@datadog-datadog-prod-us1
Copy link
Copy Markdown
Contributor

datadog-datadog-prod-us1 Bot commented Jun 3, 2026

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 1 Pipeline job failed

semver-check | validate   View in Datadog   GitHub Actions

See error Major API changes detected in libdd-trace-utils without a breaking change marker in the PR title or body.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 73.43% (-0.01%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c8dd5a5 | Docs | Datadog PR Page | Give us feedback!

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.43%. Comparing base (a1da9fc) to head (c8dd5a5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2073      +/-   ##
==========================================
- Coverage   73.44%   73.43%   -0.02%     
==========================================
  Files         465      465              
  Lines       77949    77933      -16     
==========================================
- Hits        57248    57227      -21     
- Misses      20701    20706       +5     
Components Coverage Δ
libdd-crashtracker 65.44% <ø> (-0.03%) ⬇️
libdd-crashtracker-ffi 37.68% <ø> (ø)
libdd-alloc 98.77% <ø> (ø)
libdd-data-pipeline 87.14% <100.00%> (ø)
libdd-data-pipeline-ffi 77.03% <ø> (ø)
libdd-common 79.89% <ø> (ø)
libdd-common-ffi 74.41% <ø> (ø)
libdd-telemetry 73.34% <ø> (-0.03%) ⬇️
libdd-telemetry-ffi 31.36% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 76.22% <ø> (ø)
libdd-profiling 81.69% <ø> (ø)
libdd-profiling-ffi 64.79% <ø> (ø)
libdd-sampling 97.41% <100.00%> (-0.01%) ⬇️
datadog-sidecar 34.60% <ø> (-0.02%) ⬇️
datdog-sidecar-ffi 8.61% <ø> (ø)
spawn-worker 48.86% <ø> (ø)
libdd-tinybytes 93.80% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 87.30% <ø> (ø)
libdd-trace-protobuf 68.25% <ø> (ø)
libdd-trace-utils 89.20% <100.00%> (-0.02%) ⬇️
libdd-tracer-flare 86.88% <ø> (ø)
libdd-log 74.83% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@VianneyRuhlmann VianneyRuhlmann changed the title revert: add from_string to span text (#2011) revert!: add from_string to span text (#2011) Jun 3, 2026
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented Jun 3, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 82.91 MB 82.85 MB --.07% (-67.77 KB) 💪
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.63 MB 7.63 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.26 MB 10.25 MB --.02% (-2.86 KB) 💪
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 93.99 MB 93.92 MB --.06% (-65.20 KB) 💪
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 24.54 MB 24.53 MB --.04% (-10.50 KB) 💪
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 83.96 KB 83.96 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 178.18 MB 178.05 MB --.07% (-128.00 KB) 💪
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 913.88 MB 913.44 MB --.04% (-445.84 KB) 💪
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 8.03 MB 8.02 MB --.12% (-10.00 KB) 💪
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 83.96 KB 83.96 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 23.77 MB 23.75 MB --.09% (-24.00 KB) 💪
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 47.42 MB 47.38 MB --.09% (-46.12 KB) 💪
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 21.26 MB 21.25 MB --.04% (-9.00 KB) 💪
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 85.29 KB 85.29 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 182.11 MB 181.98 MB --.07% (-136.00 KB) 💪
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 906.50 MB 906.06 MB --.04% (-444.92 KB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.20 MB 6.19 MB --.11% (-7.00 KB) 💪
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 85.29 KB 85.29 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 25.48 MB 25.45 MB --.12% (-32.00 KB) 💪
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 45.07 MB 45.03 MB --.09% (-41.96 KB) 💪
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 73.94 MB 73.86 MB --.09% (-74.16 KB) 💪
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.53 MB 8.52 MB --.09% (-8.00 KB) 💪
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 89.34 MB 89.27 MB --.07% (-71.17 KB) 💪
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.37 MB 10.35 MB --.13% (-14.55 KB) 💪

@VianneyRuhlmann VianneyRuhlmann marked this pull request as ready for review June 3, 2026 12:18
@VianneyRuhlmann VianneyRuhlmann requested review from a team as code owners June 3, 2026 12:18
@VianneyRuhlmann VianneyRuhlmann requested a review from Eldolfin June 3, 2026 12:18
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot merged commit a21e9d5 into main Jun 3, 2026
112 of 114 checks passed
@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d Bot deleted the vianney/remove-from-string branch June 3, 2026 13:30
iunanua added a commit that referenced this pull request Jun 5, 2026
# Release proposal for libdd-sampling and its dependencies

This PR contains version bumps based on public API changes and commits
since last release.

## libdd-trace-utils
**Next version:** `7.0.0`
**Semver bump:** `major`
**Tag:** `libdd-trace-utils-v7.0.0`

### Commits

- feat(trace-utils)!: add dedup convenience to VecMap (#2049)
- fix(trace-utils): match the Go trace agent when parsing
`datadog-client-computed-*` bool headers (#2071)
- revert!: add from_string to span text (#2011) (#2073)
- fix(send_with_retry): follow max retries of the strategy (#2047)

## libdd-sampling (manually bumped due to breaking in #2073)
**Next version:** ~~`2.1.1`~~ `3.0.0`
**Semver bump:** ~~`patch`~~ `major`
**Tag:** ~~`libdd-sampling-v2.1.1`~~ `libdd-sampling-v3.0.0`

### Commits

- fix(sampling): format _dd.p.ksr to 6 decimal places, not 6 significant
digits (#2086)
- revert!: add from_string to span text (#2011) (#2073)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: iunanua <18325288+iunanua@users.noreply.github.com>
Co-authored-by: iunanua <igor.unanua@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants