Oban.Met.Value protocol (Oban Met v0.1.7)

Tracked data access functions.

Summary

Types

t()

All the types that implement this protocol.

Functions

Add or append a new value to the data type.

Merge two values into one.

Compute the quantile for a value.

Sum all data points for a value.

Union two values by reducing them into one.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

add(struct, value)

Add or append a new value to the data type.

Link to this function

merge(struct_1, struct_2)

Merge two values into one.

Link to this function

quantile(struct, quantile)

Compute the quantile for a value.

Sum all data points for a value.

Link to this function

union(struct_1, struct_2)

Union two values by reducing them into one.