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()
103
103
104
104
### Options
105
105
106
- ### WithErrorStatusEnabled
106
+ #### WithErrorStatusEnabled
107
107
108
108
Enable setting span status to ` Error ` in case of an error. Default behavior is disabled, span status is unset for errors.
109
109
110
- ### WithTracesAttributeSetter
110
+ #### WithTracesAttributeSetter
111
111
112
112
This constructor options allows to provide a custom callback to extract dimensions from ` FlagMetadata ` .
113
113
These attributes are added at the ` After ` stage of the hook.
114
114
115
115
``` go
116
116
117
- NewTracesHook (WithMetricsAttributeSetter (
117
+ NewTracesHook (WithTracesAttributeSetter (
118
118
func (metadata openfeature .FlagMetadata ) []attribute .KeyValue {
119
119
// custom attribute extraction logic
120
120
You can’t perform that action at this time.
0 commit comments