OpenTelemetry PHP

ExceptionIncubatingAttributes

Semantic attributes and corresponding values for exception.

Tags
see
https://opentelemetry.io/docs/specs/semconv/registry/attributes/exception/

May contain @experimental Semantic Conventions which may change or be removed in the future.

Table of Contents

Constants

EXCEPTION_MESSAGE  = 'exception.message'
The exception message.
EXCEPTION_STACKTRACE  = 'exception.stacktrace'
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.
EXCEPTION_TYPE  = 'exception.type'
The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.

Constants

EXCEPTION_STACKTRACE

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.

public mixed EXCEPTION_STACKTRACE = 'exception.stacktrace'
Tags
stable

EXCEPTION_TYPE

The type of the exception (its fully-qualified class name, if applicable). The dynamic type of the exception should be preferred over the static type in languages that support it.

public mixed EXCEPTION_TYPE = 'exception.type'
Tags
stable

        
On this page

Search results