Commit graph

353 commits

Author SHA1 Message Date
Ben Agricola
2f0e4435db Add 'max' configuration option for flot
Signed-off-by: Ben Agricola <bagricola@squiz.co.uk>
2014-03-10 19:20:43 +00:00
Kyle Kingsbury
66d7feded2 Merge branch 'master' of github.com:aphyr/riemann-dash 2014-03-03 17:26:53 -08:00
Kyle Kingsbury
05220a18bb View IDs and versions.
Allows the dash to merge non-conflicting updates to different workspaces
safely.
2014-03-03 17:26:22 -08:00
Kyle Kingsbury
b3c3224c90 Merge pull request #55 from borntyping/patch-1
Log view does not limit the number of events
2014-02-27 12:23:18 -08:00
Sam Clements
a6661e0fb0 Remove old log lines when the log line limit is hit (Fixes #55) 2014-02-27 17:36:31 +00:00
Kyle Kingsbury
00bbea6095 Whitespace 2014-02-24 16:15:46 -08:00
Kyle Kingsbury
6e76c97618 0.2.8 2014-02-24 13:34:24 -08:00
Kyle Kingsbury
65f1fd0d96 Basic log view. 2014-02-21 15:36:52 -08:00
Kyle Kingsbury
e17e5e9ea2 Comment out clock debugging logs. 2014-02-20 17:53:58 -08:00
Kyle Kingsbury
4f4060b498 Rework clock synchronization logic.
Clock now drifts gradually towards local time, but will happily accept
an offset based off the of the maximum stream time, regardless of
whether that time is in the past or future.
2014-02-20 17:50:59 -08:00
Kyle Kingsbury
f42a00f331 Grid: fix some bugs, I think, in expiry/update bookkeeping. 2014-02-18 14:37:30 -08:00
Kyle Kingsbury
1ceb9b5f4b subs.js: fix a reconnection bug
Subscriptions would mistakenly report being closed due to a reversed
pair of connection state constants in the ws/sse switch, in isOpen().
This caused sockets to consider themselves open when they were, in fact,
closed.
2014-02-18 13:22:23 -08:00
Kyle Kingsbury
a99da9bbdc Don't spam socket error messages.
Introduces a bunch of debugging shit too; trying to track down other ws
problems.
2014-02-18 13:11:41 -08:00
Kyle Kingsbury
3c919e5980 Subs: expired events have correct time. 2014-02-14 16:51:28 -08:00
Kyle Kingsbury
055ec07620 Help: link to query resources. 2014-01-16 10:49:30 -08:00
Kyle Kingsbury
065f13c9bb Merge pull request #52 from borntyping/master
Show state when availible for events with no metric
2014-01-14 10:49:12 -08:00
Sam Clements
6e8b43e377 Show state when availible for events with no metric 2014-01-14 15:46:12 +00:00
Kyle Kingsbury
c3daf4fa36 0.2.7 2014-01-03 15:52:57 -08:00
Kyle Kingsbury
d931b893dd Remove logging 2014-01-03 15:12:11 -08:00
Kyle Kingsbury
53e1dba967 Typo in views/help.js 2014-01-03 15:01:19 -08:00
Kyle Kingsbury
afa779685d Flot: dramatic performance improvements
Redraws graphs in place instead of recomputing them from scratch on each
new time index.
2014-01-03 14:45:38 -08:00
Kyle Kingsbury
6a7711376b Flot: Only update graph data once per second.
Significant reduction in CPU used for graphs with many series.
2014-01-03 13:32:32 -08:00
Aphyr
955cacf6aa Merge branch 'master' of github.com:aphyr/riemann-dash 2013-12-31 10:28:11 -08:00
Aphyr
54334fcb2f Help: info on views 2013-12-31 10:27:28 -08:00
Kyle Kingsbury
b7a1dcf7de Shift header alignment on grids 2013-12-19 14:10:14 -08:00
Kyle Kingsbury
f7df1f92c6 Merge branch 'master' of github.com:aphyr/riemann-dash 2013-12-18 10:59:00 -08:00
Kyle Kingsbury
24de6e918b Merge pull request #48 from mfournier/really-fix-delete-error
failsafe version of f9eaa29b
2013-12-13 15:56:40 -08:00
Kyle Kingsbury
8b0c55a25a Merge pull request #50 from mfournier/more-grid-ui-nitpicking
More grid ui nitpicking
2013-12-13 15:50:00 -08:00
Marc Fournier
8c6faf23c8 also display event expiration time in the grid 2013-12-14 00:43:30 +01:00
Marc Fournier
c62482506d display nothing instead of "null" when metric is missing 2013-12-14 00:33:36 +01:00
Marc Fournier
c41e3c00ca display nothing instead of "null" when description is missing 2013-12-14 00:30:15 +01:00
Kyle Kingsbury
0d0e3cf773 Grid view: don't wrap lines. 2013-12-10 18:26:50 -08:00
Kyle Kingsbury
02bfb263bc Merge pull request #47 from mfournier/expire-using-prioqueue
Expire using prioqueue
2013-12-09 16:07:50 -08:00
Marc Fournier
df631e99f8 register one expiration timer per subscription
... instead of a global one, which breaks when there is more than
one view per workspace
2013-12-09 22:30:57 +01:00
Marc Fournier
224e83e839 failsafe version of f9eaa29b 2013-12-09 21:26:59 +01:00
Marc Fournier
f1f131a06b remove expired events no longer matching query
Every clock tick, check if the lowest priority item in the priority
queue is in the past, and possibly expire it.

This prevents events from stalling in the dashboard forever when they
don't receive any more updates from riemann because thoses updates don't
match the query used.
2013-12-08 22:22:12 +01:00
Marc Fournier
9c867d2559 PriorityQueue: add 2 functions to return top/bottom priorities instead of values 2013-12-08 22:13:36 +01:00
Marc Fournier
e3eeb855a0 push/update each received event on a priority queue 2013-12-08 21:19:54 +01:00
Marc Fournier
e60ec9a751 add update() function to PriorityQueue 2013-12-08 13:37:23 +01:00
Marc Fournier
8217b0697a un-nodejs-ify PriorityQueue 2013-12-08 13:25:04 +01:00
Marc Fournier
d2271e03ee vendor PriorityQueue.js
fetched from https://github.com/augustohp/Priority-Queue-NodeJS @ afae37d40
2013-12-03 22:51:53 +01:00
Kyle Kingsbury
c0fea9bab0 Merge pull request #46 from mfournier/fix-delete-error
avoid error when trying to delete non-existing array element
2013-11-28 21:17:52 -08:00
Marc Fournier
f9eaa29bce avoid error when trying to delete non-existing array element 2013-11-28 22:33:21 +01:00
Kyle Kingsbury
e3b5a353b0 Merge pull request #45 from ccin2p3/f/format-null
fix: expired values appear as 0
2013-11-26 09:21:10 -08:00
Fabien Wernli
ee76ea370d fix: expired values appear as 0. Now they appear as "null". Maybe this
should be "expired" instead?
2013-11-26 13:02:32 +01:00
Kyle Kingsbury
67335d6871 Revert "Allow expired events in the grid and style with phonecian purple"
This reverts commit a103a62faf. Users
complained that persistent expired events was not the right choice for
them.

Conflicts:
	lib/riemann/dash/public/views/grid.js
2013-11-25 16:35:19 -08:00
Kyle Kingsbury
a8971944ac Merge pull request #44 from bmhatfield/additional-state-strings
Add .state.err and .state.warn strings
2013-10-26 11:02:00 -07:00
Brian Hatfield
2d67a6150d Add .state.err and .state.warn strings 2013-10-26 12:46:15 -04:00
Kyle Kingsbury
819d4571f5 Version 0.2.6 2013-10-21 11:21:40 -07:00
Kyle Kingsbury
7dc795e467 Merge pull request #43 from pyr/feature-sse
Optional server-sent-event connection type.
2013-10-18 16:26:10 -07:00