Giter Site home page Giter Site logo

hystrix-dashboard's Introduction

hystrix-dashboard is no longer actively maintained by VMware, Inc.

hystrix-dashboard's People

Contributors

compwron avatar olgamaciaszek avatar spencergibb avatar trevormarshall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hystrix-dashboard's Issues

Unable to connect to Command Metrix Stream

Hi,

I have an issue on the dashboard statistic page. I could see the graphics once, but not with the new projects I built.

So here are the application (all of them are Spring Boot application): A (port 9000) calls B (port 9001) calls C (port 9002), Hystrix Dashboard application H simply with a @EnableHystrixDashboard annotation. A, B, and C are Rest web service with A and B having @EnableCircuitBreaker annotation.

Functionally A, B, and C work perfectly so it might not be issue with POM. But when I type no matter the /hystrix.stream of A or B or C on H's home page, it shows Unable to connect to Command Metrix Stream on the next page as shown below.
image

On browser console there are error messages:
EventSource's response has a MIME type ("text/plain") that is not "text/event-stream". Aborting the connection.

IDE console looks like this:

2017-05-23 15:23:01.938  INFO 2652 --- [nio-8080-exec-4] ashboardConfiguration$ProxyStreamServlet : Proxy opening connection to: http://localhost:9001/hystrix.stream
2017-05-23 15:23:02.213  WARN 2652 --- [nio-8080-exec-3] ashboardConfiguration$ProxyStreamServlet : Failed opening connection to http://localhost:9001/hystrix.stream : 404 : HTTP/1.1 404 
2017-05-23 15:23:02.213  WARN 2652 --- [nio-8080-exec-4] ashboardConfiguration$ProxyStreamServlet : Failed opening connection to http://localhost:9001/hystrix.stream : 404 : HTTP/1.1 404```

Where could be wrong?

Thanks.

problem about static files urls

Hi guys

I can enable hystrix dashboard successfuly.

But in production environment, my service is after zuul with this domain "http://sample_domain/service_name/..." which cause static files like jquery.js don't load successfully.
(It wants to download files for example from http://sample_domain/jquery.js instead of http://sample_domain/service_name/jquery.js)

Is there any way to fix this issue by for example overriding base urls of static files or ...?

Thanks.

When I run this in 1.0.0.RC2, entering in a stream doesnt work

With the exception of not using or configuring the mock stream, this code seems to works fine in 1.0.0.M1 but not in RC2. Services are annotated with @EnableHystrix, they are using hystrix, they all report to Eurkea using @EnableEurekaClient (also tried @EnableDiscoveryClient). Navigating to default 7980 port, enter in 'http://localhost:8083/hystrix.stream' (and I know the service at 8083 is running), the circuit page comes up and shows nothing despite traffic through hystrix annotations occurring on that service. Finally, @EnableEurekaClient/@EnableDiscoveryClient on this hystrix server doesn't work at all now.

Monitor Stream button not working, Dashboard page forever loading

Hi,

In my project, I have a REST service A on port 8888, consumed by a Hystrix application B on port 8000. They work functionally correct as I got the expected message.

However, I have issue with Hystrix Dashboard. First I tried to make B as a Hystrix Dashboard application by adding the @EnableHystrixDashboard annotation. I could open the Hystrix Dashboard home page on http://B:8000/hystrix.stream but there were just text data.

I though an explicit Hystrix Dashboard application might be needed so I created Hystrix Dashboard application C on port 8081 by adding the @EnableHystrixDashboard annotation. Again, the http://C:8081/hystrix.stream worked, yet the Monitor Stream button not working.

If I manually type http://hystrix-dashboard-app:port/hystrix/monitor?stream=http%3A%2FHystrixApp%3Aport/%2Fhystrix.stream it would take me to the statistic page but forever it shows 'Loading...'

Please give any thought you have. Thanks.

hystrix-dashboard support for jersey api endpoint

Dear Spring Cloud Team,
I have a spring boot application with @EnableTurbineStream and @EnableHystrixDashboard enabled.

	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-netflix-hystrix-dashboard</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-netflix-turbine-stream</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-stream-rabbit</artifactId>
	</dependency>

I have jersey restful services with following configurations added in pom.xml

	<dependency>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-actuator</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-starter-bus-amqp</artifactId>
	</dependency>
	<dependency>
		<groupId>org.springframework.cloud</groupId>
		<artifactId>spring-cloud-netflix-hystrix-stream</artifactId>
	</dependency>

and, I have rabbitmq also installed.

My clarification here is --

Does hystrix dash board/turbine supports for jersey apis endpoints to capture metrics ?

Currently i'm unable to see any captured metrics stream on Hystrix dashboard.

Any help would really appreciated
Thank you.

  • GS

Why does it return only fallback method even though actual methods returns the data?

@GetMapping("/{id}")
@HystrixCommand(fallbackMethod = "fallbackGetOrders")
public CustomerOrderDetails getOrders(@PathVariable("id") Long orderId) {
final Order order = orderRepository.findById(orderId).orElse(null);
if (order == null) {
return null;
}
return toCustomerOrderDetails(order);
}

//fallback method
public CustomerOrderDetails fallbackGetOrders(Long orderId) {

CustomerOrderDetails orderDetails = CustomerOrderDetails.builder().orderId(0L)
                    .externalReference("not available").items(null).build();
return orderDetails;

}

The fallback method return following values:

{
"orderId": 0,
"externalReference": "not available",
"customer": null,
"createdDate": null,
"items": null,
"totalOrderCost": null,
"totalOrderTax": null
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.