polaris icon indicating copy to clipboard operation
polaris copied to clipboard

standalone模式下安装prometheus失败

Open lyramilk opened this issue 1 year ago • 2 comments

Describe the bug 我的机器上己经装了别的prometheus,在install.sh安装的时候北极星自带的prometheus就没有装上去。建议installPrometheus这里能优化精准一些。。

To Reproduce 先安装一个prometheus,再安装standalone模式的北极星。

Expected behavior 希望在己安装prometheus的情况下也可以正确安装北极星自带的prometheus。

Environment

  • Version: v1.10.0
  • OS: Ubuntu 22

Additional context 比如修改installPrometheus函数获取prometheus_num的代码加个grep ${prometheus_port} local prometheus_num=$(ps -ef | grep prometheus | grep ${prometheus_port} | grep -v grep | wc -l)

lyramilk avatar Aug 19 '22 10:08 lyramilk

好的,看看是否愿意提交个PRfix一下?

andrewshan avatar Aug 26 '22 06:08 andrewshan

we will fix in milestone 1.12.0

chuntaojun avatar Sep 15 '22 04:09 chuntaojun