Skip to content

Commit 8413f30

Browse files
committed
clickhouse + grafana + vector
1 parent 513e030 commit 8413f30

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

doc/README-ClickHouse-Grafana.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ Grafana:
3434
- User: `admin`
3535
- Password: `admin`
3636

37+
DB viewer (ClickLens):
38+
39+
- URL: `http://localhost:3000`
40+
- Login user: `default`
41+
- Login password: *(empty)*
42+
- These credentials are validated against ClickHouse.
43+
- ClickHouse host: `clickhouse`
44+
- ClickHouse port: `8123`
45+
- Use this to run ad-hoc SQL against ClickHouse without curl.
46+
3747
Dashboard provisioning:
3848

3949
- Folder: `JCT`

docker-compose-clickhouse.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,22 @@ services:
4242
- grafana-data:/var/lib/grafana
4343
- ./doc/grafana/provisioning:/etc/grafana/provisioning:ro
4444

45+
clicklens:
46+
image: ghcr.io/ntk148v/clicklens:latest
47+
container_name: jct-clicklens
48+
depends_on:
49+
clickhouse:
50+
condition: service_healthy
51+
environment:
52+
- CLICKHOUSE_HOST=clickhouse
53+
- CLICKHOUSE_PORT=8123
54+
- LENS_USER=default
55+
- LENS_PASSWORD=
56+
- SESSION_SECRET=0123456789abcdef0123456789abcdef
57+
- NODE_ENV=production
58+
ports:
59+
- "3000:3000"
60+
4561
volumes:
4662
clickhouse-data:
4763
grafana-data:

0 commit comments

Comments
 (0)