leo_metrics_req

The metrics of request.

Behaviours: `leo_statistics_behaviour <leo_statistics_behaviour.html>`__.

References

Description

The metrics of request

Function Index

handle_notify/0  
notify/1 Put a value into the savanna from an application.
notify/2  
start_link/1 Start the metrics.

Function Details

handle_notify/0

handle_notify() -> ok

notify/1

notify(Column) -> ok | {error, any()}

  • Column = atom()

Put a value into the savanna from an application

notify/2

notify(Key, Size) -> ok | {error, any()}

  • Key = atom()
  • Size = pos_integer()