AuroraMeter.Storage.Ecto (Aurora Meter v0.4.0)

View Source

Default AuroraMeter.Storage adapter, backed by the host's Ecto repo (AuroraMeter.Config.repo/0). Counter and event writes use insert_all for throughput. Flushes add deltas in a transaction with a unique batch receipt, so retrying an uncertain commit cannot duplicate usage.