Skip to content

Commit 689662b

Browse files
authored
docs: update OTel hook readme with correct import paths (#65)
* docs: update OTel hook readme with correct import paths Signed-off-by: Federico Bond <[email protected]> * docs: add missing references to readme Signed-off-by: Federico Bond <[email protected]> --------- Signed-off-by: Federico Bond <[email protected]>
1 parent 130d5c3 commit 689662b

File tree

1 file changed

+6
-2
lines changed
  • hooks/openfeature-hooks-opentelemetry

1 file changed

+6
-2
lines changed

hooks/openfeature-hooks-opentelemetry/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The `TracingHook` can be set globally. This will ensure that every flag evaluati
2222

2323
```python
2424
from openfeature import api
25-
from openfeature.contrib.hooks.otel import TracingHook
25+
from openfeature.contrib.hook.opentelemetry import TracingHook
2626

2727
api.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
3535
from openfeature import api
36-
from openfeature.contrib.hooks.otel import TracingHook
36+
from openfeature.contrib.hook.opentelemetry import TracingHook
3737

3838
client = api.get_client("my-app")
3939
client.add_hooks(TracingHook())
@@ -42,3 +42,7 @@ client.add_hooks(TracingHook())
4242
## License
4343

4444
Apache 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

0 commit comments

Comments
 (0)