prometheus unified rules and alarms management platform
# 克隆代码
git clone https://github.com/aide-cloud/prometheus-manager.git
# 进入项目目录
cd prometheus-manager
# 安装依赖
make init
# 启动服务
kratos run
kratos proto add api/<module-name>/<version>/<api-name>.proto
# 生成 api pb
make api
# 生成 service
kratos proto server api/<module-name>/<version>/<api-name>.proto -t apps/<server-app-name>/internal/service
# 生成 config
make config
# build
docker build -t <your-docker-image-name> .
# run
docker run --rm -p 8000:8000 -p 9000:9000 -v </path/to/your/configs>:/data/conf <your-docker-image-name>