Commit Graph

28510 Commits (81e2f304abbcd62f886cc7eeea2662a1692fc7be)

Author SHA1 Message Date
Iris Scholten 2a2e36b6f7 fix(ui/dataLoaders): Set collectors data loading type in the correct place 2019-02-04 17:50:30 -08:00
Iris Scholten 54353fb964 refactor(ui/dataLoaders): Update dataLoaders bucket dropdowns to be the same component 2019-02-04 17:27:17 -08:00
Iris Scholten 2265893c37
Merge pull request #11671 from influxdata/refactor/separate-lp-wizard
refactor(ui/dataLoaders): Move Line Protocol wizard into a separate wizard
2019-02-04 16:51:02 -08:00
Palakp41 25be25c0bd
Merge pull request #11673 from influxdata/feat/inline-edit-adminui
Add the ability to inline-edit for Bucket, Dashboard, Tasks, Collecto…
2019-02-04 16:50:46 -08:00
Iris Scholten 8335b4234d refactor(ui/dataLoaders): Move Line Protocol wizard into a separate wizard 2019-02-04 16:31:11 -08:00
Palak Bhojani 811fbd84ae Add the ability to inline-edit for Bucket, Dashboard, Tasks, Collectors and Scraper names 2019-02-04 16:26:37 -08:00
Mark Rushakoff 211d28567d fix(task): set run status to failed if execution fails
Previously a run that started successfully and then failed, would be
incorrectly marked as a success.
2019-02-04 15:51:11 -08:00
Iris Scholten 08bcb3b2aa
Merge pull request #11659 from influxdata/refactor/separate-collectors-wizard
Move collectors data loading into separate wizard
2019-02-04 14:31:54 -08:00
alexpaxton ebfbe3ba38
Polish/view spacing (#11665)
* Make single-stat view take up entire cell

* Decrease margin around tables

* Make markdown views take up entire cell
2019-02-04 14:28:54 -08:00
alexpaxton cb70b8eacb
Make Fancy Scrollbars Fancier (#11661)
* WIP

* Goodbye yarn

* Use latest scrollbar package

* Use default colors

* Expose custom thumb color props

* Use latest package

* Remove unused package

* Update test snapshots

* Organize exernal styles into separate section
2019-02-04 13:01:32 -08:00
Jeff Wendling 3bb765279b storage: respond to review comments 2019-02-04 12:26:26 -07:00
Iris Scholten 0bc0568a80 Move collectors data loading into separate wizard 2019-02-04 11:20:08 -08:00
Brandon Farmer ffd11717c3
Merge pull request #11655 from influxdata/feat/switch-setup-api-client-lib
Move setup api calls to client library
2019-02-04 10:38:07 -08:00
Jeff Wendling b4823d11bf storage: double check the cache to avoid deleting keys that still exist 2019-02-04 10:58:17 -07:00
Jeff Wendling 3014733b20 chore: fix staticcheck issues 2019-02-04 10:32:52 -07:00
Jeff Wendling a424bf3e4c tsm1: implement DeleteBucketRange for the Cache 2019-02-04 10:32:52 -07:00
Jeff Wendling 376b347d56 wal: change deletes to be based on DeleteBucket 2019-02-04 10:32:52 -07:00
Jeff Wendling 7f54e816e3 refactor: have retention use DeleteBucketRange 2019-02-04 10:32:52 -07:00
Jeff Wendling aa12144fc7 storage: replay the WAL through the whole engine 2019-02-04 10:32:52 -07:00
Jeff Wendling 6deced1215 refactor: make the WAL part of snapshots again 2019-02-04 10:32:52 -07:00
Jeff Wendling 2989936d5a refactor: write to the WAL again 2019-02-04 10:32:52 -07:00
Jeff Wendling a3e66755ca refactor: move value aliases into its own file 2019-02-04 10:32:52 -07:00
Jeff Wendling 2f46937527 refactor: move value package up to tsdb 2019-02-04 10:32:52 -07:00
Jeff Wendling 8dbd98ccbe refactor: change the way the engine opens and closes and reload the cache
Open and Close now proceed as best as they are able to in the presence
of errors and clean up appropriately.
2019-02-04 10:32:52 -07:00
Jeff Wendling d2ddd48eea refactor: hook up metrics and wal to storage engine
It turns out that LastModified and DiskSize are unused, and so it
was easy to change to not care about the WAL.

This hooks up metrics and starts the WAL again.
2019-02-04 10:32:52 -07:00
Jeff Wendling 95de3d52b2 refactor: use concrete WAL in tsm1
At the cost of some nil checks, we don't have to have an interface, defend against
subtle bugs with nils in non-nil interfaces, an empty implementation, etc.

Also, the tsm1 engine is losing the WAL anyway.
2019-02-04 10:32:52 -07:00
Jeff Wendling c9bb55b889 refactor: move the tsm1/wal into the storage/wal package
Because the WAL relies on the tsm1.Value type, we move that into its own
tsm1/value package and set up some aliases forwarding them into tsm1. This
also required adding some methods and changing consumers to avoid the
unexported fields. I imagine this step will be useful one day when we make
the write path more efficient with respect to consuming points.

This commit additionally fixes some issues with generation. The iterator.tmpldata
and generation for array_cursor_* were removed accidentally when removing
iterators, making those generated files stale. Restore that and regenerate.

No change in functionality.
2019-02-04 10:32:52 -07:00
Brandon Farmer 06b2d0033d Move setup api calls to client library 2019-02-04 09:24:55 -08:00
Brandon Farmer c71c9ee094
Merge pull request #11647 from influxdata/feat/switch-telegrafs-client-lib
Move telegraf configs api to client library
2019-02-04 09:15:45 -08:00
Chris Goller e5d773cee3
Merge pull request #11492 from asashour/typos
Fix typo
2019-02-04 08:33:41 -06:00
Chris Goller b8584b72ef
Merge pull request #11651 from zhulongcheng/http-simplify-code
chore(http): simplify code
2019-02-04 08:31:03 -06:00
Chris Goller e44b381159
Merge pull request #11650 from zhulongcheng/rename-desc
fix(http): rename desc to descending
2019-02-04 08:28:42 -06:00
zhulongcheng e024b13a2e fix(http): rename desc to descending 2019-02-02 15:11:06 +08:00
zhulongcheng 75d62b5fba chore(http): simplify code 2019-02-01 14:02:13 +08:00
Gershon Shif f3cd889d1e
Add slack notifications to litmus nightly runs (#11648)
- Add a conditional slack notifications to litmus nightly job.
2019-01-31 15:13:34 -08:00
Mark Rushakoff 559cbc776e fix(task): return ErrRunNotFound when finding run by ID
This is necessary to return 404 from the HTTP handler.
2019-01-31 12:04:06 -08:00
Brandon Farmer 1aa5c471ee Move telegraf configs api to client library 2019-01-31 11:09:36 -08:00
Brandon Farmer d4ce72d33a
Merge pull request #11644 from influxdata/feat/switch-scrapers-client-lib
Move scraper api calls to client library
2019-01-31 11:07:04 -08:00
Brandon Farmer 064e13d13c Move scraper api calls to client library 2019-01-31 10:05:40 -08:00
Brandon Farmer 0692f1b5f8
Merge pull request #11628 from influxdata/feat/switch-write-client-lib
Switch write to client library
2019-01-31 09:34:23 -08:00
Edd Robinson 1188d75a99
Merge pull request #11202 from influxdata/er-tsi-times
Add skeleton TSI design doc
2019-01-28 11:54:59 -08:00
Brandon Farmer ae3139cc65 Switch write to client library 2019-01-25 16:33:30 -08:00
Brandon Farmer 37b189174f
Merge pull request #11623 from influxdata/feat/switch-authorization-client-lib
Switch authorizations to use external client library
2019-01-25 16:28:11 -08:00
Mark Rushakoff 3f0e40812e fix(http): return 404 when task or run is not found
For an operation that looks up a task or a run, when that operation
fails, only set the status to 404 if that operation explicitly returns
ErrTaskNotFound or ErrRunNotFound.

It's possible that the operation could fail for a reason other than the
ID being invalid: for example, if there was an IO error preventing the
lookup from succeeding.

Harden that behavior with tests for the task handler.

Closes #11589.
2019-01-25 15:44:09 -08:00
Delmer f0371e6716
fix(ui): fix overlay transition focusing (#11619)
Co-authored-by: Chris Henn <chris@chrishenn.net>
2019-01-25 15:28:52 -08:00
Brandon Farmer 2e4f5f431a Switch authorizations to use external client library 2019-01-25 14:24:37 -08:00
Andrew Watkins 854b2a43eb
test(ui): component integration testing w/ mock redux store (#11577)
* wip: introduce connected async component test

* test(query-builder): mock findBuckets

* test(ui): add ability to pass arbitrary state to renderWithRedux

* test(ui/queryBuilder): click bucket and tag

* test(ui/queryBuilder): use regex matchers to query all

* test(ui/queryBuilder): it can click a tag value

* chore: change id to ID

* chore: move QueryBuilderFetcher

* test(ui/queryBuilder): try waiting for dropdown-items

* test(ui/queryBuilder): move initial state out of beforeEach

* test(ui/queryBuilder): get by bucket name

* wip

* test: put back to default

* test: remove await
2019-01-25 14:08:57 -08:00
Gershon Shif c72363c7ec
Add litmus test runs to nightly build (#11620) 2019-01-25 12:18:56 -08:00
Jorge Landivar 86a0040d84
Merge pull request #11361 from influxdata/feat/end-to-end-tests
feat(tasks):end-to-end tests for the task system
2019-01-25 14:09:28 -06:00
docmerlin (j. Emrys Landivar) 0fec7aa6c4 feat(tasks): end-to-end tests for the task system 2019-01-25 13:28:25 -06:00