We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e3ceb2 commit fd3c4d7Copy full SHA for fd3c4d7
hooks/open-telemetry/README.md
@@ -103,18 +103,18 @@ span.End()
103
104
### Options
105
106
-### WithErrorStatusEnabled
+#### WithErrorStatusEnabled
107
108
Enable setting span status to `Error` in case of an error. Default behavior is disabled, span status is unset for errors.
109
110
-### WithTracesAttributeSetter
+#### WithTracesAttributeSetter
111
112
This constructor options allows to provide a custom callback to extract dimensions from `FlagMetadata`.
113
These attributes are added at the `After` stage of the hook.
114
115
```go
116
117
-NewTracesHook(WithMetricsAttributeSetter(
+NewTracesHook(WithTracesAttributeSetter(
118
func(metadata openfeature.FlagMetadata) []attribute.KeyValue {
119
// custom attribute extraction logic
120
0 commit comments