Commit graph

57 commits

Author SHA1 Message Date
3bddbaa15d
hide metrics upon error 2018-07-13 19:34:03 -07:00
5b33219f13
show close code and reason on ws close 2018-07-13 19:33:53 -07:00
0964133dbe
make placeholder graph match actual graph height 2018-07-13 19:29:49 -07:00
d4e280a563
add ws reconnection logic 2018-07-13 19:11:50 -07:00
1b74c3da3f
create components folder 2018-07-13 19:06:38 -07:00
0767ed90c0
tweak service vertical spacing 2018-07-13 19:02:11 -07:00
5cae7b9658
move log to util.js 2018-07-13 19:01:24 -07:00
267ddc890f
give service comp prop types 2018-07-13 19:01:13 -07:00
54df6d02e9
move from emoji to icons 2018-07-13 18:57:02 -07:00
0419434e89
fix page dimensions 2018-07-13 18:50:00 -07:00
9569763e52
de-bem service comp 2018-07-13 18:49:45 -07:00
f45918a218
use color instead of opacity
this shows how lazy i am
2018-07-13 18:45:39 -07:00
edf1a07b68
add loading placeholders 2018-07-13 18:43:10 -07:00
0a1f002927
re-add top margin to page 2018-07-13 18:42:55 -07:00
0dd36731ef
fix graph graphical glitches 2018-07-13 14:32:01 -07:00
d1738879a4
yarn is cursed 2018-07-13 12:33:54 -07:00
dd61950dcf
fix Service formatting because eslint 2018-07-13 12:32:33 -07:00
acef927115
tweak index.html 2018-07-13 12:32:29 -07:00
155f96c218
update service latency metric upon ws data 2018-07-13 12:29:46 -07:00
7ec0ff79f8
switch curve to natural 2018-07-13 12:17:59 -07:00
093f2b483c
let's insert data the right way this time 2018-07-13 12:16:21 -07:00
ebc142a94c
show less time ticks on mobile 2018-07-13 12:10:00 -07:00
f3f500b344
Move to nivo from nx and add WS support 2018-07-13 12:07:53 -07:00
Luna Mendes
60208b29db
docs/streaming: proof-read from @slcx
ty <3
2018-07-11 18:32:42 -03:00
Luna Mendes
31a0f2b989
Add streaming API documentation
- streaming: add sub/unsub OP codes, changing from the old behavior of
    just giving a channels array.
 - streaming: properly check payloads against their data and send
    proper errors.

 - manager: add unsubscribe()
2018-07-11 18:23:47 -03:00
Luna Mendes
3fa27f5de6
move blueprints inside elstat folder
- add OP.DATA
 - manager: add _websockets map
 - manager: add basic publish logic
 - worker: add timestamps to published messages
2018-07-11 17:00:39 -03:00
Luna Mendes
3ec64d5bdd
worker: add basic _dispatch_work logic 2018-07-11 03:42:31 -03:00
Luna Mendes
7e6d9d5402
add channel creation
dynamically create channels by adapter's specs.

 - add cleanup tasks for ServiceManager and ServiceWorker
2018-07-11 02:48:00 -03:00
Luna Mendes
053762f69f
blueprints: add streaming blueprint
clients can connect and subscribe to different channels
and they will get messages from those channels (basic pub/sub)

this is useful in the case of a client wanting issue updates
in real time, which is better than the client having to poll
/api/status every now and then.

 - manager: add ServiceManager.subscribe and .unsub_all
2018-07-10 20:03:07 -03:00
Luna Mendes
1de3bbdd95 run: default 0.0.0.0 2018-07-09 17:24:11 -03:00
Luna Mendes
40e81b76c1
README: add config instruction 2018-07-09 02:51:41 -03:00
Luna Mendes
e8b81422a2
frontend: change ENDPOINT to default 2018-07-09 02:50:53 -03:00
Luna Mendes
d92c09772e
add public api
- generalize elixire adapter into http adapter
 - fix ping adapter not sending a tuple
 - add ServiceWorker.process_work to insert results into the database
2018-07-09 02:48:44 -03:00
Luna Mendes
359c62efd6 Add proper adapter implementations
also add table making for the db
2018-07-08 00:38:14 -03:00
Luna Mendes
9ed1ec60cf add ServiceManager & ServiceWorker 2018-07-07 20:51:43 -03:00
Luna Mendes
78ae8f27f0 add base for python elstat 2018-07-07 19:46:28 -03:00
Luna Mendes
f8269c8aec remove elixir code 2018-07-07 19:06:32 -03:00
Luna Mendes
884c9f736d adapters.elixire: use get/1 instead of get!/1 2018-06-27 20:04:01 -03:00
Luna Mendes
3b84381b90 cowboy: change order of mapping to make sure 2018-06-12 20:21:21 -03:00
Luna Mendes
f12f2f6b59 cowboy: add / to index.html 2018-06-12 20:21:03 -03:00
Luna Mendes
bc01717da0 move frontend to priv folder
also map / to frontend folder inside priv
2018-06-12 19:25:49 -03:00
dd1e8c1fc0
add instructions 2018-06-12 14:57:25 -07:00
5aa93ab47a
Add frontend 2018-06-12 14:56:50 -07:00
Luna Mendes
38df6afb69 api: add cors stuff thing 2018-06-12 17:44:19 -03:00
Luna Mendes
f3727dcd8a add graph 2018-06-12 17:27:37 -03:00
Luna Mendes
16e471d865 Merge branch 'master' into 'master'
redo frontend

See merge request elixire/elstat!1
2018-06-12 19:45:10 +00:00
S Stewart
60afba8ece static: make this 10x better 2018-06-12 14:38:49 -05:00
Luna Mendes
fe9314c8a0 add distillery 2018-06-11 23:18:28 -03:00
Luna Mendes
889169e509 api: remove debug 2018-06-11 19:42:21 -03:00
Luna Mendes
740059a4b4 add adapter.transform_val
also add storage of gathered stats
2018-06-11 19:37:49 -03:00