Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceAttributes.php

TraceAttributes::URL_DOMAIN

Domain extracted from the `url.full`, such as "opentelemetry.io".

In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the domain field. If the URL contains a literal IPv6 address enclosed by `[` and `]`, the `[` and `]` characters should also be captured in the domain field.

@example www.foo.bar @example opentelemetry.io @example 3.12.167.2 @example [1080:0:0:0:8:800:200C:417A]

File

vendor/open-telemetry/sem-conv/TraceAttributes.php, line 4090

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const URL_DOMAIN = 'url.domain';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal