riemannx v4.1.2 Riemannx.Metrics behaviour View Source

This is the callback module for metrics, you can extend this to report metrics to any kind of metric software (graphite, influx etc.)

Link to this section Summary

Link to this section Functions

Link to this function

tcp_message_sent(s)

View Source
tcp_message_sent(non_neg_integer()) :: :ok
Link to this function

tls_message_sent(s)

View Source
tls_message_sent(non_neg_integer()) :: :ok
Link to this function

udp_message_sent(s)

View Source
udp_message_sent(non_neg_integer()) :: :ok

Link to this section Callbacks

Link to this callback

tcp_message_sent(size)

View Source
tcp_message_sent(size :: non_neg_integer()) :: :ok
Link to this callback

tls_message_sent(size)

View Source
tls_message_sent(size :: non_neg_integer()) :: :ok
Link to this callback

udp_message_sent(size)

View Source
udp_message_sent(size :: non_neg_integer()) :: :ok