View Source Chaperon.Scenario.Metrics (doma_chaperon v0.3.2)
This module calculates histogram data for a session's metrics.
It uses the Histogrex library to calculate the histograms.
Link to this section Summary
Functions
Replaces base metrics for a given session with the histogram values for them.
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1.
Link to this section Types
Link to this section Functions
@spec add_histogram_metrics(Chaperon.Session.t()) :: Chaperon.Session.t()
Replaces base metrics for a given session with the histogram values for them.
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec get_names() :: [atom()]
Callback implementation for GenServer.init/1.