opentelemetry-api 1.0.0.rc2
v1.0.0.rc2 / 2021-06-23
-
BREAKING CHANGE: Remove optional parent_context from in_span 729
-
BREAKING CHANGE: Refactor Baggage to remove Noop* 800
- The noop baggage manger has been removed.
- The baggage management methods are now available through OpenTelemetry::Baggage#method, previously OpenTelemetry.baggage#method
-
BREAKING CHANGE: Total order constraint on span.status= 805
- The OpenTelemetry::Trace::Util::HttpToStatus module has been removed as it was incorrectly setting the span status to OK for codes codes in the range 100..399
- The HttpToStatus module can be replaced inline as follows
span.status = OpenTelemetry::Trace::Status.error unless (100..399).include?(response_code.to_i)
- The
Status.new(code, description:)
initializer has been hidden in favour of simpler constructors for each status code:Status.ok
,Status.error
andStatus.unset
. Each constructor takes an optional description.
-
ADDED: Add Tracer.non_recording_span to API 799
-
FIXED: Reduce span allocation in API 795
-
FIXED: Return early if carrier is nil 835
-
FIXED: Update context to match spec 807
- The
Context.current
setter has been removed and the previously private attach/detach methods are now available as class methods on the context module.
- The