metrex v0.2.0 Metrex.Hook behaviour
This module helps to sync and async hooks into the lifecycle of init and exit signals for metrics.
Please refer to README.md
file for more information.
Summary
Callbacks
Specs
counter_exit(reason :: atom, metric :: String.t, val :: integer) :: :ok
Specs
meter_exit(reason :: atom, metric :: String.t, val :: [atom]) :: :ok