Commit Graph

32788 Commits (751d70a213e5fdae837eda13d7ecb37763e69abb)

Author SHA1 Message Date
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
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
Brett Buddin dab8269841
fix(query): Respect the now-time of the compiled query if it's provided. 2020-04-08 11:50:47 -04:00
Andrew Watkins 9d791d12ed
fix: read only errors (#17664)
* fix: display notification on ne create

* fix: create dashboard from DE notify

* fix: keep user logged in on /write 403
2020-04-08 08:31:31 -07:00
Gianluca Arbezzano 45250eeda2
Merge pull request #17668 from influxdata/fix/set-route-to-trace
fix(tracing): set method to trace
2020-04-08 15:15:06 +02:00
Gianluca Arbezzano 4e1ff2d6ea
Merge pull request #17667 from influxdata/feature/add-userid-in-tracing
feat(tracing): add userID to lookup traces
2020-04-08 15:14:39 +02:00
Gianluca Arbezzano 36cc197470 fix(tracing): set method to trace
It is solid to use retrieve the method directly from the request.

Co-authored-by: George MacRorie <gmacrorie@influxdata.com>
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-04-08 14:48:53 +02:00
Gianluca Arbezzano 0a363b2ba7 feat(tracing): add userID to lookup traces
This commit adds `user_id` as a tag for traces. It helps to lookup and
filter traces we need by userID.

OrgID is harder to get right, so I will open an issue, but it will be
nice to have it in as well.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
Co-authored-by: George MacRorie <gmacrorie@influxdata.com>
2020-04-08 14:19:05 +02:00
Alex Boatwright 0b6f8eada9
fix: escaping tags in flux queries (#17665) 2020-04-07 17:34:26 -07:00
Deniz Kusefoglu 7b0ca1a2bc
fix(alerting): ensure that status fields exist before renaming them (#17662) 2020-04-07 14:27:54 -07:00
Lyon Hill 33c39796bd
feat(tenant): update the client to use the new onboarding package (#17659) 2020-04-07 13:51:06 -06:00
Bucky Schwarz e55c085141 fix: sidebar upgrade now should now redirect properly 2020-04-07 12:38:51 -07:00
Alirie Gray 8975fd2365
refactor(tenant): move bucket and urm auth layers to tenant service (#17474)
Co-authored-by: Lyon Hill <lyondhill@gmail.com>
2020-04-07 11:13:27 -07:00
Ariel Salem ffa48c59b8
fix(ui): fixed dark lines in checks (#17651) 2020-04-07 10:56:55 -07:00
Bucky Schwarz 6854ead72f fix: force a server redirect to /upgrade 2020-04-07 08:02:19 -07:00