Torch Log Service
TLS field | Data type | Example value | Description |
TLS field | Data type | Example value | Description |
Name | String | Poll | Span name |
TraceID | String | e29a0a64fd256081ad57e983d260xxxx | Trace ID of the span, in hexadecimal format. |
SpanID | String | 198b93e4fc50xxxx | Span ID, in hexadecimal format |
TraceState | String | lasterror=f39cd56cc44274fd5abd07ef1164246d10cexxxx | (optional) Custom key-value pairs. |
ParentSpanID | String | 198b93e4fc50xxxx | Parent SpanID of the current Span. The ParentSpanID of the first Span is empty |
Kind | String | SERVER | Span type, such as SERVER or CLIENT. |
Start | Integer | 1683032165241 | Span start time. Unix timestamp type, measured in milliseconds. |
End | Integer | 1683032220248 | Span end time. Unix timestamp type, measured in milliseconds. |
Duration | Integer | 55007 | Span duration—the difference between start time and end time. It is measured in milliseconds. |
Attributes | JSON | {"component": "net/http", "http.method": "GET", "http.status_code": 200, "http.url": "0.0.0.0:8083", "net/http.reused": true, “net/http.was_idle”: true} | |
Events | JSON | [ { "Attributes": { "event": "GetConn" }, "Name": "", "Time": 1684420552720997000 }, { "Attributes": { "event": "ClosedBody" }, "Name": "", "Time": 1684420552786987000 } ] | Span-related event information in JSON string format |
Links | JSON | [{"TraceID" : "e29a0a64fd256081ad57e983d260****", "SpanId" : "198b93e4fc50****", "TraceState" : "Client", "Attributes" : {} }] | Other associated spans. It is in JSON string format. |
StatusCode | String | OK | Status code, including OK, ERROR, or UNSET. |
StatusDescription | String | Success | Description of the status. |
Resource | JSON | {"environment":"demo","service.name":"fib","service.version":"v0.1.0","telemetry.sdk.language":"go","telemetry.sdk.name":"opentelemetry","telemetry.sdk.version":"1.11.0"} | |
ServiceName | String | TLS_OTEL_SERVICE | Service name where the span originated. That is, the service.name from resource. |
Host | String | localhost | The hostname where the span comes from, i.e., the host.name from resource. |
OTLPName | String | opentelemetry | Name of the trace SDK. |
OTLPVersion | String | 1.11.0 | Trace SDK version number. |