Class: OpenCensus::Trace::Samplers::NeverSample
- Inherits:
-
Object
- Object
- OpenCensus::Trace::Samplers::NeverSample
- Defined in:
- lib/opencensus/trace/samplers/never_sample.rb
Overview
The NeverSample sampler always returns false.
Instance Method Summary collapse
-
#call(_opts = {}) ⇒ boolean
Implements the sampler contract.
Instance Method Details
#call(_opts = {}) ⇒ boolean
Implements the sampler contract. Checks to see whether a sample should be taken at this time.
29 30 31 |
# File 'lib/opencensus/trace/samplers/never_sample.rb', line 29 def call _opts = {} false end |