mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
7c036772df
Refs: https://github.com/denoland/deno/issues/26852 Initial support for exporting metrics. Co-authored-by: Luca Casonato <hello@lcas.dev>
38 lines
984 B
Text
38 lines
984 B
Text
error: Uncaught (in promise) Error: uncaught
|
|
throw new Error("uncaught");
|
|
^
|
|
at file:///[WILDCARD]/tests/specs/cli/otel_basic/uncaught.ts:2:7
|
|
{
|
|
"spans": [],
|
|
"logs": [
|
|
{
|
|
"timeUnixNano": "0",
|
|
"observedTimeUnixNano": "[WILDCARD]",
|
|
"severityNumber": 9,
|
|
"severityText": "INFO",
|
|
"body": {
|
|
"stringValue": "log 1\n"
|
|
},
|
|
"attributes": [],
|
|
"droppedAttributesCount": 0,
|
|
"flags": 0,
|
|
"traceId": "",
|
|
"spanId": ""
|
|
},
|
|
{
|
|
"timeUnixNano": "0",
|
|
"observedTimeUnixNano": "[WILDCARD]",
|
|
"severityNumber": 17,
|
|
"severityText": "ERROR",
|
|
"body": {
|
|
"stringValue": "error: Uncaught (in promise) Error: uncaught\nthrow new Error(\"uncaught\");\n ^\n at file:///[WILDCARD]/tests/specs/cli/otel_basic/uncaught.ts:2:7"
|
|
},
|
|
"attributes": [],
|
|
"droppedAttributesCount": 0,
|
|
"flags": 0,
|
|
"traceId": "",
|
|
"spanId": ""
|
|
}
|
|
],
|
|
"metrics": []
|
|
}
|