simplestatex v0.3.0 API Reference


SimpleStatEx is a lightweight library that supports logging simple statistics for any elixir project, including the Phoenix Framework. Stats are stored via ecto to your data store or in memory. They are rolled up by category and time window and can be queried conveniently. SimpleStatEx provides the recommended interface to your stats

Interface to query stats from the configured Repo

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

SimpleStatHolder represents a set of stats held in memory

SimpleStatQuery provides a convenient guide to querying the simplestats table

Helps handle time as it pertains to roll-ups and statistics generally

Mix Tasks

Copies the migration file used to create the simplestats table to the dependent application