DistributionSummary

A generic distribution summary to track the sample distribution of events.

class Object
trait Matchable
class Any

Value members

Abstract methods

def count: F[Long]

The number of times that record has been called since this summary was created.

The number of times that record has been called since this summary was created.

Returns:

an effect evaluating to the current event count of the summary

def record(value: Double): F[Unit]

Updates the statistics kept by the summary with the specified amount. For example, the size in bytes of responses from a server. If the amount is less than 0 the value will be dropped.

Updates the statistics kept by the summary with the specified amount. For example, the size in bytes of responses from a server. If the amount is less than 0 the value will be dropped.

Value parameters:
value

Amount for the event being measured.