Commit Graph

32813 Commits (bbfb460be57c97c0ebfbf2194c69206627b4445c)

Author SHA1 Message Date
Pavel Závora bbfb460be5
Merge pull request #17732 from influxdata/sranka-context-aware-client-write
fix(http/write_handler): propagate context to http request
2020-04-15 07:06:43 +02:00
Deniz Kusefoglu c891e96d6b
feat(demodata):Fix demodata bucket name constant (#17738) 2020-04-14 21:54:32 -07:00
Johnny Steenbergen c8a79f5653 chore(pkger): refactor parser variable state out into stateful type
references: #17434
2020-04-14 16:48:56 -07:00
Johnny Steenbergen cb7f8ba521 chore(pkger): refactor parser check state out into stateful type
references: #17434
2020-04-14 15:43:50 -07:00
Johnny Steenbergen 68183bb156 chore(pkger): refactor embedded types out of stateful types 2020-04-14 14:12:23 -07:00
Alex Boatwright 2424d80117
fix: legacy fromFlux translation (#17725)
migrating from giraffe to influxdb 🤞
2020-04-14 14:12:08 -07:00
Stuart Carnie a98cd6e922
Merge pull request #17737 from influxdata/sgc/fields
feat(storage): Provide public MeasurementFields API
2020-04-14 11:24:02 -07:00
Stuart Carnie 21e339a32f
chore(storage): Fix documentation to reflect correct time interval 2020-04-14 11:04:56 -07:00
Stuart Carnie fe0ed6cb7e
feat(storage): Provide public MeasurementFields API 2020-04-14 10:49:16 -07:00
Stuart Carnie a3dec4b120
Merge pull request #17728 from influxdata/sgc/issue/6550
chore(storage): Remove redundant gRPC service from protobuf definition
2020-04-14 10:46:23 -07:00
Johnny Steenbergen c718b676ef chore(pkger): refactor pkger data model to separate parsed and stateful datum 2020-04-14 09:28:09 -07:00
Ben Johnson 4d2e06f998
Merge pull request #17715 from oiooj/master
fix(storage): fix data race on tags map
2020-04-14 09:10:35 -06:00
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