Commit Graph

13254 Commits (07edc3108bcef21c27a7c8e33dfa86ba4bf65d9d)

Author SHA1 Message Date
Ben Johnson 846192c066
Merge pull request #1886 from influxdata/bj-refactor-test-cancellation
fix(cmd/influxd): Refactor test cancellation out of main path.
2018-12-14 10:43:15 -07:00
Jeff Wendling 04605eb266 tsm1: speed up deleterange for large keys
rather than starting at the first key, do a binary search to the
first key. changes O(N) when deleting the largest key to O(log N).

benchmark                                    old ns/op       new ns/op     delta
BenchmarkIndirectIndex_DeleteRangeFull-8     17884166763     738717473     -95.87%
2018-12-14 10:06:24 -07:00
Jeff Wendling 687a390aaf tsm1: add benchmarks for deletes 2018-12-14 10:06:24 -07:00
zhulongcheng 5fdb8f7738 add /telegrafs/:id/members path 2018-12-15 00:18:50 +08:00
zhulongcheng bec174676e fix failed rebase 2018-12-15 00:18:50 +08:00
zhulongcheng 6b089708b8 remove unused functions 2018-12-15 00:18:50 +08:00
zhulongcheng c534a43f2f add tests for members/owners endpoints 2018-12-15 00:18:50 +08:00
zhulongcheng 6cb1cc4533 add mock implementation of user service 2018-12-15 00:18:50 +08:00
zhulongcheng 79591aba20 implement get members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 7cd1994cd4 add ResourceType param to filter resource members 2018-12-15 00:18:50 +08:00
zhulongcheng a06044279a implement post members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 3b43d83da0 add UserService to members/owners endpoint handlers 2018-12-15 00:18:50 +08:00
zhulongcheng 3ecdda8a22 add members/owners response definitions 2018-12-15 00:18:50 +08:00
zhulongcheng 090e16a1e7 update swagger User schema to match endpoint response 2018-12-15 00:14:00 +08:00
zhulongcheng 496dc5f730 fix a typo 2018-12-15 00:13:11 +08:00
Lyon Hill f723192d5c
Add ready checking into swagger and update the doc to match health check (#1925)
* Add ready checking into swagger and update the doc to match health checking

* make a few minor changes to the swagger doc
2018-12-14 08:53:25 -07:00
Brandon Farmer 767dededac
Merge pull request #1944 from influxdata/chore/org-resources-generated
Move org resources to use generated client
2018-12-13 17:16:22 -08:00
Alirie Gray 4df5303d9c
Merge pull request #1943 from influxdata/onboarding/update-step-status-on-skip
Handle setting step status when skipping a step
2018-12-13 16:58:22 -08:00
Brandon Farmer 41757e17e7 Move org resources to use generated client 2018-12-13 16:57:53 -08:00
Alirie Gray c812aa2bbb
Merge pull request #1940 from influxdata/onboarding/navigate-to-dashboard-page
Send the user to the dashboard page after completing onboarding
2018-12-13 16:44:18 -08:00
Alirie Gray 381565fe8c Handle setting step status when skipping a step 2018-12-13 16:42:37 -08:00
Brandon Farmer f5a035bffc
Merge pull request #1909 from influxdata/chore/switch-buckets-ui-generated
Switch buckets ui to use generated client
2018-12-13 16:42:18 -08:00
Jade McGough 909fb6e98c
fix(http): remove id param for /buckets and update swagger (#1942) 2018-12-13 16:27:34 -08:00
Brandon Farmer 816e5def43 Switch buckets ui to use generated client 2018-12-13 16:23:48 -08:00
Alirie Gray f24ec32343 Send the user to the dashboard page after completing onboarding
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-12-13 16:13:53 -08:00
alexpaxton 4e7f89d6a1
Prevent nav bar items from printing child coint as sub-items (#1941) 2018-12-13 15:15:30 -08:00
Christopher Henn 0633ad0c67 Refactor Flux visualization parsing
- Rewrite `getTablesByTime` as `spreadTables`
  - Return a single, wide, time-indexed table, which is a more useful format
    for consumers
  - Also return structured metadata about series, in preparation for
    improvements to the hover legend
  - Simplified and more efficient code
- Remove unused `parseValues` utility
- Move `results.test.ts` test cases to `response.test.ts`
- Rewrite `fluxToSingleStat` as `lastValue`, with a simplified call signature
- Fix bug where gauge visualizations would alternate which series they
  displayed a value for when refreshing, dependent on the order of the series
  in each refreshed response
- Simplify `fluxTablesToDygraph` implementation
- Memoize `lastValue` calls in the gauge and single stat visualizations, to
  avoid expensive parsing on each rerender if possible
2018-12-13 15:03:34 -08:00
alexpaxton 53308dae3b
Feat/nav logout link (#1929)
* Fix typo

* Add logout route and component

* Refactor logout button in profile to point to logout route

* WIP refactor nav menu

Making the presentational components composable, removed a couple unecessary concepts

* Style sub-menu items

* Remove unecessary async

* Use Clockface Select to enforce child types
2018-12-13 14:52:16 -08:00
Alirie Gray 69b59fbcb4
Dataloader/update progress bar (#1851)
* Update step statuses in onboarding wizard
* Create reducer to set configuration state for telegraf plugins
2018-12-13 14:29:12 -08:00
Christopher M. Wolff a28dfe8f79
fix(query): restore error messages in repl (#1936)
Fixes #1932
2018-12-13 14:11:17 -08:00
AJ Bond ac61849bc4 chore(ci): Setup nightly build 2018-12-13 16:48:09 -05:00
Palakp41 62469e2acf
Merge pull request #1933 from influxdata/dataLoader/copy-to-clipboard
Add ability to copy text to clipboard on Data Listening
2018-12-13 12:49:33 -08:00
Palak Bhojani 68d43141f2 Add ability to copy text to clipboard on Data Listening 2018-12-13 12:14:58 -08:00
alexpaxton e9ac5edcb4
Add labels tab and placeholder component to orgs profile (#1931) 2018-12-13 12:05:15 -08:00
Jade McGough 7d114afbc4
fix(http): op and error keys no longer required in error responses (#1934) 2018-12-13 12:02:59 -08:00
Kelvin Wang 6ca7c68e2e fix(http): convert dashboard errors 2018-12-13 14:36:46 -05:00
alexpaxton 59a73aabf0
Remove avatar from profile page component (#1930) 2018-12-13 11:36:13 -08:00
Ben Johnson befd3e40b7
Merge pull request #1927 from influxdata/fix-query-stats-race
fix(storage): Extend lock during stats fetch to prevent race
2018-12-13 12:03:22 -07:00
Alex P e0e2d4266c Remove accidentally merged code
=D Don't hate me!!
2018-12-13 10:58:18 -08:00
alexpaxton deda6d8cc3
Introduce Permissions Widget (#1761)
* First pass at component set

* REVERT THIS COMMIT
2018-12-13 10:56:39 -08:00
Iris Scholten 5d4dca9b24
Merge pull request #1917 from influxdata/dataLoaders/download-before-creation
Fix(ui/dataLoaders): Hide download button if there's nothing to download
2018-12-13 10:43:19 -08:00
Ben Johnson 0541d568bd
fix(storage): Extend lock during stats fetch to prevent race 2018-12-13 11:13:20 -07:00
Iris Scholten b153338c78 Fix(ui/dataLoaders): Hide download button if there's nothing to download 2018-12-13 10:04:43 -08:00
Iris Scholten 3d8564759b
Merge pull request #1919 from influxdata/dataLoaders/add-new-source
Fix(ui/dataLoaders): Update streaming button to send you to the streaming step
2018-12-13 09:58:20 -08:00
kelwang f32b6f2fea
Merge pull request #1924 from zhulongcheng/conv-macro-err
fix(http): convert macro errors
2018-12-13 12:45:42 -05:00
Mark Rushakoff c7064463a4 ci: use -p=4 on circle
The docker container we're using has 2 vCPUs. -p=8 was working fine for
a while, but diagnosing #1832 looks like the tsi1.test process was
likely getting OOM-killed. Reducing from -p=8 to -p=4 ought to reduce
memory pressure enough to avoid OOM kills, hopefully.

Also remove a stale TODO.
2018-12-13 08:46:00 -08:00
Chris Goller b7a8361977
Merge pull request #1556 from zhulongcheng/fix-auth-definition
docs(http): update authorization definition
2018-12-13 09:13:51 -06:00
zhulongcheng 8522c93063 fix(http): convert macro errors 2018-12-13 23:11:52 +08:00
Iris Scholten 4ef2663df3 Fix(ui/dataLoaders): Update streaming button to send you to the streaming step rather going to previous location 2018-12-12 17:09:47 -08:00
Palakp41 ff14ed1822
Merge pull request #1891 from influxdata/feat/streaming-new-source-button
Add the ability to count down timer on listening for data
2018-12-12 16:40:15 -08:00