pub const URL_DOMAIN: &str = "url.domain";
Expand description

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.

§Examples

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