For the complete documentation index, see llms.txt. This page is also available as Markdown.

ThousandEyes for OpenTelemetry Data Model v2 - Traces

Supported Test Types

Network & App Synthetics Tests

In the context of this page, a layer refers to the specific category of trace data generated by a ThousandEyes test that is available for export through OpenTelemetry.

  • Transaction tests support only the transaction layer.

  • Page load and API tests support only the page-load and API layers, respectively.

Test type

Resource attributes

Span attributes

Page load

  • service.name

  • thousandeyes.account.id

  • thousandeyes.data.version

  • thousandeyes.permalink

  • thousandeyes.source.agent.id

  • thousandeyes.source.agent.location

  • thousandeyes.source.agent.name

  • thousandeyes.source.agent.geoname.id

  • thousandeyes.source.agent.geo.region.iso_code

  • thousandeyes.source.agent.geo.country.iso_code

  • thousandeyes.stream.id

  • thousandeyes.stream.name

  • thousandeyes.test.domain

  • thousandeyes.test.id

  • thousandeyes.test.name

  • thousandeyes.test.type

  • http.request.method

  • http.response.code

  • server.address

  • server.port

  • url.full

Transaction

  • service.name

  • thousandeyes.account.id

  • thousandeyes.data.version

  • thousandeyes.permalink

  • thousandeyes.source.agent.id

  • thousandeyes.source.agent.location

  • thousandeyes.source.agent.name

  • thousandeyes.source.agent.geoname.id

  • thousandeyes.source.agent.geo.region.iso_code

  • thousandeyes.source.agent.geo.country.iso_code

  • thousandeyes.stream.id

  • thousandeyes.stream.name

  • thousandeyes.test.domain

  • thousandeyes.test.id

  • thousandeyes.test.name

  • thousandeyes.test.type

  • http.request.method

  • http.response.code

  • server.address

  • server.port

  • url.full

API

  • service.name

  • thousandeyes.account.id

  • thousandeyes.data.version

  • thousandeyes.permalink

  • thousandeyes.source.agent.id

  • thousandeyes.source.agent.location

  • thousandeyes.source.agent.name

  • thousandeyes.source.agent.geoname.id

  • thousandeyes.source.agent.geo.region.iso_code

  • thousandeyes.source.agent.geo.country.iso_code

  • thousandeyes.stream.id

  • thousandeyes.stream.name

  • thousandeyes.test.domain

  • thousandeyes.test.id

  • thousandeyes.test.name

  • thousandeyes.test.type

  • http.request.method

  • http.response.code

  • server.address

  • server.port

  • url.full

  • step

Attributes

The OpenTelemetry pipeline supports the following OTel attributes:

Resource Attributes

Attribute

Type

Description

service.name

String

Name of the service

thousandeyes.account.id

String

The ID of the account that the telemetry data is associated with.

thousandeyes.data.version

String

Specifies the version of the data model. Possible values:

  • v1

  • v2

thousandeyes.permalink

String

ThousandEyes test permalink

thousandeyes.source.agent.id

String

Identifies the ThousandEyes agent that ran the test

thousandeyes.source.agent.location

String

Location of the ThousandEyes source agent

thousandeyes.source.agent.name

String

Name of the ThousandEyes source agent

thousandeyes.source.agent.geoname.id

String

The GeoNames ID of the ThousandEyes source agent that ran the test. For more information, see [GeoNames](https://www.geonames.org/about.html).

thousandeyes.source.agent.geo.region.iso_code

String

ISO code for the region where the source agent is located.

thousandeyes.source.agent.geo.country.iso_code

String

ISO code for the country where the source agent is located.

thousandeyes.stream.id

String

UUID of the integration used to export the data.

thousandeyes.stream.name

String

Name of the integration used to export the data. This attribute changes when you rename the integration.

thousandeyes.test.domain

String

Identifies the origin of the test data. Possible values: cea (Network & App Synthetics)

thousandeyes.test.id

String

Identifies the ThousandEyes test

thousandeyes.test.name

String

Name of the ThousandEyes test

thousandeyes.test.type

String

Identifies the type of test. Possible values: "page-load", "web-transactions", "api"

Span Attributes

Attribute

Type

Description

http.request.method

String

HTTP request method. Enum:

  • GET

  • POST

  • HEAD

  • PUT

  • DELETE

  • OPTIONS

  • PATCH

  • CONNECT

http.response.code

Integer

HTTP response code

server.address

String

Server address

server.port

Integer

Server port

url.full

String

Full URL of the request

step

Integer

Step ID for API tests. Identifies individual steps in multi-step API test sequences.

Span Fields

Each span has a set of fields to populate:

Field

Type

Description

trace_id

String

Trace ID representing the trace that the span is a part of

span_id

String

Span ID representing the span

parent_span_id (optional)

String

Parent span ID representing the parent span of the current span

name

String

Name of the span

kind

Enum

Kind of span. Enum:

  • SPAN_KIND_UNSPECIFIED

  • SPAN_KIND_INTERNAL

  • SPAN_KIND_SERVER

  • SPAN_KIND_CLIENT

  • SPAN_KIND_PRODUCER

  • SPAN_KIND_CONSUMER

start_time_unix_nano

Integer

The start time of the span, expressed in the number of nanoseconds since the Unix epoch

end_time_unix_nano

Integer

The end time of the span, expressed in the number of nanoseconds since the Unix epoch

status

Possible values for code:

  • STATUS_CODE_UNSET

  • STATUS_CODE_OK

  • STATUS_CODE_ERROR

Each span has a status. Status is structurally defined by the following properties:

  • code: Status code. It is an enumerated StatusCode, one of the values listed below.

  • message: (Optional) Description of the status.

For more information on the OpenTelemetry data model, see the OpenTelemetry specification.

Tags as Attributes

ThousandEyes converts tags from tests and associated Cloud and Enterprise Agents into OpenTelemetry Resource attributes. Each tag consists of a key and a corresponding value.

If a stream uses tagMatch, tagMatch selects which tests are included in the stream. It does not limit which supported tags are converted to attributes.

Tags are streamed as attributes unless the tag key is not compliant with the OpenTelemetry naming conventions for attributes or matches a ThousandEyes reserved OpenTelemetry attribute name. ThousandEyes excludes those tags from the Resource attributes.

When a tag is converted to an attribute, the tag key becomes the attribute name. Some tags might have multiple values or be shared between tests and agents. These cases are handled as follows:

  • Single value: If a tag key has only one value, the value is represented as string_value.

  • Multiple values: If there are several values for the same key, the value is represented as array_value, with each associated value as a string_value element.

  • Shared tags: If tests and Cloud or Enterprise Agents are assigned to the same tag, the unique set of values is provided as the attribute value.

For more information, see Tags and OpenTelemetry Streams.

Example

Consider the following scenario:

  • A stream is configured with test 1234 and the following tags:

    • branch:sfo

    • branch:nyc

    • team:netops

  • The following tags are associated with test 1234:

    • branch:sfo

    • branch:nyc

    • team:netops

    • cluster:analytics

  • The following tags are associated with the source agent used by test 1234:

    • branch:sfo

    • location:us

The resulting attributes would be structured as follows:

Notes:

  • The branch:sfo tag is not added twice to the Resource because the key-value pair already exists in the attributes.

Not all observability platforms support string arrays for attribute values. For example, New Relic and Splunk Observability Cloud do not support this format. If your backend does not support string arrays for attributes, the tag attribute or the data point might be excluded.

Last updated