AuroraMeter.Schema.History (Aurora Meter v0.4.0)

View Source

A flushed snapshot of a usage history bucket (bucket_kind "day", UTC) for one {tenant_key, feature, bucket_start}. Maintained by the flusher alongside the period counters when :history is enabled, and read by AuroraMeter.history/3 for charts.

Summary

Types

t()

@type t() :: %AuroraMeter.Schema.History{
  __meta__: term(),
  bucket_kind: term(),
  bucket_start: term(),
  feature: term(),
  id: term(),
  inserted_at: term(),
  tenant_key: term(),
  updated_at: term(),
  value: term()
}