View Source erlperf_history (erlperf v2.1.0)

Collects, accumulates & filters cluster-wide monitoring events. Essentially a simple in-memory database for quick cluster overview. Started only when the application is configured for running in a primary node.

Link to this section Summary

Functions

Returns cluster history from time From (all fields), sorted by time.
Returns records between From and To (inclusive) Both From and To are Erlang system time in milliseconds.
Starts the server

Link to this section Functions

-spec get(From :: integer()) -> [{node(), erlperf_monitor:monitor_sample()}].
Returns cluster history from time From (all fields), sorted by time.
-spec get(From :: integer(), To :: integer()) -> [{node(), erlperf_monitor:monitor_sample()}].
Returns records between From and To (inclusive) Both From and To are Erlang system time in milliseconds.
Link to this function

handle_call(Request, From, State)

View Source
Link to this function

handle_cast(Request, State)

View Source
-spec start_link() -> {ok, Pid :: pid()} | ignore | {error, Reason :: term()}.
Starts the server