Time Series Reference
ArcadeDB’s native time series engine is documented in the Time Series Concepts section, which covers:
-
Schema —
CREATE TIMESERIES TYPEsyntax with all options (timestamp precision, tags, fields, shards, retention, compaction, block size) -
Ingestion — Four ingestion methods: InfluxDB Line Protocol, Prometheus remote_write, SQL INSERT, Java Embedded API
-
SQL Functions —
ts.timeBucket(),ts.rate(),ts.percentile(),ts.interpolate(),ts.delta(),ts.movingAvg(),ts.correlate(),ts.lag(),ts.lead(),ts.rowNumber(),ts.rank() -
PromQL — Native PromQL parser and evaluator with HTTP endpoints for instant queries, range queries, and label discovery
-
Continuous Aggregates — Watermark-based incremental refresh with
CREATE CONTINUOUS AGGREGATE -
Retention & Downsampling — Automatic data lifecycle management with multi-tier downsampling
-
Grafana Integration — DataFrame-compatible endpoints for the Infinity datasource plugin
-
HTTP API — 13 REST endpoints for ingestion, querying, PromQL, and Grafana
Quick Reference
Create a type |
|
Ingest (Line Protocol) |
|
Ingest (SQL) |
|
Query (SQL) |
|
Query (PromQL) |
|
Retention |
|
Downsampling |
|
Continuous aggregate |
|
See Time Series Concepts for full documentation, examples, and architecture details.