File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
specs/agents/handling-huge-traces Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ and they define properties under the `composite` context.
112
112
- ` composite `
113
113
- ` count ` : The number of compressed spans this composite span represents.
114
114
The minimum count is 2 as a composite span represents at least two spans.
115
- - ` sum.us ` : sum of durations of all compressed spans this composite span represents in microseconds .
116
- Thus ` sum.us ` is the net duration of all the compressed spans while ` duration ` is the gross duration (including "whitespace" between the spans).
115
+ - ` sum ` : sum of durations of all compressed spans this composite span represents in milliseconds .
116
+ Thus ` sum ` is the net duration of all the compressed spans while ` duration ` is the gross duration (including "whitespace" between the spans).
117
117
- ` compression_strategy ` : A string value indicating which compression strategy was used. The valid values are:
118
118
- ` exact_match ` - [ Consecutive-Exact-Match compression strategy] ( tracing-spans-compress.md#consecutive-exact-match-compression-strategy )
119
119
- ` same_kind ` - [ Consecutive-Same-Kind compression strategy] ( tracing-spans-compress.md#consecutive-same-kind-compression-strategy )
@@ -216,11 +216,11 @@ bool tryToCompress(Span sibling) {
216
216
217
217
if (! isAlreadyComposite) {
218
218
composite. count = 1
219
- composite. sumUs = duration
219
+ composite. sum = duration
220
220
}
221
221
222
222
++ composite. count
223
- composite. sumUs += other. duration
223
+ composite. sum += other. duration
224
224
return true
225
225
}
226
226
You can’t perform that action at this time.
0 commit comments