lib/opentelemetry/sdk/trace/samplers/decision.rb in opentelemetry-sdk-0.2.0 vs lib/opentelemetry/sdk/trace/samplers/decision.rb in opentelemetry-sdk-0.3.0

- old
+ new

@@ -10,16 +10,16 @@ module Samplers # The Decision module contains a set of constants to be used in the # decision part of a sampling {Result}. module Decision # Decision to not record events and not sample. - NOT_RECORD = OpenTelemetry::Trace::SamplingHint::NOT_RECORD + NOT_RECORD = :__not_record__ # Decision to record events and not sample. - RECORD = OpenTelemetry::Trace::SamplingHint::RECORD + RECORD = :__record__ # Decision to record events and sample. - RECORD_AND_SAMPLED = OpenTelemetry::Trace::SamplingHint::RECORD_AND_SAMPLED + RECORD_AND_SAMPLED = :__record_and_sampled__ end end end end end