File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
hooks/openfeature-hooks-opentelemetry Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ The `TracingHook` can be set globally. This will ensure that every flag evaluati
2222
2323``` python
2424from openfeature import api
25- from openfeature.contrib.hooks.otel import TracingHook
25+ from openfeature.contrib.hook.opentelemetry import TracingHook
2626
2727api.add_hooks(TracingHook())
2828```
@@ -33,7 +33,7 @@ The `TracingHook` can also be set on an individual client. This should only be d
3333
3434``` python
3535from openfeature import api
36- from openfeature.contrib.hooks.otel import TracingHook
36+ from openfeature.contrib.hook.opentelemetry import TracingHook
3737
3838client = api.get_client(" my-app" )
3939client.add_hooks(TracingHook())
@@ -42,3 +42,7 @@ client.add_hooks(TracingHook())
4242## License
4343
4444Apache 2.0 - See [ LICENSE] ( ./LICENSE ) for more information.
45+
46+
47+ [ otel-spec ] : https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/feature-flags/
48+ [ hook-concept ] : https://openfeature.dev/docs/reference/concepts/hooks
You can’t perform that action at this time.
0 commit comments