TraceAttributes::URL_SUBDOMAIN
The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain.
The subdomain portion of `www.east.mydomain.co.uk` is `east`. If the domain has multiple levels of subdomain, such as `sub2.sub1.example.com`, the subdomain field should contain `sub2.sub1`, with no trailing period.
@example east @example sub2.sub1
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 4183
Class
Namespace
OpenTelemetry\SemConvCode
public const URL_SUBDOMAIN = 'url.subdomain';