Commit Graph

32393 Commits (027d29dd30f7860f54cd1677cc43100f463eee7b)

Author SHA1 Message Date
Zoe Steinkamp e75bd2e0f5
Merge branch 'master' into zs-rebuildlabelspopover-#15416 2020-01-13 20:37:05 -07:00
Andrew Watkins 9fdc2e4e7b
refactor(ui): normalize variables resource (#16478)
* chore: move variable types

* refactor: wip normalize variables resource

* fix: typo

* chore: move creators and thunks into separate files

* fix: removal of default state

* refactor: normalize set variables

* chore: fix api imports

* refactor: normalize set and remove variable

* refactor(variables): use const assertion in actions

* refactor(ui/variables): update editor action to use const assertion

* fix: variables not showing up for dashboard

* fix: types

* fix: index variable values properly

* fix: type

* fix: type

* fix: feedback
2020-01-13 17:11:56 -08:00
Bucky Schwarz 6415a6e389 feat: query builder - hide the keys search dropdown when grouping 2020-01-13 14:54:06 -08:00
Deniz Kusefoglu 8850f2c989
fix(durations): Add duration input that checks input validity as duration (#16385)
* Use duration input for check.every field

* Convert check.offset to Duration Input

* Check is string for duration

* feat(duration-inputs): Add submitInvalid ld to duration input

* feat(duration-inputs) Add duration inputs to Deadman Conditions

* feat(duration-inputs) Add test-id to duration inputs

* feat(duration-inputs) Add offset defaults to notification rules

* feat(duration-inputs): Add duration inputs to notification rules

* feat(duration-inputs): Check validity of check durations and thresholds

* feat(duration-inputs): Add vertical scroll bar to duration input

* feat(duration-inputs): Make testID an optional parameter

* feat(duration-inputs) : use window isNan instead of lodash
2020-01-13 21:14:15 +00:00
Johnny Steenbergen fe12fd051e feat(pkger): add jsonnet support for package files 2020-01-13 09:55:08 -08:00
Stuart Carnie 0fec732875
Merge pull request #16503 from influxdata/sgc/issues/5661
feat(models): Add limits options to line-protocol parser
2020-01-13 09:36:26 -07:00
Ariel Salem 03335cceb9
chore(ui): refactored dashboards client API to oats generated types and API (#16438)
chore(ui): refactored dashboards to use oats generated api rather than client
2020-01-13 08:26:58 -08:00
Johnny Steenbergen 3b62340b31 chore(influx): refactor org cmd with buidler pattern 2020-01-13 07:49:16 -08:00
Johnny Steenbergen fdc3e7658c feat(pkger): add ability to supply a pkg from a url
the following is now possible from the CLI(same in REST API):
  influx pkg -u 1717709ffa/bucket_pkg_json
2020-01-12 07:53:58 -08:00
Johnny Steenbergen 3f56658418 fix(influx): drop persistent pre run func taht double prints help cmd 2020-01-10 17:22:05 -08:00
Johnny Steenbergen 9338a0be97 chore(influx): refactor bucket cmd into builder pattern 2020-01-10 15:20:15 -08:00
Johnny Steenbergen 89939dea4e fix(influx): add env vars to cli usage and normalize usage and flag/env var priority
also rids us of the cobra tutorial code and encapsulates things into funcs
2020-01-10 15:20:15 -08:00
Stuart Carnie 76c4f90f0b
feat(models): Add limits options to line-protocol parser
The behavior of the line-protocol parser remains unchanged. This PR
moves the functions to a struct in order to simplify the tracking of
limits whilst parsing a request.

Limits may be set using the ParsePointsWithOptions API and the
associated WithParser functional options, all of which are documented.

It should be noted that the behavior of ParsePointsWithPrecision remains
unchanged.

ParsePointsWithPrecisionV1 was no longer used and removed to simplify
code.
2020-01-10 14:42:02 -07:00
Michael Desa aee746b817
Merge pull request #16416 from influxdata/feat/export-pkger-clone-resources
feat: add tool to migrate 1.x chronograf dashboards and variables
2020-01-10 09:42:21 -08:00
Michael Desa 26e8ee879c
feat: add tool to migrate 1.x chronograf dashboards and variables
feat(pkger): export dashboard and variable *ToResource methods

fix(pkger): add empty selected _measurement to builder config

feat(chronograf): add note & note visibility to dashboard cell

The 1.x DashboardCell struct had migrated since we brought the code into
the InfluxDB codebase. This allows us to migrate cells that were created
since then.

feat(cmd/chronograf-migrator): add 1.x chronograf migrator tool

feat(chronograf-migrator): add function to transpile queries

fix: update spelling of todo comment pkger/models.go

Co-Authored-By: Deniz Kusefoglu <deniz@influxdata.com>

fix(chronograf): add type to DashboardQuery

The type has evolved since this code was moved over from chronograf.
Previously, we did not have access to flux as a type of query.

feat(chonograf-migrator): transpile influxql query to flux if possible

fix(chronograf): omit fields when empty on old chronograf structs

fix: make linter not mad at me

feat(chronograf-migrator): lowercase variable names

fix(pkger): add empty selected measurement to builder config

chore(chronograf-migrator): add basic readme

chore(pkger): export Variable and Dashboard ToResource methods

fix(chronograf-migrator): move flags out of init call
2020-01-10 09:05:19 -08:00
George 560cd3faee
fix(http): expose max batch size bytes limit open on *APIBackend (#16497) 2020-01-10 16:00:37 +00:00
Nathaniel Cook c5a63b8514
docs(readme): Update README and CONTRIBUTING for Rust dependencies (#16479) 2020-01-10 08:57:38 -07:00
Alex Boatwright e203f94e16
feat: removing monaco editor flag (#16301) 2020-01-10 07:57:27 -08:00
Zoe Steinkamp 9d1dd1c14f
Merge pull request #16457 from influxdata/zs-improveErrorMessage16447
fix(ui): improve error message for create check (#16447)
2020-01-10 08:17:00 -07:00
George a0c18c9ef7
feat(http): add configurable limit to points batch size on write endpoint (#16469) 2020-01-10 11:02:44 +00:00
alexpaxton 63b3a07281
refactor(ui): implement cloud top nav design (#16470)
* refactor: add stylesheet for cloud nav

* refactor: remove cloud icon from side nav

* refactor: move cloud nav to top of app

* chore: add declaration so PNG files are typed as any when imported

* refactor: modify cloud nav to use specified components

* fix: Remove comment

* refactor: update nav item text

* refactor: do not show logout in sidenav for cloud users

* refactor: add unique class for google tag manager

* chore: update changelog

* refactor: don't render user menu if org isn't available

* chore: add image file for logo

Adds-Binary: ui/src/pageLayout/images/influxdata-logo.png

* chore: prettier and eslint
2020-01-09 17:56:12 -08:00
Nathaniel Cook 091f025dec docs(readme): Update README and CONTRIBUTING for Rust dependencies 2020-01-09 16:07:40 -07:00
Johnny Steenbergen ba7502aaf5 fix(influx): update influx pkg cmd flag secrets delimter to match vaults using an `=` 2020-01-09 14:22:38 -08:00
Johnny Steenbergen 825b4f8da7 fix(kv): fix issue with cursor not closing inside TX
also drops the prefix search optimizations from index store as well.
2020-01-09 11:31:43 -08:00
Zoe Steinkamp 88fe9ca383 fix(ui): update popover label 2020-01-09 10:10:25 -07:00
Alex Boatwright 98b4be7d08
fix: filter out system buckets (#16459) 2020-01-09 09:02:33 -08:00
Zoe Steinkamp 23acf06df2 fix(ui): update popover label 2020-01-09 09:46:37 -07:00
Zoe Steinkamp 5b7aca040d fix(ui): update popover label
update changelog
2020-01-09 09:46:37 -07:00
Zoe Steinkamp b8f31cad11 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 48ad5ad89e fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 10c7f0255d fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 86d8b716c5 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 45795f9c93 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 51b2047e92 fix(ui): update popover label
fix for js test
2020-01-09 09:45:58 -07:00
Zoe Steinkamp a0a7318f98 fix(ui): update popover label
test update
2020-01-09 09:45:58 -07:00
Zoe Steinkamp 62818d253e fix(ui): update popover label
Dealt with the test issues
2020-01-09 09:45:58 -07:00
Zoe Steinkamp 745e54cba3 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 8d1176cf19 fix(ui): update popover label
Fixing some tests
2020-01-09 09:45:58 -07:00
Zoe Steinkamp 124c4fa2be fix(ui): update popover label
Total fix complete
2020-01-09 09:45:58 -07:00
Zoe Steinkamp 8b96c7de37 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Zoe Steinkamp 15bc3873c8 fix(ui): update popover label 2020-01-09 09:45:58 -07:00
Edd Robinson 2aa5434350
Merge pull request #16455 from influxdata/er-delete-perf
fix(storage): remove data-races in delete predicates
2020-01-09 15:45:55 +00:00
Edd Robinson a06dc0fd7f fix(storage): prevent data-races on predicate
Fixes #15817

This commit addresses several data-races on the `tsm1.Predicate` type
that were causing a live-lock or similar in rare cases during a delete.

Because `tsm1/FileStore.Apply` executes concurrently across TSM files
the state of the delete's predicate was being unsafely mutated.

This commit adds a `Clone` method to the `influxdb.Predicate` type,
which should be used whenever an `influxdb.Predicate` implementation
needs to be used concurrently.
2020-01-09 10:00:25 +00:00
Alirie Gray 4ad9e6b6b5
fix(tasks): add content length check to decode force run request (#16458) 2020-01-08 18:55:42 -08:00
Johnny Steenbergen c8aabaf515 chore(http): fixup middleware stack and normalize metrics into same buckets for id fields 2020-01-08 15:05:34 -08:00
Zoe Steinkamp 50a30f6589 fix(ui): improve error message for create check (#16447) 2020-01-08 15:54:07 -07:00
Alex Boatwright 71c8751711
fix: default to the first bucket (#16453) 2020-01-08 13:32:55 -08:00
Andrew Watkins 62398d04b4
refactor(ui): normalization of tasks (#16445)
* refactor: normalize tasks resource

* fix: pull tasks off of response

* refactor: use action to clear current task

* refactor: stop getting all tasks in every thunk
2020-01-08 13:03:36 -08:00
Deniz Kusefoglu 625ab8999d
fix(dataloader-buckets): default bucket selection should not be system bucket (#16413)
* fix(bucket-loading): Remove action duplication

* fix(bucket-loading): Remove state loading before routing to data loaders

* fix(bucket-loading): Limit available buckets to nonsystem buckets

* fix(bucket-loading): Update changelog
2020-01-08 23:44:09 +03:00
Russ Savage 128b9ee9cb
chore(changelog): add date for beta-1 2020-01-08 10:36:49 -08:00