MetadataOptions
- class constructs.MetadataOptions(*, stack_trace=None, trace_from_function=None)
Bases:
object
Options for
construct.addMetadata()
.- Parameters:
stack_trace (
Optional
[bool
]) – Include stack trace with metadata entry. Default: falsetrace_from_function (
Any
) – A JavaScript function to begin tracing from. This option is ignored unlessstackTrace
istrue
. Default: addMetadata()
Attributes
- stack_trace
Include stack trace with metadata entry.
- Default:
false
- trace_from_function
A JavaScript function to begin tracing from.
This option is ignored unless
stackTrace
istrue
.- Default:
addMetadata()