Hi
I have a issue in turbine:
there is no problem to monitor the gateway(Spring cloud gateway) through hystrix.stream
turbine: application.yml
turbine:
aggregator:
clusterConfig: zhxy-prod
appConfig: gateway
clusterNameExpression: metadata['cluster']
pom
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.13.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.aspirecn.zhxy</groupId>
<artifactId>zhxy-service-turbine</artifactId>
<version>0.1.0</version>
<name>zhxy-service-turbine</name>
<modelVersion>4.0.0</modelVersion>
<properties>
<java.version>1.8</java.version>
<spring-cloud.version>Greenwich.SR5</spring-cloud.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-turbine</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
gateway: spring boot is 2.1.3 cloud is Greenwich.RELEASE
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
<exclusions>
<exclusion>
<artifactId>HdrHistogram</artifactId>
<groupId>org.hdrhistogram</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
<exclusions>
<exclusion>
<artifactId>guava</artifactId>
<groupId>com.google.guava</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.aspirecn.zhxy</groupId>
<artifactId>zhxy-service-common</artifactId>
<exclusions>
<exclusion>
<artifactId>commons-io</artifactId>
<groupId>commons-io</groupId>
</exclusion>
<exclusion>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- spring boot admin JMX-beans交互 -->
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
</dependency>
<!-- spring boot admin JMX-beans交互 -->
</dependencies>
Comment From: king-john
curl "http://10.xxx.4.xx:8989/turbine.stream?cluster=zhxy-prod"
: ping
data: {"reportingHostsLast10Seconds":0,"name":"meta","type":"meta","timestamp":1586843845793}
not like turbine wiki example:
:ping data: {"threadActiveCount":5,"queueSize":25,"totalTaskCount":717919087, "completedTaskCount":717919056, "type":"DependencyCommandThreadPool","reportingHosts":521,"currentTime":4600489157131, "maxActiveThreadsInRollingCounter":1125,"largestPoolSize":5190,"rollingThreadExecutions":209774, "name":"DTS","threadExecutions":717917140}
Comment From: king-john
@robinst
Comment From: spencergibb
Can you update to boot 2.2.6 and Hoxton.SR3 and try again?
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-projects-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.