File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -103,18 +103,18 @@ span.End()
103103
104104### Options
105105
106- ### WithErrorStatusEnabled
106+ #### WithErrorStatusEnabled
107107
108108Enable setting span status to ` Error ` in case of an error. Default behavior is disabled, span status is unset for errors.
109109
110- ### WithTracesAttributeSetter
110+ #### WithTracesAttributeSetter
111111
112112This constructor options allows to provide a custom callback to extract dimensions from ` FlagMetadata ` .
113113These attributes are added at the ` After ` stage of the hook.
114114
115115``` go
116116
117- NewTracesHook (WithMetricsAttributeSetter (
117+ NewTracesHook (WithTracesAttributeSetter (
118118 func (metadata openfeature .FlagMetadata ) []attribute .KeyValue {
119119 // custom attribute extraction logic
120120
You can’t perform that action at this time.
0 commit comments