Skip to content

Commit 0b4b407

Browse files
muirdmmeta-codesync[bot]
authored andcommitted
tracing-collector: raise field truncation limit
Summary: 32 was way too low for seeing longer names. I don't see why we can't just make it nice and big. ___ Differential Revision: D105911128 fbshipit-source-id: 7b86ca34afb9f31391f35c85347801036f43003d
1 parent 6f133cf commit 0b4b407

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • eden/scm/lib/tracing-collector/src

eden/scm/lib/tracing-collector/src/model.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,8 +1018,8 @@ impl<'a> DescribeTreeSpan<TreeSpanExtra> for TracingTreeDescriptor<'a> {
10181018
.map(|item| {
10191019
let k = strings.get(*item.0);
10201020
let v = strings.get(*item.1);
1021-
let v = if v.len() > 32 {
1022-
format!("{}...", &v[..30])
1021+
let v = if v.len() > 256 {
1022+
format!("{}...", &v[..253])
10231023
} else {
10241024
v.to_string()
10251025
};

0 commit comments

Comments
 (0)