Skip to content

Analyze the overlap between OpenTelemetry tracing attributes and ECS attributes #1012

@trask

Description

@trask

HTTP

Exceptions

General remote service attributes

@AlexanderWert to confirm that ECS doesn't have an equivalent to peer.service.

General identity attributes

OpenTelemetry ECS
enduser.id user.id
enduser.role, enduser.scope user.roles (?)

General thread attributes

OpenTelemetry ECS
thread.id process.thread.id
thread.name process.thread.name

Source code attributes

OpenTelemetry ECS
code.function log.origin.function
code.namespace
code.filepath log.origin.file.name
code.lineno log.origin.file.line
code.column

Messaging

This is also discussed/tracked at open-telemetry/opentelemetry-specification#3196.

Only impacted by network attribute changes above (#3199 and open-telemetry/opentelemetry-specification#3371).

(ECS doesn't have any messaging-specific attributes, @AlexanderWert to confirm)

Could also be impacted by conflict with source.* and destination.* namespace, see open-telemetry/opentelemetry-specification#3407

Database

Only impacted by network attribute changes above (#3199 and open-telemetry/opentelemetry-specification#3371).

(ECS doesn't have any database-specific attributes, @AlexanderWert to confirm).

RPC

Only impacted by network attribute changes above (#3199 and open-telemetry/opentelemetry-specification#3371).

(ECS doesn't have any RPC-specific attributes, @AlexanderWert to confirm).

FaaS tracing and resources

OpenTelemetry ECS
faas.coldstart faas.coldstart
faas.invocation_id faas.execution
cloud.resource_id faas.id
faas.name faas.name
faas.trigger.request_id
faas.trigger faas.trigger.type
faas.version faas.version

CloudEvents

ECS doesn't have any cloud event specific attributes (@AlexanderWert to confirm)

Feature Flags

ECS doesn't have any feature flag specific attributes (@AlexanderWert to confirm)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions