Commit graph

81051 commits

Author SHA1 Message Date
Boaz Leskes
9b23ed1781 Added snapshot and restore API to the KB
One caveat - the create repository endpoint assumes you've written the type before the settings in your JSON. It also encorages you to write it so.

Closes #123
2014-03-07 15:50:16 -07:00
Chris Cowan
363fcd1770 Fixes #59 Adding error handling to get_data() function 2014-03-07 15:50:16 -07:00
Boaz Leskes
31495f604e Make basic settings dynamically updatable.
The following currently support dynamic changes:
marvel.agent.interval  (also supports setting to -1 to disable exporting)
marvel.agent.indices
marvel.agent.exporter.es.hosts
marvel.agent.exporter.es.timeout

Also removed dashboard uploading code in es exporter as it is not needed.

Closes #20
2014-03-07 15:50:16 -07:00
Boaz Leskes
3bfbfb2842 Make Exporter plugins instantiate through guice 2014-03-07 15:50:16 -07:00
Boaz Leskes
dd7c1e5eee indicesToExport was ignored by index stats generation 2014-03-07 15:50:16 -07:00
Boaz Leskes
5fff6c7109 Disabled sending of shard stats.
Can be re-enabled by setting marvel.agent.shard_stats.enabled: true

Closes #114
2014-03-07 15:50:16 -07:00
Boaz Leskes
9bda3dda91 Changed default sampling interval to 10s.
Closes #112
2014-03-07 15:50:16 -07:00
Chris Cowan
55f806075e Fix #126 Google Analytics
- Added analytics.js to navigation
- Converted $scope.report to $scope.marvelOpts.report in optin html
- Instrumented navigation panel for Google Analytics
- Instrumented sense for Google Analytics
- Moved the Google Analytics tracking code to config.js
- Changed the config.js to use an absolute url for the settings
  dependency since analytics.js needs to reuse the config (only an issue in Sense )
- Moved analytics to the common directory
- Refactored analytics to return an object with a track function for
  fine grain tracking and a pageview for sending the page view
- Added checks around the pageview code to only trigger a pageview()
  when the user has implictly set their optin/optout status (checking
  marvelOpts.version is set)
- Added ga.pageview() to setOptIn() to fire if the user opts in
- Ensuring the cluster report and analytics.js doesnt get sent or load before they make their decission
2014-03-07 15:49:46 -07:00
Chris Cowan
efb9fcabc4 Merge remote-tracking branch 'upstream/master' into feature/issue-126-analytics 2014-03-07 15:45:08 -07:00
Chris Cowan
267956419f Merge pull request #129 from ccowan/feature/issue-59-error-reporting
Fixing #59 and Mergin #124
2014-03-07 15:43:43 -07:00
Chris Cowan
ec1e404d2c Ensuring the cluster report and analytics.js doesnt get sent or load before they make their decission 2014-03-07 13:16:46 -07:00
Spencer Alger
eb35d0ed84 Added index.html to the project, because we are not building it anymore. 2014-03-07 12:51:48 -07:00
Spencer Alger
67e6ab9338 Added index.html to the project, because we are not building it anymore. 2014-03-07 12:51:48 -07:00
Spencer Alger
84e24a975c allow disabling of the test watcher 2014-03-07 11:25:40 -07:00
Spencer Alger
4aa5edfba3 allow disabling of the test watcher 2014-03-07 11:25:40 -07:00
Spencer Alger
a286a0fc00 broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably 2014-03-07 10:27:19 -07:00
Spencer Alger
32aa75712b broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably 2014-03-07 10:27:19 -07:00
Spencer Alger
eee85c075b courier tests 2014-03-06 17:58:10 -07:00
Spencer Alger
64a4f46d40 courier tests 2014-03-06 17:58:10 -07:00
Spencer Alger
11652eba2c added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test when grunt dev is already running. 2014-03-06 17:37:43 -07:00
Spencer Alger
e2b8625dbf added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test when grunt dev is already running. 2014-03-06 17:37:43 -07:00
Spencer Alger
54daaa8dd7 tracked down XHR requests that the tests were cuasing, included some nextTick into the callback handling, tests should be passing properly now 2014-03-06 17:35:08 -07:00
Spencer Alger
67dc27511a tracked down XHR requests that the tests were cuasing, included some nextTick into the callback handling, tests should be passing properly now 2014-03-06 17:35:08 -07:00
Spencer Alger
988d0b41ac noticed nextTick related errors in mapper tests while investigating a rouge XHR call that is happening 2014-03-06 17:10:26 -07:00
Spencer Alger
aa18485f16 noticed nextTick related errors in mapper tests while investigating a rouge XHR call that is happening 2014-03-06 17:10:26 -07:00
Spencer Alger
738c707dd1 fixed jshint issue in mapper tests 2014-03-06 16:36:56 -07:00
Spencer Alger
f916010212 fixed jshint issue in mapper tests 2014-03-06 16:36:56 -07:00
Spencer Alger
67233f993a added ability to link to a line number in the coverage report 2014-03-06 16:36:19 -07:00
Spencer Alger
7fbe8e1ef7 added ability to link to a line number in the coverage report 2014-03-06 16:36:19 -07:00
Rashid Khan
5daac03c19 Add mapping tests 2014-03-06 15:41:36 -07:00
Rashid Khan
cfd921da1b Add mapping tests 2014-03-06 15:41:36 -07:00
Rashid Khan
534021c98f Updated method for getting the courier index 2014-03-06 15:41:20 -07:00
Rashid Khan
8cab092d43 Updated method for getting the courier index 2014-03-06 15:41:20 -07:00
Rashid Khan
034d6e4afa Merge remote-tracking branch 'upstream/master' 2014-03-06 14:53:25 -07:00
Rashid Khan
fc28bccd65 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:53:25 -07:00
Spencer Alger
f6b8d74594 copy over properties on overwritten methods 2014-03-06 14:50:19 -07:00
Spencer Alger
8fc7182305 copy over properties on overwritten methods 2014-03-06 14:50:19 -07:00
Rashid Khan
90da370cb1 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:45:52 -07:00
Rashid Khan
d5ec4ba266 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:45:52 -07:00
Spencer Alger
7bc904ad9e added modify step to the auto-release sinon wrapper 2014-03-06 14:45:20 -07:00
Spencer Alger
4993386e3a added modify step to the auto-release sinon wrapper 2014-03-06 14:45:20 -07:00
Rashid Khan
4118fceef7 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:43:48 -07:00
Rashid Khan
5a501032a9 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:43:48 -07:00
Rashid Khan
76f3b92fd7 More mapper tests 2014-03-06 14:43:42 -07:00
Rashid Khan
3b3d9209f9 More mapper tests 2014-03-06 14:43:42 -07:00
Rashid Khan
c5c8e98ab4 Update errors to new error syntax 2014-03-06 14:43:24 -07:00
Rashid Khan
c64a7167ee Update errors to new error syntax 2014-03-06 14:43:24 -07:00
Rashid Khan
4be5aca691 remove test from default task 2014-03-06 14:43:07 -07:00
Rashid Khan
d89c25ff35 remove test from default task 2014-03-06 14:43:07 -07:00
Spencer Alger
3ea9d59fc8 added auto-releasing sinon util 2014-03-06 14:39:37 -07:00