Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions hooks/openfeature-hooks-opentelemetry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The `TracingHook` can be set globally. This will ensure that every flag evaluati

```python
from openfeature import api
from openfeature.contrib.hooks.otel import TracingHook
from openfeature.contrib.hook.opentelemetry import TracingHook

api.add_hooks(TracingHook())
```
Expand All @@ -33,7 +33,7 @@ The `TracingHook` can also be set on an individual client. This should only be d

```python
from openfeature import api
from openfeature.contrib.hooks.otel import TracingHook
from openfeature.contrib.hook.opentelemetry import TracingHook

client = api.get_client("my-app")
client.add_hooks(TracingHook())
Expand All @@ -42,3 +42,7 @@ client.add_hooks(TracingHook())
## License

Apache 2.0 - See [LICENSE](./LICENSE) for more information.


[otel-spec]: https://opentelemetry.io/docs/reference/specification/trace/semantic_conventions/feature-flags/
[hook-concept]: https://openfeature.dev/docs/reference/concepts/hooks