Constant opentelemetry_semantic_conventions::trace::HTTP_HOST
source · [−]pub const HTTP_HOST: Key;
Expand description
The value of the HTTP host header. An empty Host header should also be reported, see note.
When the header is present but empty the attribute SHOULD be set to the empty string. Note that this is a valid situation that is expected in certain cases, according the aforementioned section of RFC 7230. When the header is not set the attribute MUST NOT be set.
Examples
www.example.org