das

command module
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

das

License

What is das?

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.

Deployment

The project can be deployed according to the following steps:

  1. Use Percona Monitoring and Management to centrally manage MySQL that needs to be monitored (omitted)
  2. Install a local MySQL database to store das data, and the database table structure is in the sql directory of das
  3. Install sql tuning tool soar into the bin directory
  4. Create configuration files das.yaml and soar.yaml in the config directory, there are template yaml files in the config directory
  5. 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

Quick Start

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

Contributing

License

Copyright das Authors. Licensed under the Apache License, Version 2.0.

Documentation

Overview

Copyright © 2020 Romber Li <romber2001@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL