Sonda v0.4.0 Sonda.Agent View Source

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

child_spec(arg)

View Source
child_spec(spec_opts :: config_opts() | {config_opts(), keyword()}) ::
  Supervisor.child_spec()

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

configure(sink)

View Source
configure(sink :: Sonda.Sink.t()) :: config()
Link to this function

get_sink(server, fun)

View Source
get_sink(server :: t(), (Sonda.Sink.t() -> any())) :: any()
Link to this function

record(server, signal, data)

View Source
record(server :: t(), signal :: Sonda.Sink.signal(), data :: any()) :: :ok
Link to this function

start_link(config_opts)

View Source
start_link(config_opts :: config_opts()) :: Agent.on_start()
Link to this function

start_link(config_opts, opts)

View Source
start_link(config_opts :: config_opts(), opts :: keyword()) :: Agent.on_start()