JSON object containing all span attributes and their associated values.

Hierarchy

  • SpansAttributes

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
attributes?: {
    [key: string]: any;
}

JSON object of attributes from your span.

Type declaration

  • [key: string]: any
custom?: {
    [key: string]: any;
}

JSON object of custom spans data.

Type declaration

  • [key: string]: any
endTimestamp?: Date

End timestamp of your span.

env?: string

Name of the environment from where the spans are being sent.

host?: string

Name of the machine from where the spans are being sent.

ingestionReason?: string

The reason why the span was ingested.

parentId?: string

Id of the span that's parent of this span.

resourceHash?: string

Unique identifier of the resource.

resourceName?: string

The name of the resource.

retainedBy?: string

The reason why the span was indexed.

service?: string

The name of the application or service generating the span events. It is used to switch from APM to Logs, so make sure you define the same value when you use both products.

singleSpan?: boolean

Whether or not the span was collected as a stand-alone span. Always associated to "single_span" ingestion_reason if true.

spanId?: string

Id of the span.

startTimestamp?: Date

Start timestamp of your span.

tags?: string[]

Array of tags associated with your span.

traceId?: string

Id of the trace to which the span belongs.

type?: string

The type of the span.

Generated using TypeDoc