alibaba / alibaba/Sentinel

[BUG] 一台机器起两个服务,集群限流1,实时监控一直显示2

Open
#3,317 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

## Issue Description

Type: *bug report*

### Describe what happened
在一台机器上用IntelliJ IDEA起了两个jar服务,设置了集群限流是1,看了jmeter实际通过的的确是1,也就是说实际效果是没问题的。但是sentinel实时监控显示是2。
![image](https://github.com/alibaba/Sentinel/assets/157498903/036e3576-c8b9-4f72-bbb3-3bce8a9ad7a6)
![image](https://github.com/alibaba/Sentinel/assets/157498903/3623e102-1449-4b9a-9e9a-2cfbce49f23d)
![image](https://github.com/alibaba/Sentinel/assets/157498903/9278512c-b7fc-4f53-949a-698151c09c9d)
![image](https://github.com/alibaba/Sentinel/assets/157498903/0427ad21-e212-40f2-8e4f-346668c71cb3)
![image](https://github.com/alibaba/Sentinel/assets/157498903/40af535b-b8b1-4a48-afb0-79648b0bf97e)

### Describe what you expected to happen
我认为实时监控应该显示为1。

### How to reproduce it (as minimally and precisely as possible)

1. 用idea启动两个jar服务。sentinel集群限流设置为1
2. 使用jmeter线程组分别向两个服务各发送一个请求。
3. 查看jmeter返回结果、sentinel实时监控页面

### Tell us your environment
jdk8,win10,
pom里的sentinel:com.alibaba.cloud:spring-cloud-starter-alibaba-sentinel:jar:2021.0.1.0:compile
Sentinel 客户端版本:1.8.4

### Anything else we need to know?
no。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.