with cratedb cluster && grafana && grok exporter demo
CREATE TABLE "metrics" (
"timestamp" TIMESTAMP,
"labels_hash" STRING,
"labels" OBJECT(DYNAMIC),
"value" DOUBLE,
"valueRaw" LONG,
"day__generated" TIMESTAMP GENERATED ALWAYS AS date_trunc('day', "timestamp"),
PRIMARY KEY ("timestamp", "labels_hash", "day__generated")
) PARTITIONED BY ("day__generated");
docker-compose up -d
- cratedb ui
open http://localhost:4200
- prometheuss
open http://localhost:9090
- grafana
open http://localhost:3000