cburgmer / greenyet Goto Github PK
View Code? Open in Web Editor NEWMicroservices status dashboard
License: BSD 2-Clause "Simplified" License
Microservices status dashboard
License: BSD 2-Clause "Simplified" License
hosts.yaml vs. status_url.yaml
E.g.
{
"first_component": {
"color": "green"
},
"more_components": [
{
"name": "another_component",
"status": true
}
]
}
should be supported, and two components "first_component" and "another_component" should be listed.
We should show in the UI/and log:
Rack::Protection::JsonCsrf seems to kick in if a refer
header is present, resulting in a 403 response. This affects links from greenyet to JSON status pages.
Possible solution: <meta name="referrer" content="no-referrer" />
from http://stackoverflow.com/questions/6817595/remove-http-referer#answer-32014225
Spring Boot will expose child health indicators keyed by name on the top level response (as hash, e.g. http://www.christianmenz.ch/programmieren/spring-boot-health-checks/).
While greenyet can technically pick up the children via JSONPath, the name is currently expected to be exposed inside each entry's value.
We should probably support his usecase in some form.
If hostname:
is misspelled the server crashes on startup rather than stating what's wrong. Other keys will probably have the same issue.
I might be wrong, but we're getting warnings in the logs of green yet relating to Apache responseprocesscookies , and it says the cookie has an invalid expires attribute. It looks like this might be due to the http client... Same can be seen here:
gradle/gradle#1596
https://issues.apache.org/jira/browse/HTTPCLIENT-1077
I can't tell which version is in use from the project file though (looks like it doesn't even use Apache somehow) but you please help take a quick look?
Thanks
While a socket timeout is currently used, this is not effective at enforcing a final request timeout.
Currently slow responses mean the dashboard will show stale results. Also, the response time adds up to the polling duration (polling duration starts counting after the request finishes), so refresh will take longer than the polling config suggests.
Both keys are required
Currently the internal thread pool size is estimate by Clojure's core.async at #processors * 2 + 42 (https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/exec/threadpool.clj). We possibly want to limit this number so that the request burst is somewhat limited.
Currently the example Python server seems to complain at 6 parallel requests.
Found with SSLEngine params provided from the outside.
Hovering on a status from the second environment (= second row) will on refresh unfold the equivalent status in the first environment instead.
Spring Boot's built-in /health
endpoint seems to return the status JSON response via a service unavailable status (http://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html#_writing_custom_healthindicators).
So far greenyet will only honour a JSON response if delivered via status 200, for every other status a red color is shown and the payload is ignored for the purpose of inspecting the application's status.
We might want to support the behaviour of Spring Boot out of the box.
When a page loads through the LB it tries to load resources (ccc / iso) from the site root.
This behavior is not regulated in any way. Need an option to set base path for load or remove '/' from index.html.template
It looks like sticking a proxy in front of greenyet will cover for when the actual instance is down. That means the user is seeing stale data ๐
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.