Tapper v0.6.0 Tapper.Tracer.Supervisor View Source

Supervises Tapper.Tracer.Server instances.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Callback invoked to start the supervisor and during hot code upgrades

start tracing server with initial trace info

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback invoked to start the supervisor and during hot code upgrades.

Developers typically invoke Supervisor.init/2 at the end of their init callback to return the proper supervision flags.

Callback implementation for Supervisor.init/1.

Link to this function

start_tracer(id, shared, timestamp, opts) View Source
start_tracer(
  id :: Tapper.Id.t(),
  shared :: boolean(),
  timestamp :: Tapper.Timestamp.t(),
  opts :: Keyword.t()
) :: Supervisor.on_start_child()

start tracing server with initial trace info