Skip to content

Commit

Permalink
docs: Informs the on_ending callback is an experimental features from…
Browse files Browse the repository at this point in the history
… official spec

Signed-off-by: Gustavo Pantuza <[email protected]>
  • Loading branch information
pantuza committed Sep 2, 2024
1 parent e1c7cc3 commit 2c28b76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/lib/opentelemetry/sdk/trace/span_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2c28b76

Please sign in to comment.