SemanticAttributes class
Common OpenTelemetry attribute keys for non-resource information.
Keys should follow OpenTelemetry's attribute semantic conventions: https://github.com/open-telemetry/opentelemetry-specification/tree/main/specification/trace/semantic_conventions
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- exceptionMessage → const String
- The exception message.
- exceptionStacktrace → const String
- A stacktrace as a string in the natural representation for the language runtime. The representation is to be determined and documented by each language SIG.
- exceptionType → const String
- The type of the exception (its fully-qualified class name, if applicable). The dynamic type of
- httpClientIp → const String
- The IP address of the original client behind all proxies, if known (e.g. from X-Forwarded-For).
- httpFlavor → const String
- Kind of HTTP protocol used.
- httpHost → const String
- The value of the HTTP host header.
- httpMethod → const String
- HTTP request method.
- httpRequestContentLength → const String
- The size of the request payload body in bytes.
- httpRequestContentLengthUncompressed → const String
- The size of the uncompressed request payload body after transport decoding. Not set if transport encoding not used.
- httpResponseContentLength → const String
- The size of the response payload body in bytes.
- httpResponseContentLengthUncompressed → const String
- The size of the uncompressed response payload body after transport decoding. Not set if transport encoding not used.
- httpRoute → const String
- The matched route (path template).
- httpScheme → const String
- The URI scheme identifying the used protocol.
- httpServerName → const String
- The primary server name of the matched virtual host.
- httpStatusCode → const String
- HTTP response status code.
- httpTarget → const String
- The full request target as passed in a HTTP request line or equivalent.
- httpUrl → const String
-
Full HTTP request URL in the form
scheme://host[:port]/path?query[#fragment]
. - httpUserAgent → const String
- Value of the HTTP User-Agent header sent by the client.
- messagingConversationId → const String
- The conversation ID identifying the conversation to which the message belongs, represented as a string. Sometimes called "Correlation ID".
- messagingDestination → const String
- The message destination name.
- messagingDestinationKind → const String
- The kind of message destination
- messagingMessageId → const String
- A value used by the messaging system as an identifier for the message, represented as a string.
- messagingMessagePayloadCompressedSizeBytes → const String
- The compressed size of the message payload in bytes.
- messagingMessagePayloadSizeBytes → const String
- The (uncompressed) size of the message payload in bytes. Also use this attribute if it is unknown whether the compressed or uncompressed payload size is reported.
- messagingProtocol → const String
- The name of the transport protocol.
- messagingProtocolVersion → const String
- The version of the transport protocol.
- messagingSystem → const String
- A string identifying the messaging system.
- messagingTempDestination → const String
- A boolean that is true if the message destination is temporary.
- messagingUrl → const String
- Connection string.