Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
我们线上ecs和k8s目前网络不通
所以我们有一个中心Prometheus,ecs和k8s上面各部署一个Prometheus把数据push到中心Prometheus
但是呢,我们的etcd又是通的,即注册到了同一个etcd里面
所以两个环境的confd处理监控数据的时候,无法区分哪个是ecs哪个是k8s,都能拉到同一份数据
要区分的话,首先肯定是注册前缀可以区分
但是有一个问题,未来网络扁平化落地后网络互通实现后,在服务从ecs切到k8s时,
由于注册键不一样,业务方也要跟着改配置