Skip to content

Commit 383fd3a

Browse files
committed
timestamp column in the traces list and spans list view
1 parent 0a4271f commit 383fd3a

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

userspace/sysdig/chisels/v_spans_list.lua

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ view_info =
3434
{
3535
{
3636
name = "NA",
37-
field = "span.time",
38-
filterfield = "span.parenttime",
37+
field = "span.rawtime",
38+
filterfield = "span.rawparenttime",
3939
is_key = true,
4040
filter_in_child_only = true,
4141
},
@@ -47,6 +47,12 @@ view_info =
4747
},
4848
{
4949
name = "TIME",
50+
field = "span.time",
51+
description = "the time of the span enter tracer.",
52+
colsize = 19,
53+
},
54+
{
55+
name = "DURATION",
5056
field = "span.duration.fortag[%depth]",
5157
description = "the time this span call took to complete",
5258
colsize = 10,

userspace/sysdig/chisels/v_traces_list.lua

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,27 @@ view_info =
3535
{
3636
{
3737
name = "NA",
38-
field = "span.time",
39-
filterfield = "span.parenttime",
38+
field = "span.rawtime",
39+
filterfield = "span.rawparenttime",
4040
is_key = true,
4141
filter_in_child_only = true,
4242
},
4343
{
4444
name = "ID",
4545
field = "span.id",
46-
description = "the unique numeric ID of the trace.",
46+
description = "the unique numeric ID of the span.",
4747
colsize = 10,
4848
},
4949
{
5050
name = "TIME",
51+
field = "span.time",
52+
description = "the time of the span enter tracer.",
53+
colsize = 19,
54+
},
55+
{
56+
name = "DURATION",
5157
field = "span.duration.fortag[%depth]",
52-
description = "the time this trace call took to complete",
58+
description = "the time this span call took to complete",
5359
colsize = 10,
5460
aggregation = "AVG",
5561
is_sorting = true,

0 commit comments

Comments
 (0)