Skip to main content

traces_spans

Overview

Nametraces_spans
TypeResource
Idsumologic.tracing.traces_spans

Fields

NameDatatypeDescription
idstringIdentifier of the span.
criticalPathContributionobject
durationintegerNumber of nanoseconds the span lasted.
errorMessagestringProduced error message (could be a stack trace, database error code, ..)
eventsarrayEvents attached to this span.
fieldsobjectFields attached to this span.
infoobject
kindstringSpan kind describes the relationship between the Span, its parents, and its children in a Trace. Possible values: CLIENT, SERVER, PRODUCER, CONSUMER, INTERNAL.
linksarrayList of casually related spans.
logsarrayLogs attached to this span.
numberOfLinksintegerNumber of span links in this span.
operationNamestringThe name of the operation given to the span.
parentIdstringIdentifier of the parent span, if any. If the span has no parent it's considered a root span.
remoteServicestringName of the possible remote span's service.
remoteServiceColorstringColor hex code assigned to the remote service.
remoteServiceTypestringDefines type of service.
resourcestringThe name of the resource attached to the span.
servicestringThe name of the service this span is part of.
serviceColorstringColor hex code assigned to the service.
serviceTypestringDefines type of service.
startedAtstringDate and time the span was started in the ISO 8601 / RFC3339 format.
statusobject

Methods

NameAccessible byRequired ParamsDescription
getSpanSELECTspanId, traceId, regionGet details of a span with the given identifier.
getSpansSELECTtraceId, regionGet a list of spans for the given trace. The response is paginated with a default limit of 100 spans per page.