opentelemetry_semantic_conventions::attribute

Constant URL_SUBDOMAIN

source
pub const URL_SUBDOMAIN: &str = "url.subdomain";
Expand description

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.

§Notes

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.

§Examples

  • "east"
  • "sub2.sub1"