View Source Zexbox.Metrics.MetricHandler (Zexbox v0.6.0)
This module is responsible for logging controller metrics to influx
Summary
Functions
This function is called by the Phoenix endpoint when a controller action is finished. It will log the controller metrics to influx.
Functions
This function is called by the Phoenix endpoint when a controller action is finished. It will log the controller metrics to influx.
Examples:
iex> Zexbox.Metrics.MetricHandler.handle_event([:phoenix, :endpoint, :stop], measurements, metadata, config)
:ok