bonny v0.3.3 Bonny.Telemetry
List of telemetry events.
Link to this section Summary
Link to this section Functions
Link to this function
emit(names)
emit(names)
emit([atom()]) :: :ok
emit([atom()]) :: :ok
Wrapper around :telemetry.execute/3
.
Prepends :bonnny
to all atom lists.
Link to this function
emit(names, measurements, metadata)
Link to this function
events()
events()
events() :: [[atom()]]
events() :: [[atom()]]
Link to this function
measure(function)
Measures a functions execution time in seconds
Examples
iex> Bonny.Telemetry.measure fn ->
...> :timer.sleep(1000)
...> "Hello!"
...> end
{1.00426, "Hello!"}