Commit Graph

30698 Commits (9cbb62cee57162155ba560b433d5cc0ac990ca30)

Author SHA1 Message Date
Michael Desa 9cbb62cee5 refactor(organizations/actions/orgs): avoid mutation of bucket in createOrgWithBucket 2019-08-01 10:13:07 -07:00
Michael Desa e1e4a574a3 refactor(ui): migrate orgs to use new generated types 2019-08-01 10:13:07 -07:00
Michael Desa 6a91854c71 refactor(ui): migrate buckets to use new generated types
Co-authored-by: Chris Henn <chris@chrishenn.net>
Co-authored-by: Michael Desa <mjdesa@gmail.com>
2019-08-01 10:13:07 -07:00
Christopher M. Wolff e142f6ca7c
fix(query): add LookupName method to dependency interfaces (needed by flux to()) (#14498) 2019-08-01 10:10:43 -07:00
kelwang 0cefcf1597
Merge pull request #14521 from influxdata/feature/check-api
feat: Add check API
2019-07-31 19:15:29 -04:00
Kelvin Wang 87730440ee feat(cmd/launcher): add check to launcher 2019-07-31 19:00:26 -04:00
Jade McGough 5d826961db feat(http): add checks http handler 2019-07-31 19:00:26 -04:00
Kelvin Wang 5072e207ee feat(authorizer): add check 2019-07-31 19:00:26 -04:00
Jade McGough 0e5091ed21 feat(kv): add check kv 2019-07-31 18:52:13 -04:00
Jade McGough ec9ecf23a1 feat(influxdb): add check struct 2019-07-31 18:52:13 -04:00
Alirie Gray ea0888a7d5
Merge pull request #14454 from influxdata/tasks/executor-metrics
feat(tasks): add new executor prometheus metrics
2019-07-31 14:40:29 -07:00
Alirie Gray 30abb1b1b0 feat(tasks): add new executor prometheus metrics 2019-07-31 14:29:05 -07:00
George b2fe0d1d63
fix(tasks): surface flux errors on pre-auth check (#14492) 2019-07-31 11:46:28 +02:00
Christopher Henn 918ca3ec4f fix(ui): upgrade giraffe to 0.16.2
Closes #14504
2019-07-30 14:33:04 -07:00
Christopher Henn ce68ad800f fix(ui): prevent dashboard cell crash when editing cell
Previously, opening the VEO for a cell on a dashboard would cause the
view for the cell on the dashboard to reload. In turn, this would cause
the dashboard cell to crash.

This commit updates the logic for opening the VEO so that the view is
only reloaded when necessary.

Co-authored-by: Michael Desa <mjdesa@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2019-07-30 13:55:48 -07:00
Andrew Watkins 86ae43c813
chore(ui/alerts): change notificationRule to rule (#14506)
* chore(ui): change notification rule to rule

* chore(ui/alerts/actions): change from notificationRule to rule

* feat flag

* fix: component name

* fix: no console.log
2019-07-30 11:56:34 -07:00
Christopher Henn 1250be5f80 refactor(ui): inline API type generation
Part of #14482
2019-07-30 09:35:05 -07:00
Deniz Kusefoglu bbc37b4c68
feat: Alerting add alert builder veo state (#14499)
* Define new check, edit check and check view routes with VEO

Co-authored-by: Michael Desa <mjdesa@gmail.com>

* Add task status to other task types

* Put editAlerting route behind feature flag

* add action and reducer for update current check

* Add init edit and new check editor overlay

* Split VEO in to two for new and edit view

* get edit and new CheckEO's ready

* Create getViewForTimeMachine action

* current check should be a partial check

* Fix view typing

* Fix linter errors

* Fix equality

* Catch save VEO errors
2019-07-29 15:54:35 -07:00
alexpaxton 93649a71b5
refactor(clockface): replace local resource list components with Clockface resource list components (#14493)
* refactor(resource-list): replace local labels resource list with Clockface resource list

* refactor(resource-list): replace local variables resource list with Clockface resource list

* refactor(resource-list): replace local collectors resource list with Clockface resource list

* refactor(resource-list): replace local scrapers resource list with Clockface resource list

* refactor(resource-list): replace local templates resource list with Clockface resource list

* refactor(resource-list): replace local static templates resource list with Clockface resource list

* refactor(resource-list): replace local members resource list with Clockface resource list

* refactor(resource-list): replace local buckets resource list with Clockface resource list

* refactor(resource-list): replace local tasks resource list with Clockface resource list

* refactor(resource-list): replace local dashboards resource list with Clockface resource list

* refactor(resource-list): replace local notification rule & check resource lists with Clockface resource lists

* Delete local resource list components

* test: update affected snapshot tests

* test(e2e): fix labels integration tests

* refactor: use router.push() instead of window.location.assign()
2019-07-29 12:52:32 -10:00
Michael Desa 99e15b262f
Merge pull request #14496 from influxdata/fix/sort-create-dash-from-template-list
fix(component/TemplateBrowserList): sort list of templates alphabetically
2019-07-29 17:04:38 -04:00
Michael Desa 42c8b1a408
fix(component/TaskTokenDropdown): sort list of tokens alphabetically
Closes #14472
2019-07-29 16:41:00 -04:00
Russ Savage 383e6b1368
fix(components/TelegrafExplainer): Update link to Telegraf docs (#14497)
fix(components/TelegrafExplainer): Update link to Telegraf docs Update changelog
2019-07-29 13:33:30 -07:00
Michael Desa fb6b690380
fix(component/TemplateBrowserList): sort list of templates alphabetically
Closes #14465
2019-07-29 16:31:25 -04:00
Chris Goller 837a410bea
feat(http): gzip compress the query CSV response. (#14495)
If client requests with Accept-Encoding: gzip, then
compress response and return with Content-Encoding: gzip.

This increases the server-side load by about 12%, but saves network bandwidth.

benchmark                     old ns/op     new ns/op     delta
Benchmark_Query_no_gzip-4     123609        137885        +11.55%

benchmark                     old allocs     new allocs     delta
Benchmark_Query_no_gzip-4     149            150            +0.67%

benchmark                     old bytes     new bytes     delta
Benchmark_Query_no_gzip-4     14297         15205         +6.35%
2019-07-29 14:47:55 -05:00
alexpaxton a2a44067be
refactor(clockface): replace local index list with Clockface index list (#14491)
* refactor(clockface): replace index lists with clockface index lists

* refactor(clockface): replace local index list import with clockface index list import

* refactor(clockface): remove local index list components
2019-07-29 08:13:20 -10:00
kelwang 13d2b8df66
Merge pull request #14475 from zhulongcheng/fix-json-omitempty
fix(influxdb): rename json option "omitEmpty" to "omitempty"
2019-07-29 11:40:27 -04:00
kelwang ab241b1332
Merge pull request #11741 from influxdata/task-members
fix: task members endpoints
2019-07-29 11:30:06 -04:00
kelwang b72441d3ca
Merge pull request #14487 from zhulongcheng/patch-notification-rule
feat(http): patch notification rule
2019-07-29 11:15:39 -04:00
Jade McGough 254680f094 fix(kv): add task organization ID lookup 2019-07-28 22:07:03 -07:00
zhulongcheng ce4d5a9852 feat(http): patch notification rule 2019-07-28 22:08:23 +08:00
zhulongcheng 41a8174dca docs(http): patch notification rule
/notificationRules/{ruleID}
2019-07-28 22:04:04 +08:00
Andrew Watkins d0913d227c
feat(ui): wasm flux parser (#14471)
* build(ui): add ability to bundle wasm

* refactor(ui/ast): remove cruft from async AST calls

* chore: add TODO

* test: mock @influxdata/flux-parser package

* oops: I will not hide my shame
2019-07-26 17:21:52 -07:00
Chris Goller d3821e12dd
ci(nightly): install protoc (#14486) 2019-07-26 16:21:14 -05:00
Christopher Henn 42ecae8bb2 fix(ui): upgrade clockface to 0.0.19
Closes #13725
2019-07-26 13:40:55 -07:00
Alirie Gray 016143891c
Merge pull request #14353 from influxdata/task/require-token-for-creation
chore(tasks): remove old auth code and allow only token auth
2019-07-26 10:36:50 -07:00
Alirie Gray 7b96bd95f0 test(tasks): fix cypress tests for task creation with token 2019-07-26 09:51:33 -07:00
Alirie Gray c04f3a2b30 chore(tasks): remove old auth code and allow only token auth 2019-07-26 09:51:32 -07:00
George a481d4ab5d
fix: enforce bucket authentication on task update (#14480) 2019-07-26 17:37:45 +02:00
zhulongcheng 67891fdc5e fix(influxdb): rename json option "omitEmpty" to "omitempty" 2019-07-26 11:14:44 +08:00
Sebastian Borza a96194797d
Merge pull request #14466 from influxdata/revert_revert
fix(task): push task backend logging messages back to debug
2019-07-25 21:48:53 -05:00
Russ Savage b28fb15598
add bzr to release build (#14474) 2019-07-25 16:46:15 -07:00
Alirie Gray 65e9bde6cc chore(tasks): update changelog (#14468) 2019-07-25 15:50:15 -07:00
Scott Anderson c7d8fd7c48
Merge pull request #14469 from influxdata/flux-0.37-functions
Added exponentialMovingAverage documentation
2019-07-25 16:36:52 -06:00
Scott Anderson 8dc597bdbe removed unnecessary newline in functions.ts 2019-07-25 16:27:52 -06:00
Scott Anderson c442ca198c Added exponentialMovingAverage documentation 2019-07-25 16:26:26 -06:00
Russ Savage 7e1ff6c59e
updating changelog for alpha 16 release 2019-07-25 15:23:46 -07:00
Scott Anderson a562ebb317
Merge pull request #14464 from influxdata/flux-0.37-functions
Added documentation for new Flux functions
2019-07-25 16:18:14 -06:00
Sebastian Borza 95b834ca2a
push task backend logging messages back to debug 2019-07-25 17:17:19 -05:00
Scott Anderson c4b8737b96 added newlins to functions.ts to pass tests 2019-07-25 16:07:33 -06:00
Russ Savage aa004e9aa8
moving bugfix to the correct release 2019-07-25 15:03:24 -07:00