Module passage_sampler_null

Null Sampler.

Copyright © 2017 Takeru Ohta <phjgt308@gmail.com>

Behaviours: passage_sampler.

Description

Null Sampler.

This sampler discards all the spans.

Examples

  Context = passage_span_context_null,
  Sampler = passage_sampler_null:new(),
  Reporter = passage_reporter_null:new(),
 
  ok = passage_tracer_registry:register(foo, Context, Sampler, Reporter).

Function Index

new/0Makes a new sampler.

Function Details

new/0

new() -> passage_sampler:sampler()

Makes a new sampler.


Generated by EDoc