OpenTelemetryDecorator.Base behaviour (opentelemetry_decorator v0.1.0)
Behaviour module to handle results, errors and exceptions for OpenTelemetry Decorator
Link to this section Summary
Link to this section Types
Link to this type
attribute()
Specs
Link to this type
attributes()
Specs
attributes() :: [attribute()]
Link to this type
error()
Specs
Link to this section Callbacks
Link to this callback
handle_error(error)
Specs
handle_error(error()) :: attributes()
Link to this callback
handle_exception(arg1, arg2)
Specs
handle_exception(Exception.t(), Exception.stacktrace()) :: attributes()
Link to this callback
handle_result(any)
Specs
handle_result(any()) :: attributes()