Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: bcs-monitor支持配置mongodb副本集名称(v1.29.x) #3646

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

yuyudeqiu
Copy link
Contributor

go.mod修改:

  1. 修改bcs-common版本
  2. 修改之后audit,auth,otel等出现版本冲突,去掉指定版本,统一使用新的bcs-cmmon下的
  3. go mod tidy更新相关依赖
  4. 因为github.com/prometheus/common的版本被replace,导致github.com/prometheus/client_golang因为使用新版出错undefined: expfmt.NewFormat。增加replace指定github.com/prometheus/client_golang使用原来的版本解决

其他修改:

  1. MongoConf增加Replicaset字段
  2. 增加读取环境变量MONGO_REPLICASET
  3. InitStorage增加传入Replicaset

@ifooth ifooth merged commit cd38f2b into TencentBlueKing:v1.29.x Dec 18, 2024
7 of 11 checks passed
@yuyudeqiu yuyudeqiu deleted the feat_mongo_mo_129 branch December 18, 2024 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants