View Source Exbox.Metrics.MetricHandler (Exbox v0.3.7)
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> Exbox.Metrics.MetricHandler.handle_event([:phoenix, :endpoint, :stop], measurements, metadata, config)
:ok