AckdbDashboardTimeseriesSpec

One dense point per bucket. `bucket` x `windowDays` must yield at most 366 points (so a `day` bucket caps at 366 days), rejected at save/preview otherwise.

Properties

metricone ofrequired

Duck-typed union: an EVENT metric, a SCORE metric, or the MEMBERSHIP metric.

Option 1
sourcestringrequired
eventTypestringrequired
aggstringrequired
"count""sum""distinct_contacts"
fieldstring
Option 2
scoreKeystringrequired
Option 3
membershipbooleanrequired
true
bucketstringrequired
"day""week""month"
windowDaysintegerrequiredmin 1 · max 730

Example

AckdbDashboardTimeseriesSpec example
{
  "metric": {
    "source": "string",
    "eventType": "invoice.paid",
    "agg": "count",
    "field": "string"
  },
  "bucket": "day",
  "windowDays": 0
}