das is an open source project that provides a reliable autonomous platform for the usage and management of MySQL database. This autonomous platform provides real-time monitoring of the MySQL database, regular inspections, and healthcheck alarms. The platform will centrally manage the MySQL database to assist users in using the MySQL database in a more standardized and efficient manner.
The project can be deployed according to the following steps:
- Use Percona Monitoring and Management to centrally manage MySQL that needs to be monitored (omitted)
- Install a local MySQL database to store das data, and the database table structure is in the sql directory of das
- Install sql tuning tool soar into the bin directory
- Create configuration files das.yaml and soar.yaml in the config directory, there are template yaml files in the config directory
- das uses soar as Linux shell command, so on Windows, we need to create a shell environment by installing cygwin or mingw, normally, installing git tool is enough, make sure that the paths of soar.exe and sh.exe are in the PATH environment
The following software is required to work with the das codebase and build it locally:
- Go version
Go >= 1.16
To check the source code and build binaries, you can simply run:
Build
go build -o das main.go
Start
./das start --config=./config/das.yaml
Swagger
http://127.0.0.1:6090/swagger/index.html
Copyright das Authors. Licensed under the Apache License, Version 2.0.