Hystrix Control Panel Not Available with Jersey Endpoint

I have a Spring boot application with a public endpoint implemented with Jersey / JAX -RS annotations. The Hystrix control panel is enabled using the @EnableHystrixDashboard, the HystrixMetricsStreamServlet is registered in the "/hystrix.stream" section (as in the examples).

When accessing ... /hystrix.stream, the indicator data is available for HystrixCommands, but the starter control panel / hystrix page is empty , providing an HTTP status code of 404 .

Any idea why it's not available with a jersey?

If the same is implemented using Spring WebMVC (not Jersey), a dashboard page is available.

My pom.xml

  • excludes spring -webmvc and depends on knitwear
  • depends on hystrix, event-stream, control panel, drive

-

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    <exclusions>
        <exclusion>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
        </exclusion>
    </exclusions>
</dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-jersey</artifactId>
</dependency>
<dependency>
    <groupId>com.netflix.hystrix</groupId>
    <artifactId>hystrix-core</artifactId>
    <version>${hystrix.version}</version>
</dependency>
<dependency>
    <groupId>com.netflix.hystrix</groupId>
    <artifactId>hystrix-metrics-event-stream</artifactId>
    <version>${hystrix.version}</version>
</dependency>
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-hystrix-dashboard</artifactId>
    <version>1.0.2.RELEASE</version>
</dependency>
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-hystrix</artifactId>
    <version>1.0.2.RELEASE</version>
    <scope>test</scope>
</dependency>
<dependency>
    <groupId>com.netflix.archaius</groupId>
    <artifactId>archaius-core</artifactId>
    <version>0.6.6</version>
</dependency>
+4
source share