petrovicboban / go-keepalive Goto Github PK
View Code? Open in Web Editor NEWFramework for service availability via zookeeper
License: GNU General Public License v3.0
Framework for service availability via zookeeper
License: GNU General Public License v3.0
Needs to add flags for custom service checks intervals and timeouts.
Right now, nothing is documented. It needs some instructions and description in README.md
Except simple TCP connectivity checks, it would be good to add custom HTTP checks
After starting first agent
2017/11/09 12:14:54.630195 main.go:222: Agents list is changed: [test]
2017/11/09 12:14:54.738325 main.go:233: Creating watcher for service-name/172.217.16.99/test
2017/11/09 12:14:54.738404 main.go:233: Creating watcher for service-name/172.217.16.110/test
2017/11/09 12:14:54.790950 main.go:233: Creating watcher for test_service/172.217.16.110/test
2017/11/09 12:14:54.790955 main.go:233: Creating watcher for test_service/172.217.16.99/test
2017/11/09 12:14:54.843011 main.go:237: Agent test dissapeared
2017/11/09 12:14:54.843073 main.go:249: Removing watcher for test_service/172.217.16.110/test
2017/11/09 12:14:56.766935 main.go:265: /go-keepAlive/services/service-name/172.217.16.99/test reported: true
2017/11/09 12:14:56.897011 main.go:277: Checks on service-name/172.217.16.99: 1/1 agents reported healthy
2017/11/09 12:14:56.974221 main.go:265: /go-keepAlive/services/service-name/172.217.16.110/test reported: true
2017/11/09 12:14:57.097689 main.go:277: Checks on service-name/172.217.16.110: 1/1 agents reported healthy
2017/11/09 12:14:57.180795 main.go:265: /go-keepAlive/services/test_service/172.217.16.99/test reported: true
2017/11/09 12:14:57.293299 main.go:277: Checks on test_service/172.217.16.99: 1/1 agents reported healthy
Problematic line is:
2017/11/09 12:14:54.843011 main.go:237: Agent test dissapeared
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.