class OpenCensus::Trace::Samplers::AlwaysSample

The AlwaysSample sampler always returns true.

Public Instance Methods

call(_opts = {}) click to toggle source

Implements the sampler contract. Checks to see whether a sample should be taken at this time.

@return [boolean] Whether to sample at this time.

# File lib/opencensus/trace/samplers/always_sample.rb, line 29
def call _opts = {}
  true
end