simplestatex v0.1.1 SimpleStatEx.Server.SimpleStatSet

A service that holds statistic counters mapped by time period in memory.

Link to this section Summary

Link to this section Functions

Link to this function add_stat(category_bucket, simple_stat)

Add a statistic to the state

Link to this function get_stats(category_bucket, period \\ :all)
Link to this function get_stats!(category_bucket)
Link to this function handle_call(arg, category_state)
Link to this function query_stats(category_bucket, simple_stat, simple_stat_query)

Select stats from state based on query parameters

Link to this function query_stats!(category_bucket, simple_stat, simple_stat_query)
Link to this function reset(category_bucket)

Reset the stat bucket

Link to this function start_link(name)

Start with a name that was generated by simple stat protocol