标签:redis get style 数据库 evel tps dash pac ref
redash 、superset 、metabase 都是很不错的数据分析工具,支持多种数据源,同时可以方便的生成报表
基本上都支持定制化报表界面、通知(定时),metabase 有点偏产品,superset 使用上,也挺不错,同时
已经在apache 进行孵化
使用docker compose 运行测试
version: ‘2‘
services:
server:
image: redash/redash:latest
command: server
depends_on:
- postgres
- redis
ports:
- "5000:5000"
environment:
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
REDASH_COOKIE_SECRET: veryverysecret
REDASH_WEB_WORKERS: 4
worker:
image: redash/redash:latest
command: scheduler
environment:
PYTHONUNBUFFERED: 0
REDASH_LOG_LEVEL: "INFO"
REDASH_REDIS_URL: "redis://redis:6379/0"
REDASH_DATABASE_URL: "postgresql://postgres@postgres/postgres"
QUEUES: "queries,scheduled_queries,celery"
WORKERS_COUNT: 2
redis:
image: redis:3.0-alpine
mongodb:
image: mongo:3.2
ports:
- "27017:27017"
click:
image: yandex/clickhouse-server
ports:
- "8123:8123"
- "9000:9000"
- "9009:9009"
ulimits:
nproc: 65535
nofile:
soft: 262144
hard: 262144
postgres:
image: postgres:9.5.6-alpine
ports:
- "5432:5432"
# volumes:
# - /opt/postgres-data:/var/lib/postgresql/data
nginx:
image: redash/nginx:latest
ports:
- "80:80"
depends_on:
- server
links:
- server:redash
docker-compose up -d
docker-compose run --rm server create_db
redash 使用起来简单,支持的图表也是比较多的,同时支持的数据模型也比较多,官方文档还行,说的也是比较清晰的。
https://github.com/getredash/redash
https://github.com/rongfengliang/redash-docker-compose
标签:redis get style 数据库 evel tps dash pac ref
原文地址:https://www.cnblogs.com/rongfengliang/p/9901464.html