deno/tests/specs/cli/otel_basic/fetch.out
2025-03-13 17:47:00 +09:00

244 lines
5.3 KiB
Text

{
"spans": [
{
"traceId": "00000000000000000000000000000001",
"spanId": "0000000000000001",
"traceState": "",
"parentSpanId": "",
"flags": 1,
"name": "GET",
"kind": 3,
"startTimeUnixNano": "[WILDLINE]",
"endTimeUnixNano": "[WILDLINE]",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "url.full",
"value": {
"stringValue": "http://localhost:4545/echo.ts"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/echo.ts"
}
},
{
"key": "url.query",
"value": {
"stringValue": ""
}
},
{
"key": "http.response.status_code",
"value": {
"stringValue": "200"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"links": [],
"droppedLinksCount": 0,
"status": {
"message": "",
"code": 0
}
},
{
"traceId": "00000000000000000000000000000001",
"spanId": "0000000000000002",
"traceState": "",
"parentSpanId": "0000000000000001",
"flags": 1,
"name": "GET",
"kind": 3,
"startTimeUnixNano": "[WILDLINE]",
"endTimeUnixNano": "[WILDLINE]",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "url.full",
"value": {
"stringValue": "http://localhost:4545/not-found"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/not-found"
}
},
{
"key": "url.query",
"value": {
"stringValue": ""
}
},
{
"key": "http.response.status_code",
"value": {
"stringValue": "404"
}
},
{
"key": "error.type",
"value": {
"stringValue": "404"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"links": [],
"droppedLinksCount": 0,
"status": {
"message": "Not Found",
"code": 2
}
},
{
"traceId": "00000000000000000000000000000001",
"spanId": "0000000000000003",
"traceState": "",
"parentSpanId": "0000000000000001",
"flags": 1,
"name": "GET",
"kind": 3,
"startTimeUnixNano": "[WILDLINE]",
"endTimeUnixNano": "[WILDLINE]",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "url.full",
"value": {
"stringValue": "http://unreachable-host.abc/"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/"
}
},
{
"key": "url.query",
"value": {
"stringValue": ""
}
},
{
"key": "error.type",
"value": {
"stringValue": "TypeError"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"links": [],
"droppedLinksCount": 0,
"status": {
"message": "error sending request for url (http://unreachable-host.abc/): client error (Connect): dns error: [WILDLINE]",
"code": 2
}
},
{
"traceId": "00000000000000000000000000000001",
"spanId": "0000000000000004",
"traceState": "",
"parentSpanId": "0000000000000001",
"flags": 1,
"name": "GET",
"kind": 3,
"startTimeUnixNano": "[WILDLINE]",
"endTimeUnixNano": "[WILDLINE]",
"attributes": [
{
"key": "http.request.method",
"value": {
"stringValue": "GET"
}
},
{
"key": "url.full",
"value": {
"stringValue": "http://localhost:4545/echo.ts"
}
},
{
"key": "url.scheme",
"value": {
"stringValue": "http"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/echo.ts"
}
},
{
"key": "url.query",
"value": {
"stringValue": ""
}
},
{
"key": "error.type",
"value": {
"stringValue": "AbortError"
}
}
],
"droppedAttributesCount": 0,
"events": [],
"droppedEventsCount": 0,
"links": [],
"droppedLinksCount": 0,
"status": {
"message": "The signal has been aborted",
"code": 2
}
}
],
"logs": [],
"metrics": []
}