Repository navigation
Conversation
Tracestate permits 32 vendor members, not 32 fields within each member. Preserve unknown OTel fields when sampling updates exceed the 256-character member limit, and remove optional Datadog fields before required fields. Repeated optional-field classification makes overflow pruning quadratic. On Node.js 22.23.2, full injection with LLMObs overflow falls from 2.36–2.39 microseconds to 2.09–2.13 microseconds across two fresh processes.
Overall package sizeSelf size: 8.96 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.5.1 | 127.66 kB | 513.61 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## vpellan/otel-threshold-random-value #10473 +/- ##
=======================================================================
+ Coverage 93.00% 98.71% +5.71%
=======================================================================
Files 1031 1027 -4
Lines 162050 160615 -1435
Branches 74 74
=======================================================================
+ Hits 150714 158554 +7840
+ Misses 11336 2061 -9275
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎉 All green!❄️ No new flaky tests detected 🔄 Datadog retried 1 test - 1 passed on retry 🎯 Code Coverage (details) 🔗 Commit SHA: 3c8ade3 | Docs | View more details | Give us feedback! |
BenchmarksBenchmark execution time: 2026-09-24 12:22:27 Comparing candidate commit 3c8ade3 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 2323 metrics, 8 unstable metrics.
|
Standalone AppSec uses the propagated trace source to retain a keep decision downstream. When an optional tag overflows W3C tracestate, pruning that source resets the extracted sampling priority and can drop the security trace. LLMObs application and session attribution must remain together. Pruning only one would change downstream grouping.
5ae63fe
into
vpellan/otel-threshold-random-value
Preserve unknown OTel fields when sampling updates exceed the tracestate member limit. Remove optional Datadog fields before required fields.
Avoid repeated optional-field classification during overflow pruning. Measured LLMObs overflow injection improves by 10–13% on Node.js 22.23.2.