Skip to content

Semantic convention for HTTP start / end times #591

@toumorokoshi

Description

@toumorokoshi

It doesn't seem that there's a defined semantic convention for when an http instrumentation span should start and end. There's some ambiguity that would be worth clarifying, namely whether these measurements should also consider the duration of additional middleware layers.

As a start, I would argue we should declare that instrumentations should consider the full request/response cycle of a web application (include middlewares).

Reference for discussion origination: open-telemetry/opentelemetry-python#659

This is a more specific discussion of #330.

Metadata

Metadata

Assignees

Labels

area:semantic-conventionsRelated to semantic conventionsspec:traceRelated to the specification/trace directory

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions