mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 07:43:44 +00:00
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://conor.cc (200) with 4 occurrences could not be migrated: ([https](https://conor.cc) result SSLProtocolException). * [ ] http://richclarkdesign.com (200) with 1 occurrences could not be migrated: ([https](https://richclarkdesign.com) result SSLHandshakeException). * [ ] http://tinysort.sjeiti.com/ (200) with 1 occurrences could not be migrated: ([https](https://tinysort.sjeiti.com/) result SSLException). * [ ] http://unknown-origin.com (200) with 1 occurrences could not be migrated: ([https](https://unknown-origin.com) result AnnotatedConnectException). * [ ] http://www.sjeiti.com/ (301) with 1 occurrences could not be migrated: ([https](https://www.sjeiti.com/) result SSLException). * [ ] http://foo.com (301) with 1 occurrences could not be migrated: ([https](https://foo.com) result SSLHandshakeException). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://ejohn.org/ (301) with 1 occurrences migrated to: https://johnresig.com/ ([https](https://ejohn.org/) result ClosedChannelException). * [ ] http://ejohn.org/blog/javascript-micro-templating/ (301) with 1 occurrences migrated to: https://johnresig.com/blog/javascript-micro-templating/ ([https](https://ejohn.org/blog/javascript-micro-templating/) result ClosedChannelException). * [ ] http://example3.com/ (302) with 1 occurrences migrated to: https://www.hugedomains.com/domain_profile.cfm?d=example3&e=com ([https](https://example3.com/) result ConnectTimeoutException). * [ ] http://example3.com (302) with 2 occurrences migrated to: https://www.hugedomains.com/domain_profile.cfm?d=example3&e=com ([https](https://example3.com) result ConnectTimeoutException). * [ ] http://192.168.13.90:9999/actuator/health (ConnectTimeoutException) with 1 occurrences migrated to: https://192.168.13.90:9999/actuator/health ([https](https://192.168.13.90:9999/actuator/health) result ConnectTimeoutException). * [ ] http://192.168.13.90:9999/actuator/info (ConnectTimeoutException) with 1 occurrences migrated to: https://192.168.13.90:9999/actuator/info ([https](https://192.168.13.90:9999/actuator/info) result ConnectTimeoutException). * [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 1 occurrences migrated to: https://www.w3.org/TR/html4/loose.dtd ([https](https://www.w3.org/TR/html4/loose.dtd) result SSLException). * [ ] http://%s:%s (UnknownHostException) with 1 occurrences migrated to: https://%s:%s ([https](https://%s:%s) result UnknownHostException). * [ ] http://allowed-origin.com (UnknownHostException) with 2 occurrences migrated to: https://allowed-origin.com ([https](https://allowed-origin.com) result UnknownHostException). * [ ] http://badClients/good (UnknownHostException) with 1 occurrences migrated to: https://badClients/good ([https](https://badClients/good) result UnknownHostException). * [ ] http://badClients/null (UnknownHostException) with 1 occurrences migrated to: https://badClients/null ([https](https://badClients/null) result UnknownHostException). * [ ] http://badClients/ping (UnknownHostException) with 1 occurrences migrated to: https://badClients/ping ([https](https://badClients/ping) result UnknownHostException). * [ ] http://badClients/timeout (UnknownHostException) with 1 occurrences migrated to: https://badClients/timeout ([https](https://badClients/timeout) result UnknownHostException). * [ ] http://bar (UnknownHostException) with 1 occurrences migrated to: https://bar ([https](https://bar) result UnknownHostException). * [ ] http://compose.docker.io/ (UnknownHostException) with 2 occurrences migrated to: https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException). * [ ] http://custom-example.com (UnknownHostException) with 1 occurrences migrated to: https://custom-example.com ([https](https://custom-example.com) result UnknownHostException). * [ ] http://custom-example.com/ (UnknownHostException) with 1 occurrences migrated to: https://custom-example.com/ ([https](https://custom-example.com/) result UnknownHostException). * [ ] http://defaul-host3:8678/eureka/,http://defaul-host4:8678/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://defaul-host3:8678/eureka/,http://defaul-host4:8678/eureka/ ([https](https://defaul-host3:8678/eureka/,https://defaul-host4:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host4:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host4:8678/eureka/ ([https](https://defaul-host4:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host5:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host5:8678/eureka/ ([https](https://defaul-host5:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host6:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host6:8678/eureka/ ([https](https://defaul-host6:8678/eureka/) result UnknownHostException). * [ ] http://default-host1:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host1:8678/eureka/ ([https](https://default-host1:8678/eureka/) result UnknownHostException). * [ ] http://default-host2:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host2:8678/eureka/ ([https](https://default-host2:8678/eureka/) result UnknownHostException). * [ ] http://default-host3:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host3:8678/eureka/ ([https](https://default-host3:8678/eureka/) result UnknownHostException). * [ ] http://earlymade.com (UnknownHostException) with 4 occurrences migrated to: https://earlymade.com ([https](https://earlymade.com) result UnknownHostException). * [ ] http://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/ ([https](https://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/) result UnknownHostException). * [ ] http://example.com,http://example2.com (UnknownHostException) with 2 occurrences migrated to: https://example.com,http://example2.com ([https](https://example.com,https://example2.com) result UnknownHostException). * [ ] http://example1.com,http://example2.com (UnknownHostException) with 1 occurrences migrated to: https://example1.com,http://example2.com ([https](https://example1.com,https://example2.com) result UnknownHostException). * [ ] http://first.example.com (UnknownHostException) with 1 occurrences migrated to: https://first.example.com ([https](https://first.example.com) result UnknownHostException). * [ ] http://foo (UnknownHostException) with 5 occurrences migrated to: https://foo ([https](https://foo) result UnknownHostException). * [ ] http://foo/ (UnknownHostException) with 2 occurrences migrated to: https://foo/ ([https](https://foo/) result UnknownHostException). * [ ] http://foo/%20bar (UnknownHostException) with 1 occurrences migrated to: https://foo/%20bar ([https](https://foo/%20bar) result UnknownHostException). * [ ] http://foo/%20bar?hello=1+2 (UnknownHostException) with 2 occurrences migrated to: https://foo/%20bar?hello=1+2 ([https](https://foo/%20bar?hello=1+2) result UnknownHostException). * [ ] http://foo:7001/ (UnknownHostException) with 1 occurrences migrated to: https://foo:7001/ ([https](https://foo:7001/) result UnknownHostException). * [ ] http://foo:7777/ (UnknownHostException) with 1 occurrences migrated to: https://foo:7777/ ([https](https://foo:7777/) result UnknownHostException). * [ ] http://host/doStuff (UnknownHostException) with 1 occurrences migrated to: https://host/doStuff ([https](https://host/doStuff) result UnknownHostException). * [ ] http://host:7777/Management/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Management/health ([https](https://host:7777/Management/health) result UnknownHostException). * [ ] http://host:7777/Management/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Management/info ([https](https://host:7777/Management/info) result UnknownHostException). * [ ] http://host:7777/Server/Management/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/Management/health ([https](https://host:7777/Server/Management/health) result UnknownHostException). * [ ] http://host:7777/Server/Management/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/Management/info ([https](https://host:7777/Server/Management/info) result UnknownHostException). * [ ] http://host:7777/Server/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/health ([https](https://host:7777/Server/health) result UnknownHostException). * [ ] http://host:7777/Server/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/info ([https](https://host:7777/Server/info) result UnknownHostException). * [ ] http://host:7777/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/health ([https](https://host:7777/health) result UnknownHostException). * [ ] http://host:7777/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/info ([https](https://host:7777/info) result UnknownHostException). * [ ] http://host:8888/Management/health (UnknownHostException) with 3 occurrences migrated to: https://host:8888/Management/health ([https](https://host:8888/Management/health) result UnknownHostException). * [ ] http://host:8888/Management/info (UnknownHostException) with 3 occurrences migrated to: https://host:8888/Management/info ([https](https://host:8888/Management/info) result UnknownHostException). * [ ] http://host:8888/health (UnknownHostException) with 2 occurrences migrated to: https://host:8888/health ([https](https://host:8888/health) result UnknownHostException). * [ ] http://host:8888/info (UnknownHostException) with 2 occurrences migrated to: https://host:8888/info ([https](https://host:8888/info) result UnknownHostException). * [ ] http://hostname:port/turbine/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://hostname:port/turbine/turbine.stream ([https](https://hostname:port/turbine/turbine.stream) result UnknownHostException). * [ ] http://hystrix-app:port/actuator/hystrix.stream (UnknownHostException) with 1 occurrences migrated to: https://hystrix-app:port/actuator/hystrix.stream ([https](https://hystrix-app:port/actuator/hystrix.stream) result UnknownHostException). * [ ] http://legacy.example.com (UnknownHostException) with 1 occurrences migrated to: https://legacy.example.com ([https](https://legacy.example.com) result UnknownHostException). * [ ] http://mhhost2:0/foo/health (UnknownHostException) with 2 occurrences migrated to: https://mhhost2:0/foo/health ([https](https://mhhost2:0/foo/health) result UnknownHostException). * [ ] http://mhhost2:0/foo/info (UnknownHostException) with 2 occurrences migrated to: https://mhhost2:0/foo/info ([https](https://mhhost2:0/foo/info) result UnknownHostException). * [ ] http://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME ([https](https://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream ([https](https://my.turbine.sever:8989/turbine.stream) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=customers (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=customers ([https](https://my.turbine.sever:8989/turbine.stream?cluster=customers) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=default (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=default ([https](https://my.turbine.sever:8989/turbine.stream?cluster=default) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=products (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=products ([https](https://my.turbine.sever:8989/turbine.stream?cluster=products) result UnknownHostException). * [ ] http://myhost2:9000 (UnknownHostException) with 1 occurrences migrated to: https://myhost2:9000 ([https](https://myhost2:9000) result UnknownHostException). * [ ] http://myhost:8080 (UnknownHostException) with 1 occurrences migrated to: https://myhost:8080 ([https](https://myhost:8080) result UnknownHostException). * [ ] http://myhost:8989 (UnknownHostException) with 1 occurrences migrated to: https://myhost:8989 ([https](https://myhost:8989) result UnknownHostException). * [ ] http://myhost:9000 (UnknownHostException) with 1 occurrences migrated to: https://myhost:9000 ([https](https://myhost:9000) result UnknownHostException). * [ ] http://myservice (UnknownHostException) with 1 occurrences migrated to: https://myservice ([https](https://myservice) result UnknownHostException). * [ ] http://peer1/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer1/eureka/ ([https](https://peer1/eureka/) result UnknownHostException). * [ ] http://peer1/eureka/,http://peer2/eureka/,http://peer3/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer1/eureka/,http://peer2/eureka/,http://peer3/eureka/ ([https](https://peer1/eureka/,https://peer2/eureka/,https://peer3/eureka/) result UnknownHostException). * [ ] http://peer2/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer2/eureka/ ([https](https://peer2/eureka/) result UnknownHostException). * [ ] http://region1-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region1-zone-host:8678/eureka/ ([https](https://region1-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://region2-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region2-zone-host:8678/eureka/ ([https](https://region2-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://region4-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region4-zone-host:8678/eureka/ ([https](https://region4-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://sidecar.local.spring.io:5678/configserver/default-master.yml (UnknownHostException) with 1 occurrences migrated to: https://sidecar.local.spring.io:5678/configserver/default-master.yml ([https](https://sidecar.local.spring.io:5678/configserver/default-master.yml) result UnknownHostException). * [ ] http://simple/ (UnknownHostException) with 1 occurrences migrated to: https://simple/ ([https](https://simple/) result UnknownHostException). * [ ] http://simple/emptypost (UnknownHostException) with 1 occurrences migrated to: https://simple/emptypost ([https](https://simple/emptypost) result UnknownHostException). * [ ] http://simple/header (UnknownHostException) with 1 occurrences migrated to: https://simple/header ([https](https://simple/header) result UnknownHostException). * [ ] http://simple/path/ (UnknownHostException) with 2 occurrences migrated to: https://simple/path/ ([https](https://simple/path/) result UnknownHostException). * [ ] http://simple/post (UnknownHostException) with 1 occurrences migrated to: https://simple/post ([https](https://simple/post) result UnknownHostException). * [ ] http://simple/request?param= (UnknownHostException) with 1 occurrences migrated to: https://simple/request?param= ([https](https://simple/request?param=) result UnknownHostException). * [ ] http://simple_bad (UnknownHostException) with 1 occurrences migrated to: https://simple_bad ([https](https://simple_bad) result UnknownHostException). * [ ] http://turbine-hostname:port/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://turbine-hostname:port/turbine.stream ([https](https://turbine-hostname:port/turbine.stream) result UnknownHostException). * [ ] http://turbine-hostname:port/turbine.stream?cluster= (UnknownHostException) with 1 occurrences migrated to: https://turbine-hostname:port/turbine.stream?cluster= ([https](https://turbine-hostname:port/turbine.stream?cluster=) result UnknownHostException). * [ ] http://user2:pwd2@test2.com (UnknownHostException) with 1 occurrences migrated to: https://user2:pwd2@test2.com ([https](https://user2:pwd2@test2.com) result UnknownHostException). * [ ] http://user:foo@example.com:80/eureka (UnknownHostException) with 1 occurrences migrated to: https://user:foo@example.com:80/eureka ([https](https://user:foo@example.com:80/eureka) result UnknownHostException). * [ ] http://user:password@localhost:8761/eureka (UnknownHostException) with 1 occurrences migrated to: https://user:password@localhost:8761/eureka ([https](https://user:password@localhost:8761/eureka) result UnknownHostException). * [ ] http://user:password@localhost:8761/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://user:password@localhost:8761/eureka/ ([https](https://user:password@localhost:8761/eureka/) result UnknownHostException). * [ ] http://user:pwd@test1.com (UnknownHostException) with 1 occurrences migrated to: https://user:pwd@test1.com ([https](https://user:pwd@test1.com) result UnknownHostException). * [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://asciidoctor.org with 1 occurrences migrated to: https://asciidoctor.org ([https](https://asciidoctor.org) result 200). * [ ] http://example.com with 15 occurrences migrated to: https://example.com ([https](https://example.com) result 200). * [ ] http://example.com/ with 5 occurrences migrated to: https://example.com/ ([https](https://example.com/) result 200). * [ ] http://example.com/users_service with 1 occurrences migrated to: https://example.com/users_service ([https](https://example.com/users_service) result 200). * [ ] http://github.com/ with 1 occurrences migrated to: https://github.com/ ([https](https://github.com/) result 200). * [ ] http://hello.com with 3 occurrences migrated to: https://hello.com ([https](https://hello.com) result 200). * [ ] http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html with 1 occurrences migrated to: https://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html ([https](https://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html) result 200). * [ ] http://martinfowler.com/bliki/CircuitBreaker.html with 1 occurrences migrated to: https://martinfowler.com/bliki/CircuitBreaker.html ([https](https://martinfowler.com/bliki/CircuitBreaker.html) result 200). * [ ] http://projects.spring.io/spring-cloud/ with 6 occurrences migrated to: https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/) result 200). * [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 3 occurrences migrated to: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200). * [ ] http://www.gnu.org/licenses/gpl.html with 1 occurrences migrated to: https://www.gnu.org/licenses/gpl.html ([https](https://www.gnu.org/licenses/gpl.html) result 200). * [ ] http://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27 with 1 occurrences migrated to: https://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27 ([https](https://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27) result 200). * [ ] http://commons.apache.org/proper/commons-configuration with 1 occurrences migrated to: https://commons.apache.org/proper/commons-configuration ([https](https://commons.apache.org/proper/commons-configuration) result 301). * [ ] http://creativecommons.org/licenses/MIT/ with 4 occurrences migrated to: https://creativecommons.org/licenses/MIT/ ([https](https://creativecommons.org/licenses/MIT/) result 301). * [ ] http://plugins.jetbrains.com/plugin/6546 with 3 occurrences migrated to: https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301). * [ ] http://raw.github.com/ with 1 occurrences migrated to: https://raw.github.com/ ([https](https://raw.github.com/) result 301). * [ ] http://service.com with 3 occurrences migrated to: https://service.com ([https](https://service.com) result 301). * [ ] http://www.opensource.org/licenses/mit-license.php with 1 occurrences migrated to: https://www.opensource.org/licenses/mit-license.php ([https](https://www.opensource.org/licenses/mit-license.php) result 301). * [ ] http://eclipse.org with 2 occurrences migrated to: https://eclipse.org ([https](https://eclipse.org) result 302). * [ ] http://eclipse.org/m2e/ with 4 occurrences migrated to: https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302). * [ ] http://example2.com/ with 1 occurrences migrated to: https://example2.com/ ([https](https://example2.com/) result 302). * [ ] http://simplegrid.info with 4 occurrences migrated to: https://simplegrid.info ([https](https://simplegrid.info) result 302). * [ ] http://simplegrid.info/ with 1 occurrences migrated to: https://simplegrid.info/ ([https](https://simplegrid.info/) result 302). * [ ] http://www.springsource.com/developer/sts with 2 occurrences migrated to: https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302). # Ignored These URLs were intentionally ignored. * http://localhost with 135 occurrences * http://localhost/ with 2 occurrences * http://localhost/info with 1 occurrences * http://localhost/ping with 2 occurrences * http://localhost/status with 1 occurrences * http://localhost:%d/lazy/sample with 1 occurrences * http://localhost:%d/service/redirectedUri with 1 occurrences * http://localhost:5678/configserver with 1 occurrences * http://localhost:5678/customers with 1 occurrences * http://localhost:5678/hosts/ with 1 occurrences * http://localhost:7777/local with 4 occurrences * http://localhost:8000/health.json with 1 occurrences * http://localhost:8000/src/test/resources/health.json with 1 occurrences * http://localhost:8080 with 2 occurrences * http://localhost:8081 with 3 occurrences * http://localhost:8383/turbine.stream?cluster=RACES with 1 occurrences * http://localhost:8383/turbine.stream?cluster=WEB with 1 occurrences * http://localhost:8678/eureka/ with 1 occurrences * http://localhost:8761 with 2 occurrences * http://localhost:8761/eureka/ with 5 occurrences * http://localhost:9000 with 2 occurrences * http://test1.com with 1 occurrences * http://test1.com,http://test2.com with 1 occurrences * http://test1.com,http://user2:pwd2@test2.com with 1 occurrences * http://test2.com with 1 occurrences * http://test3.com,http://test4.com with 1 occurrences * http://test3.com,http://user4:pwd4@test4.com with 1 occurrences * http://test:test@localhost:8761 with 1 occurrences * http://test@localhost:8761 with 1 occurrences * http://testService with 1 occurrences
203 lines
7.6 KiB
Plaintext
203 lines
7.6 KiB
Plaintext
<#import "/spring.ftl" as spring />
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<base href="${basePath}">
|
|
<meta charset="utf-8" />
|
|
<title>Hystrix Monitor</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<!-- Setup base for everything -->
|
|
<link rel="stylesheet" type="text/css" href="css/global.css" />
|
|
|
|
<!-- Our custom CSS -->
|
|
<link rel="stylesheet" type="text/css" href="css/monitor.css" />
|
|
|
|
<!-- d3 -->
|
|
<script type="text/javascript" src="<@spring.url '/webjars/d3js/3.4.11/d3.min.js'/>" ></script>
|
|
|
|
<!-- Javascript to monitor and display -->
|
|
<script type="text/javascript" src="<@spring.url '/webjars/jquery/2.1.1/jquery.min.js'/>" ></script>
|
|
<script type="text/javascript" src="js/jquery.tinysort.min.js"></script>
|
|
<script type="text/javascript" src="js/tmpl.js"></script>
|
|
|
|
<!-- HystrixCommand -->
|
|
<script type="text/javascript" src="components/hystrixCommand/hystrixCommand.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="components/hystrixCommand/hystrixCommand.css" />
|
|
|
|
<!-- HystrixThreadPool -->
|
|
<script type="text/javascript" src="components/hystrixThreadPool/hystrixThreadPool.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="components/hystrixThreadPool/hystrixThreadPool.css" />
|
|
|
|
</head>
|
|
<body>
|
|
<div id="header">
|
|
<h2><span id="title_name"></span></h2>
|
|
</div>
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="menubar">
|
|
<div class="title">
|
|
Circuit
|
|
</div>
|
|
<div class="menu_actions">
|
|
Sort:
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByErrorThenVolume();">Error then Volume</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortAlphabetically();">Alphabetical</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByVolume();">Volume</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByError();">Error</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByLatencyMean();">Mean</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByLatencyMedian();">Median</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByLatency90();">90</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByLatency99();">99</a> |
|
|
<a href="javascript://" onclick="hystrixMonitor.sortByLatency995();">99.5</a>
|
|
</div>
|
|
<div class="menu_legend">
|
|
<span class="success">Success</span> | <span class="shortCircuited">Short-Circuited</span> | <span class="badRequest"> Bad Request</span> | <span class="timeout">Timeout</span> | <span class="rejected">Rejected</span> | <span class="failure">Failure</span> | <span class="errorPercentage">Error %</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="dependencies" class="row dependencies"><span class="loading">Loading ...</span></div>
|
|
|
|
<div class="spacer"></div>
|
|
|
|
<div class="row">
|
|
<div class="menubar">
|
|
<div class="title">
|
|
Thread Pools
|
|
</div>
|
|
<div class="menu_actions">
|
|
Sort: <a href="javascript://" onclick="dependencyThreadPoolMonitor.sortAlphabetically();">Alphabetical</a> |
|
|
<a href="javascript://" onclick="dependencyThreadPoolMonitor.sortByVolume();">Volume</a> |
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div id="dependencyThreadPools" class="row dependencyThreadPools"><span class="loading">Loading ...</span></div>
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
/**
|
|
* Queue up the monitor to start once the page has finished loading.
|
|
*
|
|
* This is an inline script and expects to execute once on page load.
|
|
*/
|
|
|
|
// commands
|
|
var hystrixMonitor = new HystrixCommandMonitor('dependencies', {includeDetailIcon:false});
|
|
|
|
var stream = getUrlVars()["stream"];
|
|
|
|
console.log("Stream: " + stream)
|
|
|
|
if(stream != undefined) {
|
|
if(getUrlVars()["delay"] != undefined) {
|
|
stream = stream + "&delay=" + getUrlVars()["delay"];
|
|
}
|
|
|
|
var commandStream = "${contextPath}/proxy.stream?origin=" + stream;
|
|
var poolStream = "${contextPath}/proxy.stream?origin=" + stream;
|
|
|
|
if(getUrlVars()["title"] != undefined) {
|
|
$('#title_name').text("Hystrix Stream: " + decodeURIComponent(getUrlVars()["title"]))
|
|
} else {
|
|
$('#title_name').text("Hystrix Stream: " + decodeURIComponent(stream))
|
|
}
|
|
}
|
|
console.log("Command Stream: " + commandStream)
|
|
|
|
$(window).load(function() { // within load with a setTimeout to prevent the infinite spinner
|
|
setTimeout(function() {
|
|
if(commandStream == undefined) {
|
|
console.log("commandStream is undefined")
|
|
$("#dependencies .loading").html("The 'stream' argument was not provided.");
|
|
$("#dependencies .loading").addClass("failed");
|
|
} else {
|
|
// sort by error+volume by default
|
|
hystrixMonitor.sortByErrorThenVolume();
|
|
|
|
// start the EventSource which will open a streaming connection to the server
|
|
var source = new EventSource(commandStream);
|
|
|
|
// add the listener that will process incoming events
|
|
source.addEventListener('message', hystrixMonitor.eventSourceMessageListener, false);
|
|
|
|
// source.addEventListener('open', function(e) {
|
|
// console.console.log(">>> opened connection, phase: " + e.eventPhase);
|
|
// // Connection was opened.
|
|
// }, false);
|
|
|
|
source.addEventListener('error', function(e) {
|
|
$("#dependencies .loading").html("Unable to connect to Command Metric Stream.");
|
|
$("#dependencies .loading").addClass("failed");
|
|
if (e.eventPhase == EventSource.CLOSED) {
|
|
// Connection was closed.
|
|
console.log("Connection was closed on error: " + JSON.stringify(e));
|
|
} else {
|
|
console.log("Error occurred while streaming: " + JSON.stringify(e));
|
|
}
|
|
}, false);
|
|
}
|
|
},0);
|
|
});
|
|
|
|
// thread pool
|
|
var dependencyThreadPoolMonitor = new HystrixThreadPoolMonitor('dependencyThreadPools');
|
|
|
|
$(window).load(function() { // within load with a setTimeout to prevent the infinite spinner
|
|
setTimeout(function() {
|
|
if(poolStream == undefined) {
|
|
console.log("poolStream is undefined")
|
|
$("#dependencyThreadPools .loading").html("The 'stream' argument was not provided.");
|
|
$("#dependencyThreadPools .loading").addClass("failed");
|
|
} else {
|
|
dependencyThreadPoolMonitor.sortByVolume();
|
|
|
|
// start the EventSource which will open a streaming connection to the server
|
|
var source = new EventSource(poolStream);
|
|
|
|
// add the listener that will process incoming events
|
|
source.addEventListener('message', dependencyThreadPoolMonitor.eventSourceMessageListener, false);
|
|
|
|
// source.addEventListener('open', function(e) {
|
|
// console.console.log(">>> opened connection, phase: " + e.eventPhase);
|
|
// // Connection was opened.
|
|
// }, false);
|
|
|
|
source.addEventListener('error', function(e) {
|
|
$("#dependencies .loading").html("Unable to connect to Command Metric Stream.");
|
|
$("#dependencies .loading").addClass("failed");
|
|
if (e.eventPhase == EventSource.CLOSED) {
|
|
// Connection was closed.
|
|
console.log("Connection was closed on error: " + e);
|
|
} else {
|
|
console.log("Error occurred while streaming: " + e);
|
|
}
|
|
}, false);
|
|
}
|
|
},0);
|
|
});
|
|
|
|
//Read a page's GET URL variables and return them as an associative array.
|
|
// from: https://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html
|
|
function getUrlVars()
|
|
{
|
|
var vars = [], hash;
|
|
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
|
|
for(var i = 0; i < hashes.length; i++)
|
|
{
|
|
hash = hashes[i].split('=');
|
|
vars.push(hash[0]);
|
|
vars[hash[0]] = hash[1];
|
|
}
|
|
return vars;
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
</body>
|
|
</html>
|