mirror of
https://github.com/denoland/deno.git
synced 2025-03-12 07:07:43 -04:00

When calling `setActiveSpan` at the module root, or with `options.root = true`, the function would internally throw.
48 lines
1.1 KiB
Text
48 lines
1.1 KiB
Text
{
|
|
"spans": [
|
|
{
|
|
"traceId": "00000000000000000000000000000001",
|
|
"spanId": "0000000000000001",
|
|
"traceState": "",
|
|
"parentSpanId": "",
|
|
"flags": 1,
|
|
"name": "top level span",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "[WILDCARD]",
|
|
"endTimeUnixNano": "[WILDCARD]",
|
|
"attributes": [],
|
|
"droppedAttributesCount": 0,
|
|
"events": [],
|
|
"droppedEventsCount": 0,
|
|
"links": [],
|
|
"droppedLinksCount": 0,
|
|
"status": {
|
|
"message": "",
|
|
"code": 0
|
|
}
|
|
},
|
|
{
|
|
"traceId": "00000000000000000000000000000002",
|
|
"spanId": "0000000000000002",
|
|
"traceState": "",
|
|
"parentSpanId": "",
|
|
"flags": 1,
|
|
"name": "root span",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "[WILDCARD]",
|
|
"endTimeUnixNano": "[WILDCARD]",
|
|
"attributes": [],
|
|
"droppedAttributesCount": 0,
|
|
"events": [],
|
|
"droppedEventsCount": 0,
|
|
"links": [],
|
|
"droppedLinksCount": 0,
|
|
"status": {
|
|
"message": "",
|
|
"code": 0
|
|
}
|
|
}
|
|
],
|
|
"logs": [],
|
|
"metrics": []
|
|
}
|