2023-05-23 22:24:55 +08:00
|
|
|
|
# chassis-agent
|
2023-05-23 21:02:07 +08:00
|
|
|
|
|
2023-05-23 22:24:55 +08:00
|
|
|
|
chassis 微服务基座依赖的服务
|
|
|
|
|
|
2023-05-25 13:54:12 +08:00
|
|
|
|
## 已整合
|
|
|
|
|
|
2023-05-24 01:56:08 +08:00
|
|
|
|
- Metrics
|
|
|
|
|
- Statsd
|
|
|
|
|
- Statsd-exporter
|
2023-05-24 18:42:40 +08:00
|
|
|
|
- Logging
|
2023-05-25 13:55:13 +08:00
|
|
|
|
- Elasticsearch
|
|
|
|
|
- Logstash
|
|
|
|
|
- Kibana
|
|
|
|
|
- Fluentd
|
2023-05-29 16:46:03 +08:00
|
|
|
|
- Gateway
|
|
|
|
|
- APISIX
|
2023-05-29 16:10:41 +08:00
|
|
|
|
- MiddleWares
|
|
|
|
|
- RabbitMQ
|
|
|
|
|
- Mysql
|
|
|
|
|
- ……
|
2023-05-23 22:24:55 +08:00
|
|
|
|
|
2023-05-25 13:54:12 +08:00
|
|
|
|
## 启动 Metrics 相关服务
|
|
|
|
|
|
|
|
|
|
根据实际的nameko微服务去配置 statsd_mapping.yml
|
|
|
|
|
|
|
|
|
|
grafana 的配置在:./service_configs/admin_service/grafana/xxxx.json (根据具体nameko服务创建json文件)
|
|
|
|
|
|
|
|
|
|
启动服务的命令:
|
|
|
|
|
|
2023-05-30 17:12:58 +08:00
|
|
|
|
`docker-compose -f docker-compose-metrics.yml up -d --build`
|
2023-05-25 13:54:12 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 启动 Logging 相关服务
|
|
|
|
|
|
|
|
|
|
启动服务的命令:
|
|
|
|
|
|
2023-05-30 17:12:58 +08:00
|
|
|
|
`docker-compose -f docker-compose-logging.yml up -d --build`
|
2023-05-25 13:54:12 +08:00
|
|
|
|
|
|
|
|
|
|
2023-05-29 16:46:03 +08:00
|
|
|
|
## 启动 APISIX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
启动服务的命令:
|
|
|
|
|
|
2023-05-30 17:12:58 +08:00
|
|
|
|
`docker-compose -f docker-compose-apisix.yml up -d --build`
|
2023-05-29 16:46:03 +08:00
|
|
|
|
|
|
|
|
|
|
2023-05-29 16:10:41 +08:00
|
|
|
|
## 启动 RabbitMQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
启动服务的命令:
|
|
|
|
|
|
2023-05-30 17:12:58 +08:00
|
|
|
|
`docker-compose -f docker-compose-rabbitmq.yml up -d --build`
|
2023-05-29 16:10:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## 启动 Mysql
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
启动服务的命令:
|
|
|
|
|
|
2023-05-30 17:12:58 +08:00
|
|
|
|
`docker-compose -f docker-compose-mysql.yml up -d --build`
|
2023-05-29 16:10:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-25 13:54:12 +08:00
|
|
|
|
## TODO
|
|
|
|
|
|
2023-05-24 01:56:08 +08:00
|
|
|
|
- Metrics
|
2023-05-25 13:55:13 +08:00
|
|
|
|
- Prometheus
|
|
|
|
|
- Grafana
|
2023-05-24 01:56:08 +08:00
|
|
|
|
- Error Reporting
|
2023-06-06 16:14:45 +08:00
|
|
|
|
- Sentry
|
|
|
|
|
- 事务服务
|
|
|
|
|
- DTM
|