Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EventOptionsBuilderFunc ¶ added in v1.1.0
type Option ¶
type Option func(*config)
func WithEventOptions ¶
func WithEventOptions(opts ...trace.EventOption) Option
WithEventOptions returns an Option that passes given trace.EventOption to span.RecordError().
func WithEventOptionsBuilder ¶ added in v1.1.0
func WithEventOptionsBuilder(builderFunc EventOptionsBuilderFunc) Option
WithEventOptionsBuilder return an Option that uses the function to build attributes for the error events.
func WithHTTPConventionalAttributes ¶ added in v1.1.0
func WithHTTPConventionalAttributes() Option
WithHTTPConventionalAttributes return an Option that adds the attributes conforms to HTTP semantic conventions to the error events.
Click to show internal directories.
Click to hide internal directories.