Commit graph

328 commits

Author SHA1 Message Date
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
Pierre-Yves Ritschard
0655c675aa Optional server-sent-event connection type. 2013-10-18 23:39:04 +02:00
Kyle Kingsbury
bcc5a2ab84 Merge pull request #42 from michaelfairley/patch-1
s/:host/:bind/
2013-10-09 14:41:30 -07:00
Michael Fairley
cec51f234e s/:host/:bind/
Sinatra uses `:bind` to specify the interface to bind to: http://www.sinatrarb.com/configuration.html#bind---server-hostname-or-ip-address
2013-09-27 10:58:31 -05:00
Kyle Kingsbury
1986a96c20 Merge pull request #41 from Shopify/stacked_graphs
Add options to the flot graph to allow building stacked graphs and bar graphs
2013-09-23 09:15:54 -07:00
Harry Brundage
f76d9e4d56 Add options to the flot graph to allow building stacked graphs and bar graphs 2013-09-20 11:00:08 -04:00
Kyle Kingsbury
8e039c6fca Merge branch 'master' of github.com:aphyr/riemann-dash 2013-09-06 10:45:56 -07:00
Kyle Kingsbury
3217094e1b Document the :host option 2013-09-06 10:45:42 -07:00
Kyle Kingsbury
ca6b8afb06 Merge pull request #39 from mfournier/display-human-readable-date-in-grid
grid view: display events timestamp in human-readable format
2013-08-31 10:46:38 -07:00
Marc Fournier
f9a3947dab grid view: display events timestamp in human-readable format
... as opposed to milliseconds since the epoch.
2013-08-31 15:57:40 +02:00
Kyle Kingsbury
838ea98e4a Merge pull request #38 from chillitom/patch-1
fix typo
2013-08-19 09:19:34 -07:00
chillitom
6f4a3454ef fix typo 2013-08-19 17:12:00 +01:00
Kyle Kingsbury
3bba31ae06 Merge pull request #37 from chillitom/patch-1
Add optional thousands separators to Gauge control
2013-08-19 09:00:55 -07:00
chillitom
8e0776bf9a update Gauge control to optionally format metrics using thousands separators 2013-08-19 11:05:23 +01:00
chillitom
7ff9183fa5 add optional comma separators to formatFloat 2013-08-19 11:03:12 +01:00
Kyle Kingsbury
9c608f18de Merge pull request #35 from justwrote/master
Use relative paths
2013-07-27 19:43:26 -07:00
Kyle Kingsbury
3184a022b2 Merge pull request #34 from Tinche/master
Reworked row/column label trimming in grid.js.
2013-07-23 16:20:04 -07:00
Tin Tvrtkovic
cbc2dea0e6 Reworked row/column label trimming in grid.js. 2013-07-24 01:12:57 +02:00
Kyle Kingsbury
3cad90aab3 Version 0.2.5 2013-06-27 16:08:04 -07:00
justwrote
71265de9d6 use relative paths 2013-06-13 18:31:54 +02:00
Kyle Kingsbury
882d7b6e38 Flot: can graph 0 metrics. 2013-06-07 19:09:49 -07:00
Kyle Kingsbury
4d6fcc2403 Flot: without a title, use full space. 2013-06-07 14:17:51 -07:00
Kyle Kingsbury
0f0c90d970 Float: alternate approach to nil hosts/services 2013-06-07 14:16:37 -07:00
Kyle Kingsbury
5bdeed02bb Flot: improved handling of null hosts/services 2013-06-07 12:56:55 -07:00
Kyle Kingsbury
6c6f198b24 Merge branch 'master' of github.com:aphyr/riemann-dash 2013-06-07 12:14:27 -07:00
Kyle Kingsbury
15e1e10719 Flot timeseries chart. 2013-06-07 12:13:59 -07:00