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

支持设定service name #292

Closed
williamfzc opened this issue Aug 4, 2022 · 0 comments
Closed

支持设定service name #292

williamfzc opened this issue Aug 4, 2022 · 0 comments

Comments

@williamfzc
Copy link
Contributor

williamfzc commented Aug 4, 2022

#199

在instrumentation里支持一个特定环境变量,使得用户可以通过环境变量设定注册时的servicename是不是更简洁些?
对于单机多服务部署的情况就在脚本里临时 export 也能规避冲突

williamfzc@0ceed2a

需求我来描述下吧:

  • 例如我们是个中台,提供给业务接入覆盖率;
  • 业务其实自己编译出来的制品爱叫什么叫什么(比如叫main),而它与其他平台交互的时候(例如ci平台、自动化测试平台)可能用的是符合cmdb的另一个名字,这种情况下采集是匹配不上的;
  • 这种行为也不能说它做得不规范,他可能只是想多个服务复用同一个部署脚本;

这种能力对中台还是挺需要的,不然推起来比较痛苦

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

No branches or pull requests

1 participant