From 2c28b768daa0ffe6c9a24a5b5f37f811454aa2f8 Mon Sep 17 00:00:00 2001 From: Gustavo Pantuza Date: Mon, 2 Sep 2024 11:30:56 -0300 Subject: [PATCH] docs: Informs the on_ending callback is an experimental features from official spec Signed-off-by: Gustavo Pantuza --- sdk/lib/opentelemetry/sdk/trace/span_processor.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/lib/opentelemetry/sdk/trace/span_processor.rb b/sdk/lib/opentelemetry/sdk/trace/span_processor.rb index c5c7c7e17..089c9b3b2 100644 --- a/sdk/lib/opentelemetry/sdk/trace/span_processor.rb +++ b/sdk/lib/opentelemetry/sdk/trace/span_processor.rb @@ -23,6 +23,8 @@ class SpanProcessor # started span. def on_start(span, parent_context); end + # The on_ending is an experimental feature and may have breaking changes. + # # Called when a {Span} is ending, after the end timestamp has been set # but before span becomes immutable. This allows for updating the span # by setting attributes or adding links and events.