Commit Graph

33051 Commits (89fe6834b087e29847e4b930a754af2ca506a4b2)

Author SHA1 Message Date
Pavel Závora 744a2c15c9
fix(http/write_handler): propagate context to http request
_http.NewRequestWithContext_ (available since golang 1.13) ensures that the supplied context also controls the entire lifetime of a request and its response.
2020-04-14 11:17:55 +02:00
Deniz Kusefoglu aa1f21b58a
feat(demodata): Pass bucket to removeBucket function (#17731) 2020-04-13 23:32:10 -07:00
Stuart Carnie abb6821f89
chore(storage): Remove redundant gRPC service from protobuf definition 2020-04-13 16:27:58 -07:00
alexpaxton 8130aa07a3
feat(ui): resource sorting dropdowns (#17321)
* feat(ui): replace sortable dashboard table headers with sort dropdown

* refactor(ui): remove unecessary components

* refactor(ui): add testIDs to dropdown

* refactor(ui): move tasks filter to page control bar

* fix(ui): remove unused import

* feat(ui): replace tasks sortable headers with sort dropdown

* fix(ui): make search widget more responsive

* fix(ui): make dashboard sort dropdown maintain size

* refactor(ui): consolidate resource sorting into a single component

* refactor(ui): standardize tabbed page headers

* fix: use correct import paths

* refactor(ui): implement resource sorting dropdown for variables

* refactor(ui): implement sorting dropdown on labels list

* chore: delete unused stylesheet

* refactor: implement sort dropdown for templates list

* refactor: implement sort dropdown on buckets list

* refactor: update design of "what is a bucket?" card

* refactor: implement sort dropdowns in telegrafs list

* fix: appease linter

* refactor: implement sort dropdown on scrapers list

* chore: add testIDs to resource sorter

* fix: remove unused code

* fix: update buckets and telegraf e2e tests

* fix: update labels e2e test

* fix: update variables e2e test

* refactor: move dashboards list empty state into own component

* fix: oops derp ayyyy

* chore: changelog

* refactor: use more resource specific types for sort keys
2020-04-13 15:38:03 -07:00
Bucky Schwarz 0d092d3dbb chore: cleaned up markdown usage in the ui 2020-04-13 14:34:32 -07:00
Bucky Schwarz 29bd1c0b20 feat(cloud): add MarkdownRenderer a cloud-aware wrapper of react-markdown 2020-04-13 14:34:32 -07:00
Alex Boatwright fa887b8768
feat: move flux parser (#17681) 2020-04-13 14:30:38 -07:00
Timmy Luong 859b2bd642 fix(ui): update e2e test for orgs 2020-04-13 14:17:58 -07:00
Timmy Luong 53f2cced0c fix(ui): add component to route hierarchy to handle org renaming 2020-04-13 14:17:58 -07:00
Johnny Steenbergen 217eddc87e fix(pkger): add monotoneX geom type to valid geometries 2020-04-13 13:31:14 -07:00
Ariel Salem d16406650b
chore(ui): The default transitions were slow and choppy, leading to a weird UX. Updated the Transition component to override default transition effects to speed and smooth them update. (#17719) 2020-04-13 13:03:06 -07:00
Johnny Steenbergen ec1324ba4a fix(pkger): fixup field misassignment in table view export
closes: #17708
2020-04-13 12:22:36 -07:00
Ben Johnson 751d70a213
Merge pull request #17707 from influxdata/optimize-verify-points
fix(models): Optimize allocations in NewPoint()
2020-04-13 10:02:38 -06:00
kun 80e71d6ee0 fix(storageflux): fix data race on tags map (#17702) 2020-04-11 18:40:50 +08:00
Deniz Kusefoglu b1ba20c79c
feat(demodata): Demodata UI polish (#17690)
* feat(demodata): set UI display elements for demodata buckets

* feat(demodata): instantiate demodata template on bucket request

* feat(demodata): Adjust width of demodata dropdown

* feat(demodata): Filter demodata buckets array by instantiated buckets

* feat(demodata): Add delete button functionality to demodata buckets

* feat(demodata): Delete demodata dashboard if it exists

* feat(demodata): Remove unused action

* feat(demodata): Connect DemoDataBucketCard to redux

* feat(demodata): Create separate delete demodata thunk

* feat(demodata): Alphabetize bucket

* feat(demodata): import template json

* feat(demodata): api import

* feat(demodat): fix anon import

* feat(demodata): Avoid fetching all buckets on add and remove demodata buckets

* feat(demodata): await DemoDataTemplates

* feat(demodata): Add prefetch

* feat(demodata): Linting
2020-04-10 16:01:07 -07:00
Russ Savage 41a23242ea
chore(changelog): update changelog for beta-8 (#17713) 2020-04-10 15:15:11 -07:00
alexpaxton b987f1da66
fix(ui): make cell cloning more predictable (#17700)
* fix: simplify cloned cell positioning

* refactor: append "(Clone)" to the name of cloned cells
2020-04-10 14:23:41 -07:00
Johnny Steenbergen e09d65f361 fix(swagger): fix indention problem in swagger doc
closes: #17652
2020-04-10 14:11:56 -07:00
Lorenzo Affetti 3e0a426a22
Merge pull request #17706 from influxdata/la/fix-mem-limit-default
fix(launcher): set default memory limit for query to unlimited
2020-04-10 21:47:36 +02:00
Ben Johnson 914255d374 fix(models): Optimize allocations in VerifyPoint() 2020-04-10 13:39:30 -06:00
Lorenzo Affetti 6967cc2d58
fix(launcher): se default memory limit for query to unlimited 2020-04-10 21:33:45 +02:00
Ariel Salem 4bb34bb056
fix(TelegrafInstructions): Updated the TelegrafInstructions to remove the warning to tell users to keep the token (#17705) 2020-04-10 11:16:43 -07:00
Timmy Luong 615b1f456a fix(ui): allow mouse cursor inside Script Editor for Safari 2020-04-09 16:52:02 -07:00
jlapacik 5fe5da4ec7
fix(flux): return internal influxdb error for cursor conflict (#17697)
* fix(flux): return internal influxdb error for cursor conflict

Closes https://github.com/influxdata/influxdb/issues/17680.

* refactor: update error code from EInternal to EInvalid
2020-04-09 14:40:41 -07:00
Johnny Steenbergen 67ccbd4490 fix(influx): add nil check for printing diff of endpoints and checks 2020-04-09 13:15:32 -07:00
Russ Savage 336644a858
fix(fluxFunctions): fix typo in assert methods, group under tests (#17694)
* fix(fluxFunctions): fix typo in assert methods, group under tests

* chore(changelog): add 17694 to changlog
2020-04-09 10:27:58 -07:00
Stuart Carnie 3627954139
Merge pull request #17589 from influxdata/sgc/issue/17560
feat(tsm1): Implementation of MeasurementFields schema API
2020-04-09 10:20:23 -07:00
Alex Boatwright 9b8a607940
fix: load dashboard before accessing (#17691) 2020-04-09 08:05:05 -07:00
Brett Buddin 2fe78240a0
Merge pull request #17669 from influxdata/bb/increase-execution-limits
feat(task): Add worker count option to Executor
2020-04-09 09:53:38 -04:00
Brett Buddin c08486ba5a
feat(task): Add option to Executor to set maximum worker count. 2020-04-09 09:37:17 -04:00
Timmy Luong e170b5d2df
fix(ui): update giraffe to fix spacing between ticks (#17692)
* fix(ui): update giraffe to fix spacing between ticks

* chore: update CHANGELOG
2020-04-08 17:45:56 -07:00
alexpaxton 0b94b09527
feat(ui): sort getting started dashboards by modified (#17657)
* feat(ui): sort getting started dashboards widget by modified

* feat(ui): make recent dashboards list searchable

* refactor(ui): increase font size of tutorials list

* fix(ui): prettier

* chore(ui): update changelog
2020-04-08 16:19:56 -07:00
Stuart Carnie cb618efc65
feat(tsm1): Implementation of MeasurementFields
This commit provides an implementation of the MeasurementFields
API per the design previously outlined.
2020-04-08 16:15:34 -07:00
Stuart Carnie 7de6383adf
refactor(tsm1): Allow race-free access to cache
This commit adds a new API to `Cache` to address data races
with the `TagKeys` and `TagValues` APIs.

`Cache` and `entry` provide `AppendTimestamps`, which
appends the current timestamps to the provided slice
to reduce allocations. As noted in the documentation,
it is the responsibility of the caller to sort and deduplicate
the values, if required.

The `cursors.TimestampArray` type was extended to permit
use of the `sort.Sort` API.
2020-04-08 16:15:05 -07:00
Stuart Carnie 31df76e1e9
refactor(tsm1): Add TimeRangeMaxTimeIterator
This commit introduces a new API for finding the maximum
timestamp of a series when iterating over the keys in a
set of TSM files.

This API will be used to determine the field type of a single
field key by selecting the series with the maximum timestamp.

It has also refactored the common functionality for iterating
TSM keys into `timeRangeBlockReader`, which is shared
between `TimeRangeIterator` and `TimeRangeMaxTimeIterator`.
2020-04-08 16:05:19 -07:00
Johnny Steenbergen 77bb23fd38 chore(pkger): refactor label mapping diff CLI table output 2020-04-08 15:13:47 -07:00
alexpaxton a43e9c4197
refactor(ui): polish labels interactions (#17660)
* refactor(ui): smooth out interactions of inline labels editor

* refactor(ui): remove visibility state from labels editor

* fix(ui): prevent labels list from expanding oddly

* chore(ui): update changelog
2020-04-08 14:55:06 -07:00
Johnny Steenbergen cee77081b2 feat(pkger): extend tasks with unique constraints 2020-04-08 14:38:32 -07:00
Johnny Steenbergen afb1653bff chore(pkger): refactor diffs to use reuable identifier type 2020-04-08 13:30:43 -07:00
Johnny Steenbergen 85e31e8194 feat(pkger): update tasks with unique constraints 2020-04-08 13:30:43 -07:00
alexpaxton ce69045708
fix(ui): enable token overlay headers to wrap (#17661) 2020-04-08 13:20:18 -07:00
Brett Buddin f9941311b7
Merge pull request #17670 from influxdata/bb/task-send-now
fix(query): Respect the now-time of the compiled query if it's provided
2020-04-08 15:42:01 -04:00
Brett Buddin 5859121898
chore(changelog): Update changelog to reflect now() fix 2020-04-08 15:16:31 -04:00
Lyon Hill 4728e36e1b
feat(metrics): allow red metrics to be more generic (#17678) 2020-04-08 12:58:36 -06:00
Pavel Závora 179adb0e9b
Merge pull request #17595 from influxdata/17356/influx-cli-file
feat(cmd/influx): add --file option to query and task commands
2020-04-08 20:45:44 +02:00
Johnny Steenbergen 845718c0d6 feat(pkger): update dashboards with unique constraints 2020-04-08 11:21:28 -07:00
Pavel Závora 3270d3328a
Merge branch 'master' into 17356/influx-cli-file 2020-04-08 19:54:43 +02:00
Pavel Zavora 18b1572ba9 chore: update Changelog 2020-04-08 19:49:40 +02:00
Johnny Steenbergen dd432360cc feat(pkger): update notification rule with unique constraints 2020-04-08 10:36:21 -07:00
Brett Buddin 6516b598c7
chore(swagger): Add "now" to the query API endpoint. 2020-04-08 13:04:25 -04:00