Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rongfengliang/prometheus-cratedb-cluster-docker-compose
prometheus-cratedb-cluster-docker-compose
https://github.com/rongfengliang/prometheus-cratedb-cluster-docker-compose
cratedb docker-compose prometheu
Last synced: 4 days ago
JSON representation
prometheus-cratedb-cluster-docker-compose
- Host: GitHub
- URL: https://github.com/rongfengliang/prometheus-cratedb-cluster-docker-compose
- Owner: rongfengliang
- Created: 2019-08-17T16:19:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-31T08:02:05.000Z (10 months ago)
- Last Synced: 2024-01-31T09:26:28.669Z (10 months ago)
- Topics: cratedb, docker-compose, prometheu
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cratedb adapter for prometheus
> with cratedb cluster && grafana && grok exporter demo
## Create cratedb table
```code
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
```code
docker-compose up -d
```## View UI && info
* cratedb ui
```code
open http://localhost:4200
```* prometheuss
```code
open http://localhost:9090
```* grafana
```code
open http://localhost:3000
```