Commit Graph

28958 Commits (e2da5f4e219593e8792357b967b1d7dc29b11a9b)

Author SHA1 Message Date
Palak Bhojani ae2336c8bf test(scrapers): update a scraper name 2019-02-28 10:44:14 -08:00
Deniz Kusefoglu e98c7f5d16
Merge pull request #12247 from influxdata/fix-org-tasks-path
Add backslash to org routes
2019-02-28 09:48:50 -08:00
Jeff Wendling 0fae44e219 storage: fix problems with keeping resources alive
This commit adds the pkg/lifecycle.Resource to help manage opening,
closing, and leasing out references to some resource. A resource
cannot be closed until all acquired references have been released.
If the debug_ref tag is enabled, all resource acquisitions keep
track of the stack trace that created them and have a finalizer
associated with them to print on stderr if they are leaked. It also
registers a handler on SIGUSR2 to dump all of the currently live
resources.

Having resources tracked in a uniform way with a data type allows us
to do more sophisticated tracking with the debug_ref tag, as well.
For example, we could panic the process if a resource cannot be
closed within a certain time frame, or attempt to figure out the
DAG of resource ownership dynamically.

This commit also fixes many issues around resources, correctness
during error scenarios, reporting of errors, idempotency of
close, tracking of memory for some data structures, resource leaks
in tests, and out of order dependency closes in tests.
2019-02-28 10:22:01 -07:00
Deniz Kusefoglu 86278b653e Add backslash to org routes 2019-02-28 01:07:27 -08:00
Palakp41 9c33541275
Merge pull request #12237 from influxdata/tests/scrapers-creation
test(scrapers): add test for creating scrapers
2019-02-27 16:23:48 -08:00
Delmer 5d08857a06
fix(ui/types/v2/tasks): consolidate task types (#12240) 2019-02-27 19:20:41 -05:00
Palak Bhojani 3ee2599744 test(scrapers): add test for creating scrapers 2019-02-27 15:59:55 -08:00
Palakp41 e99b6112be
Merge pull request #12226 from influxdata/tests/bucket-deletion
test(buckets): add test for deletion
2019-02-27 15:31:53 -08:00
Jacob Marble 4e5253d581
Feat/add zeros to tsm filename (#12174)
* unit tests to confirm The Old Way®

* feat: Increase TSM generation max value to 1 trillion
2019-02-27 14:59:38 -08:00
Palak Bhojani 5451963016 test(buckets): add test for deletion 2019-02-27 14:53:03 -08:00
Andrew Watkins 21aec22b5d
test(e2e/de): shows an error syntactically incorrect query is submitted (#12221)
* test(e2e/de): shows an error if a syntactically incorrect query is submitted

* chore(task/e2e): remove .only call in task tests

* test(e2e/de): remove dynamic testid
2019-02-27 14:17:15 -08:00
Palakp41 a4355c817a
Merge pull request #12216 from influxdata/feat/tasks-runs-logs
Update logs to use api call instead of dummy data
2019-02-27 13:25:26 -08:00
Palakp41 b3cb157d56
Merge pull request #12222 from influxdata/chore/notification-telegrafs-org
Update telegraf to display notifications for update/delete
2019-02-27 13:11:14 -08:00
Palak Bhojani f200db59fb Update telegraf to display notifications for update/delete 2019-02-27 13:01:39 -08:00
Christopher Henn 5d16145b55 Centralize variables state in Redux store 2019-02-27 12:47:45 -08:00
Palak Bhojani 9de809b4ad Update logs to use api call instead of dummy data 2019-02-27 11:25:40 -08:00
Delmer 5a63037e76
feat(ui/labels/click): add searchTerm updating for label clicks (#12111) 2019-02-27 14:21:21 -05:00
Jorge Landivar 9e6a2247c0
Merge pull request #12134 from zhulongcheng/validate-task-status
fix(http): validate status for creating and updating a task
2019-02-27 13:08:06 -06:00
Brandon Farmer b08ea901f1
Merge pull request #12208 from influxdata/feat/dont-show-modal-if-script-same
Show confirmation modal only if script changed
2019-02-27 10:51:37 -08:00
Delmer c4275fb484
test(ui/de): add test for de deleting query text (#12213) 2019-02-27 12:44:44 -05:00
Lyon Hill b3f450eca9
Allow the CLI to find tasks by org name (#12202)
* Allow the CLI to find tasks by org name
2019-02-27 08:56:32 -07:00
Edd Robinson 536f5ff018
Merge pull request #11963 from zhulongcheng/rm-shard-err
storage: cleanup shard errors
2019-02-27 15:54:26 +00:00
Brandon Farmer e09253e461 Show confirmation modal only if script changed
In time machine only show a confirmation modal if the script is
different that the builder
2019-02-26 16:34:15 -08:00
Andrew Watkins 1471be4a7f
refactor(e2e): remove sources, update commands, flaky test
* refactor(e2e): remove the need to create a source before signing in

* refactor(e2e): move setup user into signin function

* fix(orgs): make assertions after org creation

* chore: package.lock
2019-02-26 14:05:53 -08:00
Jonathan A. Sternberg 78430df2bb
refactor(task/backend): replace a removed interface with the method name (#12203) 2019-02-26 14:20:37 -06:00
Jonathan A. Sternberg dd50e10d6d
Merge pull request #12165 from influxdata/flux-staging
update to Flux v0.21.0
2019-02-26 13:12:37 -06:00
Christopher Henn 2f0dd58737 Add e2e test for dis/enabled DE submit button
Closes #12191
2019-02-26 10:45:51 -08:00
Palakp41 68861dd2d1
Merge pull request #12168 from influxdata/tests/variable-deletion
test(variables): add test for deletion
2019-02-26 10:35:51 -08:00
Brandon Farmer f2ac6819d2
Merge pull request #12032 from influxdata/feat/create-telegraf-config
Create telegraf config on create step
2019-02-26 10:03:45 -08:00
Jorge Landivar 8b7aac2bba
Merge pull request #12152 from influxdata/bug/cron-and-every
fix(tasks): allow switching between cron and every options
2019-02-26 12:00:24 -06:00
Brandon Farmer 30759b110f Remove CreateOrUpdateConfig 2019-02-26 09:54:32 -08:00
Brandon Farmer 5bf2b04849 Create telegraf config on create step 2019-02-26 09:25:04 -08:00
Alirie Gray 99ad12dc94 test(variables): add test for deletion
Co-authored-by: Palak Bhojani <palak@influxdata.com>
2019-02-26 09:24:25 -08:00
Palakp41 5982a075c3
Merge pull request #12169 from influxdata/fix/scraper-filtering
Add filtering to scrapers tab on org
2019-02-26 09:20:19 -08:00
docmerlin (j. Emrys Landivar) df75f9b9a0 fix(tasks): allow switching between cron and every options 2019-02-26 11:12:56 -06:00
Christopher Henn 0d774cecb0 Let Plot components size themselves 2019-02-26 09:07:40 -08:00
Lyon Hill 049e8f8c90
Add stats to the run log (#12157) 2019-02-26 08:53:36 -07:00
alexpaxton 6e1ee40f45
Introduce ResourceList components and implement on Dashboards index (#12166)
* WIP Introduce Resource List component family

* Shrink padding of resource cards a bit

* Swap positions of meta information and labels in resource cards

* Introduce resource name component

* Polish resource name editing

* Remove child type validation from context component

* Styles for context menus inside resource cards

* Make resource name + meta line responsive

* Polish appearance of responsive resource description

* Replace dashboards list with dashboards cards

* Update e2e tests and add testID props to a bunch of components

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Make testID props consistent

Make all cypress tests have .test extension
Update E2E tests for dashboards index
Split off test for dashboards view

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Move cell test to dashboards view test

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Remove cells test from dashboards index test

Co-Authored-By: Andrew Watkins <121watts@users.noreply.github.com>

* Fix dashboard view - cells e2e test

* Refactor meta1 and meta2 props into a single metadata prop that returns an array of elements

* Cleanup

* Fix and refactor e2e test to be less brittle
2019-02-25 17:41:18 -08:00
Chris Goller 45a42f62dc chore(.github): specify influxdata api team as code owner of swagger.yml 2019-02-25 18:32:46 -06:00
Palak Bhojani 2d701d25ef Add filtering to scrapers tab on org 2019-02-25 16:06:57 -08:00
Jorge Landivar 70a54e1f4c
Merge pull request #12022 from influxdata/feat/tasklookup-orgname
feat(tasks): look up tasks by orgname
2019-02-25 17:54:24 -06:00
Andrew Watkins 169a798081
chore: remove sources from ui (#12164)
* chore: remove sources from TimeSeries component

* chore: remove sources from ui
2019-02-25 15:35:30 -08:00
Nathaniel Cook f83abfc81a chore(flux): update to Flux v0.21.0 2019-02-25 15:02:17 -07:00
docmerlin (j. Emrys Landivar) 669c464335 feat(tasks): look up tasks by orgname 2019-02-25 15:57:01 -06:00
Palakp41 66923cd391
Merge pull request #12153 from influxdata/feat/tasks-runs-api
Update tasks runs to use the api instead of dummy data
2019-02-25 13:56:31 -08:00
Palak Bhojani 0be45c1a13 Update the loading state to redux 2019-02-25 13:45:16 -08:00
Palak Bhojani 274f79f401 Update tasks runs to use the api instead of dummy data 2019-02-25 13:45:16 -08:00
David McKay 097eddca13
Merge pull request #11937 from rawkode/bugfix/fix-scrapers-swagger-spoec
Fix Name of Label Path Var
2019-02-25 21:16:40 +00:00
Jonathan A. Sternberg 70507670c3
feat(storage/reads): add scanned values and bytes metadata to the query (#12156)
This updates influxdb to use the new arbitrary metadata that can be
attached by a source and adds metadata entries for the cursor
statistics.
2019-02-25 14:44:18 -06:00
Nathaniel Cook 26e7f641b7 Merge branch 'master' into flux-staging 2019-02-25 13:00:28 -07:00