Hub for nanopack resources and content
nanopack / pulse Goto Github PK
View Code? Open in Web Editor NEWDynamic, api-driven stats collector service for realtime stats publishing and historical aggregation with Influxdb.
License: MIT License
Dynamic, api-driven stats collector service for realtime stats publishing and historical aggregation with Influxdb.
License: MIT License
There is no error reported from the influx client (empty message), nor are there any returned results. Maybe we should give time for some stats to be submitted before trying again.
Since the heartbeat update, pulse server is no longer client-aware when there are more than a single client.
17:17:57 PollAll: 2 clients connected...
17:17:57 PollAll-ing: do.1...
17:17:57 PollAll-ing: do.1...
17:18:57 PollAll: 2 clients connected...
17:18:57 PollAll-ing: do.1...
17:18:57 PollAll-ing: do.1...
17:19:57 PollAll: 2 clients connected...
17:19:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:19:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:20:57 PollAll: 2 clients connected...
17:20:57 PollAll-ing: do.1...
17:20:57 PollAll-ing: do.1...
17:21:57 PollAll: 2 clients connected...
17:21:57 PollAll-ing: do.1...
17:21:57 PollAll-ing: do.1...
17:22:57 PollAll: 2 clients connected...
17:22:57 PollAll-ing: do.1...
17:22:57 PollAll-ing: do.1...
17:23:57 PollAll: 2 clients connected...
17:23:57 PollAll-ing: do.1...
17:23:57 PollAll-ing: do.1...
17:24:57 PollAll: 2 clients connected...
17:24:57 PollAll-ing: do.1...
17:24:57 PollAll-ing: do.1...
17:25:57 PollAll: 2 clients connected...
17:25:57 PollAll-ing: do.1...
17:25:57 PollAll-ing: do.1...
17:26:57 PollAll: 2 clients connected...
17:26:57 PollAll-ing: do.1...
17:26:57 PollAll-ing: do.1...
17:27:57 PollAll: 2 clients connected...
17:27:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:27:57 PollAll-ing: do.warehouse.data.hoarder.1...
17:28:57 PollAll: 2 clients connected...
17:28:57 PollAll-ing: do.1...
17:28:57 PollAll-ing: do.1...
17:29:57 PollAll: 2 clients connected...
17:29:57 PollAll-ing: do.1...
17:29:57 PollAll-ing: do.1...
If using a virtual ip in front of pulse server, and it moves hosts, the tcp connection is still established, not allowing stats to be submitted until a full client reconnection is initiated. If there was a ping/pong method, the client could detect if the host was unreachable and re-initiate a connection.
If pulse restarts, clients using relay
create a new heartbeat every time they reconnect.
2017-02-08 19:04:03 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:10 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:10 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:11 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:33 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:36 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:38 TRACE [PULSE :: RELAY] PONG: [pong]
2017-02-08 19:04:41 TRACE [PULSE :: RELAY] PONG: [pong]
Continuous queries cannot have "-" in the field name when aggregating "mean(cpu-used)" does not work
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.