Skip to content

rongfengliang/prometheus-cratedb-cluster-docker-compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cratedb adapter for prometheus

with cratedb cluster && grafana && grok exporter demo

Create cratedb table

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");

Running

docker-compose up -d

View UI && info

  • cratedb ui
open http://localhost:4200
  • prometheuss
open http://localhost:9090
  • grafana
open http://localhost:3000

About

prometheus-cratedb-cluster-docker-compose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published