Setting Up Dubbo Admin for Service Management
Dubbo Admin serves as a web-based management tool for monitoring and administering Dubbo services in distributed environments. It offers features such as service registration, real-time monitoring, dynamic configuration, and visualization of service dependencies.
Installation Steps
-
Clone the Repository
git clone https://github.com/apache/dubbo-admin.git -
Configuration Adjustment Modify
application-dev.propertiesto point to your ZooKeeper instance:admin.registry.address=zookeeper://127.0.0.1:2181 admin.config-center=zookeeper://127.0.0.1:2181 admin.metadata.address=zookeeper://127.0.0.1:2181 -
Frontend Compilation Install dependencies and start the frontend:
npm install npm run devEnsure the proxy settings in
vue.config.jsmatch the backend server's address. -
Accessing the Interface Navigate to
http://localhost:38082using the default credentials (root/root).
Service Integration
Launch your Dubbo services registered to the same ZooKeeper instance. The admin interface will automatically detect and display these services, allowing for detailed inspection and testing.
Advanced Features
- Service Testing: Execute methods direct from the interface to verify functionality.
- Governance Tools: Utilize routing modes, blacklists, and service weighting for enhanced control.
- Analytics: Access statistical data and configure rules for optimized service performance.