一款专业的企业级 StarRocks 数据库集群管理工具
StarRocks Admin is a professional, enterprise-grade StarRocks database cluster management tool that provides an intuitive web interface for managing and monitoring multiple StarRocks clusters. Compared to StarRocks' native management interface, this platform offers richer functionality and a better user experience.
# 1. Clone the project
git clone https://github.com/jlon/starrocks-admin.git
cd starrocks-admin
# 2. Build and package
make build
# 3. Start the service
cd build/dist
./bin/starrocks-admin.sh start
# 4. Access the application
open http://localhost:8080# Option 1: Use pre-built image from Docker Hub
docker pull ghcr.io/jlon/starrocks-admin:latest
docker run -d -p 8080:8080 --name starrocks-admin \
-v $(pwd)/data:/app/data \
-v $(pwd)/logs:/app/logs \
ghcr.io/jlon/starrocks-admin:latest
# Option 2: Build from source
git clone https://github.com/jlon/starrocks-admin.git
cd starrocks-admin
make docker-build # Build Docker image
make docker-up # Start Docker container
# Access the application
open http://localhost:8080For detailed deployment guides including Kubernetes YAML and Helm Chart deployment, see: Deployment Guide
StarRocks Admin provides an intuitive and beautiful web management interface covering all aspects of cluster management.
Unified management of multiple StarRocks clusters with support for adding, editing, and deleting cluster configurations.
Real-time display of overall cluster status, performance metrics, and resource usage for a comprehensive view of cluster health.
Detailed cluster metrics and performance indicators.
Resource usage and capacity planning insights.
View and manage Frontend (FE) nodes, monitoring their running status and resource usage.
View and manage Backend (BE) nodes with detailed performance metrics.
Real-time view of executing queries with support for query termination and performance analysis.
Monitor actively running queries and their execution status.
Comprehensive audit logs for all executed queries with detailed metadata.
Detailed query execution profiles for performance analysis and optimization.
In-depth query performance metrics and execution plans.
View and manage all materialized views in the cluster, with support for enabling, disabling, and editing.
Detailed materialized view configuration and refresh status.
Quick access to system functions with support for custom SQL execution and common operations.
Manage database connection sessions, view active sessions and historical connection information.
Configure and manage system variables with support for viewing and modifying runtime parameters.
Manage system users, roles, and permissions with fine-grained access control.
Multi-tenant organization management for enterprise deployments.
Define and manage user roles with customizable permission sets.
Before adding a cluster, you need to create a dedicated monitoring user with appropriate read-only permissions in StarRocks.
# Execute the permission setup script
cd scripts
mysql -h -P 9030 -u root -p -P 9030 -u starrocks_monitor -p -P 9030 -u root -p -P 9030 -u starrocks_monitor -p < verify_permissions.sql详细的权限配置指南请参考 scripts/permissions/README_PERMISSIONS.md
安全提示: 生产环境禁止使用 root 账号,务必创建专用的监控账号并遵循最小权限原则。
…APP_METRICS_INTERVAL_SECS=1m \
APP_METRICS_RETENTION_DAYS=14d \
APP_METRICS_ENABLED=true \查看 CHANGELOG.md 了解详细的版本发布说明和历史记录。
我们欢迎所有形式的贡献!请遵循以下步骤:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)本项目采用 Apache License 2.0 许可证 - 查看 LICENSE 文件了解详情。
如有任何问题或疑问,欢迎通过邮件联系我:
暂无开放 Issues,或尚未同步最近议题。