Commit graph

39 commits

Author SHA1 Message Date
f30e8e15ed
test: add Service test 2018-07-22 12:26:14 -07:00
a1cca92a8c
getServiceState: configurable threshold
for testing
2018-07-22 12:26:06 -07:00
ec52c980fb
test: remove unused import 2018-07-22 12:25:55 -07:00
946069dc98
test: add initial testing 2018-07-22 12:10:28 -07:00
81147a373a
move service emoji colors to css 2018-07-22 11:52:54 -07:00
d66aa77aa7
fe: add routing + proto incident hist page 2018-07-19 14:49:56 -07:00
1dab3ccd0b
general code cleanup/refactoring 2018-07-18 17:48:16 -07:00
243c23ec2b
lift error handling to componentDidMount 2018-07-18 15:19:53 -07:00
257febd9cc
show newest incident stages first 2018-07-18 15:06:33 -07:00
aa0a200a59
rename <App/> -> <Dashboard/> 2018-07-18 15:01:58 -07:00
5f97f73631
app comp: show current incident and live update 2018-07-18 14:59:21 -07:00
df3f5e170b
decouple streaming client from app comp 2018-07-18 12:21:44 -07:00
cb5ffadcba
support http doamin 2018-07-18 11:51:00 -07:00
7b7cc187e7
pluralize indicative in DegradedNotice comp 2018-07-16 18:18:14 -07:00
31f171e94a
refactor if statement to ternary 2018-07-16 18:16:39 -07:00
637a06e985
data insertion v2 electric boogaloo 2018-07-16 18:15:51 -07:00
7cd549c46b
fix jsx spacing 2018-07-16 18:06:15 -07:00
07a304cbc1
properly handle fetch errors 2018-07-16 18:06:06 -07:00
7a5e39f078
don't subscribe to channels if fetching stats fail 2018-07-16 18:05:50 -07:00
cb12d43aea
detect slow services and show an icon
The amount of latency a service needs before being considered "slow" is
configurable in config.json. By default, it is 2000ms (2s).

A side effect of this change is that the "service unresponsive" icon
that is shown when a service is unreachable has been changed to an X
instead of a !.

The slow icon now uses the ! icon.

Additionally, icon "titles" were added to aid any screen readers.
2018-07-16 10:44:06 -07:00
d3458ac763
add red notice when some services are unreachable 2018-07-15 21:44:59 -07:00
3fdf603cb5
remove extraneous semicolons
mary have mercy
2018-07-15 21:24:23 -07:00
c1f2b38ba2
subscribe and handle status changes 2018-07-15 21:22:06 -07:00
8d517ec037
make ws recv logs prettier 2018-07-15 21:21:56 -07:00
a5a005a1e4
make domain configurable via config.json 2018-07-15 21:21:41 -07:00
e33f0fa558
relint! 2018-07-15 21:04:43 -07:00
ebe6105fb3
tweak axes, hide y axis on mobile 2018-07-13 22:12:59 -07:00
1e4e04c025
switch to recharts
* i'm actually done. this library has everything good
2018-07-13 22:03:12 -07:00
8f744326b2
prevent duplicate ticks on x axis 2018-07-13 19:54:05 -07:00
b525404d9b
sort data by timestamp 2018-07-13 19:53:53 -07:00
37dd98026d
add proptypes to graph comp 2018-07-13 19:40:45 -07:00
50c479d6ea
round off latency 2018-07-13 19:39:44 -07:00
f447994133
make latency font smaller on smaller devices 2018-07-13 19:37:03 -07:00
a3eeef15eb
remove graph y axis on small devices 2018-07-13 19:36:42 -07:00
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