Formats a Stampede.Result for the terminal, or as JSON.
Summary
Functions
Returns a summary of result, with a line per metric followed by the
checks, the thresholds and the most frequent errors, if there are any.
Returns result as JSON, with every metric, the timeline, the thresholds
and the errors.
Functions
@spec format(Stampede.Result.t()) :: String.t()
Returns a summary of result, with a line per metric followed by the
checks, the thresholds and the most frequent errors, if there are any.
@spec to_json(Stampede.Result.t()) :: String.t()
Returns result as JSON, with every metric, the timeline, the thresholds
and the errors.
Timings are in milliseconds and rates per second, as in Stampede.Result.