fix: support preproduction monitoring on arm64
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
本目录提供系统监控第一版所需的真实采集配置。运营端不嵌入Prometheus或Grafana页面;NestJS仅从本机Prometheus读取固定指标,再由平台原生UI展示。
|
||||
|
||||
在目标Debian/Ubuntu测试服务器上,以root执行:
|
||||
在目标 Debian/Ubuntu(apt)或 Alibaba Cloud Linux 4 ARM64 测试服务器上,以 root 执行:
|
||||
|
||||
```bash
|
||||
cd /opt/cmpp-platform
|
||||
@@ -10,7 +10,7 @@ bash tools/monitoring/install-prometheus-monitoring.sh
|
||||
bash tools/monitoring/install-service-exporters.sh
|
||||
```
|
||||
|
||||
第一个脚本安装Prometheus与Node Exporter,备份已有配置并校验规则;第二个脚本安装PostgreSQL、Redis和Nginx Exporter,开启MinIO回环原生指标。API指标仅监听`127.0.0.1:9464`,Gateway指标复用回环控制端口`8090`。9090、9100、9187、9121、9113和9464均不得对公网开放。两个脚本均会打印恢复资产路径。
|
||||
Debian/Ubuntu 使用系统包;Alibaba Cloud Linux 4 ARM64 使用脚本中锁定版本和 SHA-256 的官方 release 二进制。第一个脚本安装 Prometheus 与 Node Exporter,备份已有配置并校验规则;第二个脚本安装 PostgreSQL、Redis 和 Nginx Exporter,开启 MinIO 回环原生指标。API 指标仅监听 `127.0.0.1:9464`,Gateway 指标复用回环控制端口 `8090`。9090、9100、9187、9121、9113 和 9464 均不得对公网开放。两个脚本均会打印恢复资产路径。
|
||||
|
||||
安装后将下列配置写入`/etc/cmpp-platform/cmpp-platform.env`,再按正常发布窗口重启API:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user