semconv.com

HTTP and the web

as of v1.44.0

Client and server HTTP calls, the URL they address, and the browser that made them.

http 26url 13browser 11user_agent 6graphql 3webengine 3

attributes
62
metrics
10
signals
9
stable
13
deprecated
14

Signals

What this domain emits, and the attributes each one carries, most strongly required first. An attribute marked * is required on that signal; * is conditionally required.

Spans 3

Events 3

Entities 3

Metrics 10

Specification

Requirements that name this domain 9

  • MUSTGetStable

    If the getter is intended to work with an HTTP request object, the getter MUST be case insensitive.

  • MUSTGetAllStable

    If the getter is intended to work with an HTTP request object, the getter MUST be case insensitive.

  • In order to increase compatibility, the key-value pairs MUST only consist of US-ASCII characters that make up valid HTTP header fields as per RFC 9110.

  • A W3C Trace Context propagator MUST parse and validate the traceparent and tracestate HTTP headers as specified in W3C Trace Context Level 2.

  • MUSTSchema URLStable

    The fetcher MUST follow the HTTP standard and honour the redirect response and fetch the file from the redirected URL.

  • MUST NOTSpan StatusStable

    MUST NOT be set if the status code is UNSET. | OK | Recommended | | otel.statusdescription | string | Description of the Status if it has a value, otherwise not set. | resource not found | Recommended |

  • SHOULDSet StatusStable

    The status code SHOULD remain unset, except for the following circumstances:

  • SHOULD NOTSet StatusStable

    Generally, Instrumentation Libraries SHOULD NOT set the status code to Ok, unless explicitly configured to do so.

All 9 matching requirements

On the wire, this lands in trace/v1/trace, metrics/v1/metrics, logs/v1/logs, resource/v1/resource. Field-by-field definitions are under OTLP.

Attributes 62

http26 attributes

url13 attributes

  • url.domain
    DevelopmentDomain extracted from the url.full, such as "opentelemetry.io".
  • url.extension
    DevelopmentThe file extension extracted from the url.full, excluding the leading dot.
  • url.fragment
    StableThe URI fragment component
  • url.full
    StableAbsolute URL describing a network resource according to RFC3986
  • url.original
    DevelopmentUnmodified original URL as seen in the event source.
  • url.path
    StableThe URI path component
  • url.port
    DevelopmentPort extracted from the url.full
  • url.query
    StableThe URI query component
  • url.registered_domain
    DevelopmentThe highest registered URL domain, stripped of the subdomain.
  • url.scheme
    StableThe URI scheme component identifying the used protocol.
  • url.subdomain
    DevelopmentThe subdomain portion of a fully qualified domain name includes all of the names except the hostname under the registered_domain. In a partially qualified domai
  • url.template
    DevelopmentThe low-cardinality template of an absolute path reference.
  • url.top_level_domain
    DevelopmentThe effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com i

browser11 attributes

user_agent6 attributes

  • user_agent.name
    DevelopmentName of the user-agent extracted from original. Usually refers to the browser's name.
  • user_agent.original
    StableValue of the HTTP User-Agent header sent by the client.
  • user_agent.os.name
    DevelopmentHuman readable operating system name.
  • user_agent.os.version
    DevelopmentThe version string of the operating system as defined in Version Attributes.
  • user_agent.synthetic.type
    DevelopmentSpecifies the category of synthetic traffic, such as tests or bots.
  • user_agent.version
    DevelopmentVersion of the user-agent extracted from original. Usually refers to the browser's version

graphql3 attributes

webengine3 attributes

Topics are this site's grouping of upstream namespaces, not a structure the OpenTelemetry project publishes. JSON · All domains