关于生产环境部署DashBoard的一点疑惑
- Dominant language
- Java
- Stars
- 23.1k
- Forks
- 8.1k
- PR merge metrics
- No merged PRs in 30d
Description
由于公司最近在调研微服务的转型方案,所以关注了一下SpringCloudAlibaba的框架,在研究Sentinel的实现方法时有几点疑惑:
1. 对于8719端口和服务之间的交互,配置文件`Transport`中对port描述的是是:“Sentinel api port,default value is 8719”;clientIp的描述是:”Get heartbeat local ip. If the client ip not configured, it will be address of local host“。是不是可以理解为:sentinel默认是和服务部署在一起的;如果sentinel单独部署的话,要想监控服务的状态就需要配置client ip为服务所在的ip;
2. 如果上述描述正确的话,那对于服务是集群状态,是不是每个服务都需要部署sentinel?如果部署采用的是动态扩容的方式,每个服务的机子ip都是会变动的,这个时候clientIP是不是需要侵入式地动态配置了?另外,在《在生产环境中使用 Sentinel》中虽然提供了push规则配置的方法,但是对于push的内容获取没有更多的解释(或者有的话麻烦提供一下,是本人的信息获取渠道狭窄了)
3. 如果上述描述错误的话,烦请大佬指点一下对于集群环境下,采用nacos作为discovery的各个服务是如何被sentinel监控的,多谢🙏
Contributor guide
Research direction
Start with the Transport configuration and the “在生产环境中使用 Sentinel” documentation, then trace how the 8719 port, clientIp, push rules, and Nacos discovery are described for clustered deployments. Done means documenting whether Sentinel is colocated or separate, how service instances are monitored during scaling, and where the pushed rule contents are defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, documentation, observability
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100