update readme
This commit is contained in:
parent
fe7b5bd14f
commit
aa8bdc7c60
24
README.md
24
README.md
|
@ -2,14 +2,34 @@
|
|||
|
||||
chassis 微服务基座依赖的服务
|
||||
|
||||
已整合
|
||||
## 已整合
|
||||
|
||||
- Metrics
|
||||
- Statsd
|
||||
- Statsd-exporter
|
||||
- Logging
|
||||
- 整合 ELK
|
||||
|
||||
TODO:
|
||||
## 启动 Metrics 相关服务
|
||||
|
||||
根据实际的nameko微服务去配置 statsd_mapping.yml
|
||||
|
||||
grafana 的配置在:./service_configs/admin_service/grafana/xxxx.json (根据具体nameko服务创建json文件)
|
||||
|
||||
启动服务的命令:
|
||||
|
||||
`docker-compose -f docker-compose-metrics.yml up -d --build --remove-orphans`
|
||||
|
||||
|
||||
## 启动 Logging 相关服务
|
||||
|
||||
启动服务的命令:
|
||||
|
||||
`docker-compose -f docker-compose-logging.yml up -d --build --remove-orphans`
|
||||
|
||||
|
||||
## TODO
|
||||
|
||||
- Metrics
|
||||
- 整合 Prometheus
|
||||
- 整合 Grafana
|
||||
|
|
|
@ -16,7 +16,7 @@ services:
|
|||
- "discovery.type=single-node" #单机模式启动
|
||||
- "TZ=Asia/Shanghai" # 设置时区
|
||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m" # 设置jvm内存大小
|
||||
- "xpack.security.enabled=false"
|
||||
- "xpack.security.enabled=false" # 关闭 ssl/tls(必须)
|
||||
ports:
|
||||
- "9200:9200"
|
||||
expose:
|
||||
|
|
Loading…
Reference in New Issue