Skip to content

Commit 2e86b7d

Browse files
committed
feat: update docs for new hooks
Signed-off-by: Lukas Reining <[email protected]>
1 parent 0d86af7 commit 2e86b7d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libs/hooks/open-telemetry/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ This is useful for exporting evaluation events to a backend that supports [OpenT
4444
This hook adds evaluation [span events][otel-span-events] to the current active span.
4545
This is useful for associating evaluation events with a trace.
4646
If there is no active span, the event is not logged.
47-
**Note:** Span events are being deprecated in favor of [using log events via `EventHook`](#eventhook).
47+
**Note:** [Span events are being deprecated in OTEL][span-event-deprecation-otep] in favor of [using log events via `EventHook`](#eventhook).
4848

4949
### SpanHook
5050

@@ -184,6 +184,8 @@ Run `nx test hooks-open-telemetry` to execute the unit tests via [Jest](https://
184184

185185
[hook-concept]: https://openfeature.dev/docs/reference/concepts/hooks
186186

187+
[span-event-deprecation-otep]: https://github.com/open-telemetry/opentelemetry-specification/blob/fbcd7a3126a545debd9e6e5c69b7b67d4ef1c156/oteps/4430-span-event-api-deprecation-plan.md
188+
187189
[otel-tracing-js]: https://opentelemetry.io/docs/languages/js/instrumentation/#initialize-tracing
188190

189191
[otel-metrics-js]: https://opentelemetry.io/docs/languages/js/instrumentation/#initialize-metrics

0 commit comments

Comments
 (0)