You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hooks/openfeature-hooks-opentelemetry/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ More information on hooks can be found in the [OpenFeature documentation][hook-c
18
18
19
19
### Register Globally
20
20
21
-
The `TracingHook` can be set on the OpenFeature singleton. This will ensure that every flag evaluation will always create a span event, if am active span is available.
21
+
The `TracingHook` can be set globally. This will ensure that every flag evaluation will always create a span event, if an active span is available.
22
22
23
23
```python
24
24
from openfeature import api
@@ -29,7 +29,7 @@ api.add_hooks(TracingHook())
29
29
30
30
### Register Per Client
31
31
32
-
The `TracingHook` can be set on an individual client. This should only be done if it wasn't set globally and other clients shouldn't use this hook. Setting the hook on the client will ensure that every flag evaluation performed by this client will always create a span event, if an active span is available.
32
+
The `TracingHook` can also be set on an individual client. This should only be done if it wasn't set globally and other clients shouldn't use this hook. Setting the hook on the client will ensure that every flag evaluation performed by this client will always create a span event, if an active span is available.
0 commit comments