/
githubmirror
/
deno
Обзор
Документация
Войти
/
githubmirror
/
deno
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/specs/cli/otel_basic/fetch.out
280 строк
6 KB
Bartek Iwańczuk
fix(ext/fetch): reject transport failures with Node's "fetch failed" shape (#35618)
06 июл 2026, 12:28
Не верифицирован
06 июл 2026, 12:28
4a08965
Код
Авторство
О чём код?
{ "spans": [ { "traceId": "00000000000000000000000000000001", "spanId": "0000000000000001", "traceState": "", "parentSpanId": "", "flags": 257, "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": 257, "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": 257, "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" } }, { "key": "exception.type", "value": { "stringValue": "TypeError" } }, { "key": "exception.message", "value": { "stringValue": "[WILDCARD]" } }, { "key": "exception.stacktrace", "value": { "stringValue": "[WILDCARD]" } } ], "droppedAttributesCount": 0, "events": [], "droppedEventsCount": 0, "links": [], "droppedLinksCount": 0, "status": { "message": "fetch failed", "code": 2 } }, { "traceId": "00000000000000000000000000000001", "spanId": "0000000000000004", "traceState": "", "parentSpanId": "0000000000000001", "flags": 257, "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" } }, { "key": "exception.type", "value": { "stringValue": "AbortError" } }, { "key": "exception.message", "value": { "stringValue": "The signal has been aborted" } }, { "key": "exception.stacktrace", "value": { "stringValue": "[WILDCARD]" } } ], "droppedAttributesCount": 0, "events": [], "droppedEventsCount": 0, "links": [], "droppedLinksCount": 0, "status": { "message": "The signal has been aborted", "code": 2 } } ], "logs": [], "metrics": [] }