Commit graph

250 commits

Author SHA1 Message Date
Torbjörn Norinder
59dcdf7c33 Add WIP list-view 2014-03-17 20:23:40 +01:00
Torbjörn Norinder
d52567cb7b s/setup_ws_backend/setup_storage_backend/g 2014-03-17 17:49:23 +01:00
Torbjörn Norinder
f8132559a5 Pass config.store[:s3_config] directly to fog to allow for greater flexibility in configuring S3 backend 2014-03-17 17:49:05 +01:00
Torbjörn Norinder
546726ce7d Add support for multiple backends to store config (S3 and File for now) 2014-03-14 15:31:29 +01:00
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
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
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
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
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
Marc Fournier
f9eaa29bce avoid error when trying to delete non-existing array element 2013-11-28 22:33:21 +01: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
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
Pierre-Yves Ritschard
0655c675aa Optional server-sent-event connection type. 2013-10-18 23:39:04 +02: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
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
chillitom
6f4a3454ef fix typo 2013-08-19 17:12:00 +01: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
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
Kyle Kingsbury
4aeb5884fa strings.commonPrefixes: works when all strings are the same 2013-06-07 11:13:03 -07:00
Kyle Kingsbury
c9273b163e strings.commonPrefix: dots are also valid separators 2013-06-06 15:39:11 -07:00
odiszapc
553ec439a3 Added support for NumPad versions of +,- keys, it's handy 2013-05-31 14:38:17 +11:00
Dave Cottlehuber
a103a62faf Allow expired events in the grid and style with phonecian purple 2013-05-06 13:37:14 +02:00
Michael Hood
4c8338bd68 Use encodeURIComponent instead, for other chars
Specifically '#'
2013-05-01 11:25:00 -07:00
Kyle Kingsbury
0f25c04790 Version 0.2.4 2013-04-29 15:11:17 -07:00
Kyle Kingsbury
9c048841f6 Independent slurring for grid renders.
Fixes a bug where multiple grids trying to render at the same time would
allow only one of them to win.
2013-04-29 15:06:26 -07:00
Kyle Kingsbury
6cf5d4b17d Bump jquery-ui to 1.10.2
1.9.x broke the draggable workspaces; fixed now.
2013-04-29 14:55:42 -07:00
Kyle Kingsbury
449afa9b56 Grid: extensive caching of elements to avoid jquery traversal. 2013-04-26 16:23:46 -07:00
Kyle Kingsbury
eae397811d util.slur: actually rate-limit functions.
Slur was delaying calling its function when invoked, but queuing
additional invocations instead of dropping them.
2013-04-26 16:12:50 -07:00
Kyle Kingsbury
785572fbba Slur factors in to load avg. 2013-04-25 17:53:54 -07:00
Kyle Kingsbury
8ad09f5d23 Merge pull request #27 from yanchenko-igor/master
we should use wss:// if we use https://
2013-04-24 13:21:51 -07:00
Kyle Kingsbury
aece6098c1 Grid view: defaults for null col/row/max. 2013-04-24 13:06:03 -07:00
Kyle Kingsbury
f91bd679b1 Grid: hover includes host and service. 2013-04-24 12:17:41 -07:00
Kyle Kingsbury
8673ce4c1f Fix underscore escape template regex. 2013-04-24 12:16:05 -07:00
Kyle Kingsbury
134776a5da Common substring shortening breaks at whitespace only. 2013-04-24 12:08:41 -07:00
Kyle Kingsbury
116474a74a Terrible terrible hack for arbitrary grid projections 2013-04-24 11:44:19 -07:00
Kyle Kingsbury
c3a84bfe9b Grid: use shortened names for headers. 2013-04-24 10:41:45 -07:00
Yanchenko Igor
29da25e61b we should use wss:// for websockets if we use https:// 2013-04-24 17:36:16 +03:00
Kyle Kingsbury
cb058c40b7 Add strings module with longestCommonPrefix fn. 2013-04-23 18:11:04 -07:00
Kyle Kingsbury
965234a794 Grid view: arbitrary row/column values. 2013-04-23 17:28:14 -07:00
Kyle Kingsbury
889e0d40c1 TimeSeries: configurable speed. 2013-04-19 17:51:56 -07:00
Kyle Kingsbury
4ead7d3c82 Bigger textfields for queries on grids and timeseries. 2013-04-19 17:36:53 -07:00
Kyle Kingsbury
d9be9d06ff Version 0.2.3 2013-04-16 17:07:31 -07:00
Kyle Kingsbury
e3ec6b67da Grid: fix a rendering bug causing 0 metrics to have weird bars. 2013-04-16 17:06:26 -07:00
Kyle Kingsbury
48bd6012f0 Lost connections message tells you to check the server field. 2013-04-15 10:35:57 -07:00
Kyle Kingsbury
cad99012ab Move toasts down slightly so they don't cover the toolbar. 2013-04-15 10:32:28 -07:00
egghead
ae31eac44c Making templates safe with quotes, should eventually clean up and move templates to dom/standalone files 2013-03-25 19:34:49 +00:00
egghead
36ee40cde1 Introducing css3 flexboxes for legend 2013-03-23 07:55:46 +00:00
egghead
31b97cc040 Migrating websocket subs to backbone models 2013-03-23 05:13:18 +00:00
egghead
cdcc728531 bumping jquery and simplemodal versions 2013-03-20 17:30:28 +00:00
egghead
8dcf522bbd switching out mustache templates with _.template 2013-03-20 17:22:29 +00:00
egghead
0d46434192 swapping out underscore for lodash 2013-03-20 16:40:33 +00:00
egghead
0a4d9a6a41 Removing unused deps and isolating third party deps 2013-03-20 16:35:59 +00:00
egghead
e7c8e3fbee moving config back to previous location for backward compatibility 2013-03-15 03:24:18 +00:00
egghead
d88e474038 clientside config requests relative in order to support arbitrary mounts 2013-03-15 02:17:18 +00:00
Kyle Kingsbury
7bbbdbb0d4 Merge pull request #18 from eggsby/timeseries
initial version of mult-event timeseries
2013-03-13 09:25:31 -07:00
Kyle Kingsbury
660dae97a1 Merge pull request #19 from eggsby/grid-by-service
Alternate implementation of pivotable grid
2013-03-13 09:24:32 -07:00