Commit graph

67219 commits

Author SHA1 Message Date
Boaz Leskes
d85ddb4f4c Sense: Move to first request upon open
Closes #134
2014-03-11 20:55:13 +01:00
Clinton Gormley
780904245b Support multiline comments
Closes #136 (PR)
2014-03-11 20:37:34 +01:00
Boaz Leskes
6669a2cad8 Add definitive links to splash screen.
Closes #138
2014-03-11 20:21:13 +01:00
Boaz Leskes
5cae6ff2a0 Add @@ to MARVEL_REVISION on analytics.js so it will be replaced. 2014-03-11 15:14:15 +01:00
Boaz Leskes
67405bdd04 Revert stats_report_url to allow JS replacement values 2014-03-11 12:04:03 +01:00
Boaz Leskes
fbda9b58cd Update to 1.1.0 snapshort & pin kibana version as we start testing for a release 2014-03-11 11:41:40 +01:00
Boaz Leskes
a02d7c495b fixed linting 2014-03-11 11:30:06 +01:00
Boaz Leskes
383987abb4 Added marvel version as a custom dimension
relates to #126
2014-03-11 11:29:20 +01:00
Boaz Leskes
e70bf17fac remove quotes from GA codes 2014-03-11 11:29:20 +01:00
Clinton Gormley
81d07e0eb2 Merge pull request #130 from clintongormley/master
Add a "raw" header to the AJAX request when ?load_from points to GitHub API
2014-03-11 11:18:00 +01:00
Clinton Gormley
f8c4d95868 Improve load_from support
When loading from api.github.com, add a header to receive the raw file.
Reset the Server field to the defaultHost when using load_from

Fixes #128
2014-03-11 10:51:37 +01:00
Chris Cowan
390ea41a7f Build Cleanup
- Reverting changes to sense for sense_settings
- Moving tracking code substitution to analytics.js
- Removing the cross dependencies for Kibana from Sense
2014-03-10 14:38:17 -07:00
Chris Cowan
737960adfa Build Cleanup
- Reverting changes to sense for sense_settings
- Moving tracking code substitution to analytics.js
- Removing the cross dependencies for Kibana from Sense
2014-03-10 14:33:50 -07:00
Chris Cowan
d08a184d32 Merge pull request #132 from ccowan/master
Path changes and reconfiguration for build
2014-03-08 10:42:08 -07:00
Chris Cowan
85c19e4a65 Path changes and reconfiguration for build
- Added override for Sense build to point to build directory
- Changed settings dependency in Sense to sense_settings
- Added dependencies to Sense require.config for Kibana dependencies
- Modified paths to be compatible with build and development enviroment
2014-03-08 10:37:47 -07:00
Chris Cowan
9f63837424 Merge pull request #131 from ccowan/feature/issue-126-analytics-rebased
Google Analytics
2014-03-07 15:58:35 -07:00
Chris Cowan
59f4f77e39 Merge branch 'feature/issue-126-analytics' of github.com:ccowan/elasticsearch-marvel into feature/issue-126-analytics 2014-03-07 15:51:28 -07:00
Boaz Leskes
6ec8829a6d Added s3 and hfds snapshot repository types 2014-03-07 15:50:16 -07:00
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