We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
如果是纯Jar包依赖的方式,请添加-Dcom.alibaba.metrics.http.port=xxx并指定端口
-Dcom.alibaba.metrics.http.port=xxx
Metrics默认的数据落盘采用的是二进制方式,暂时不支持多进程同时写入,需要切换到日志方式。
com.alibaba.metrics.reporter.bin.enable=false
关闭二进制日志输出
com.alibaba.metrics.log.path=/path/to/your/dir
最后日志会输出在 你要设置的目录~/logs/metrics/metrics.log文件里面
~/logs/metrics/metrics.log