Commit Graph

32072 Commits (0fec732875fe78be797f23c7f5b1db57b6661601)

Author SHA1 Message Date
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
Alex Boatwright 98b4be7d08
fix: filter out system buckets (#16459) 2020-01-09 09:02:33 -08: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
Russ Savage 3a84d5011f
chore(README): updates for beta (#16364)
* feat(docs): updates for beta

* fix(readme): addressing pr feedback

* chore(readme): addressing feedback from paul
2020-01-08 10:35:58 -08:00
Zoe Steinkamp 1af245a649
Merge pull request #16444 from influxdata/zs-addhoneybadger16443
fix(ui): add honeybadger error report to checks (#16443)
2020-01-08 10:59:26 -07:00
Zoe Steinkamp b2f617ab29 fix(ui): add honeybadger error report to checks (#16443)
Flakey e2e test
2020-01-08 10:36:09 -07:00
Zoe Steinkamp cf9fe462af fix(ui): add honeybadger error report to checks (#16443) 2020-01-08 10:20:25 -07:00
Zoe Steinkamp 51502ca38e fix(ui): add honeybadger error report to checks (#16443) 2020-01-08 10:10:18 -07:00
Zoe Steinkamp 11bc842e3d fix(ui): add honeybadger error report to checks (#16443) 2020-01-08 10:06:08 -07:00
Lorenzo Affetti 48e130a28f
Merge pull request #16356 from influxdata/feat/discard-output
feat(query): add dialect to discard output
2020-01-08 17:28:32 +01:00
Yiqun Zhang 74ba877cb9
feat: opentracing in query execution runtime 2020-01-08 11:16:13 -05:00
Lorenzo Affetti dc4900e252 feat(query): add dialect to discard output 2020-01-08 16:46:52 +01:00
Timmy Luong 578f97d0b7
fix(ui): Prevent negative zero and allow zero with decimal places (#16439)
* fix(ui): Prevent negative zero and allow zero with decimal places

* chore: update CHANGELOG

* fix(ui): Turn off lint rule no-compare-neg-zero

* test: add more tests by overriding prettier

* fix(ui): turn off lint rule for a specific usage, not universally
2020-01-07 16:24:23 -08:00
Bucky Schwarz 81365b9e75 fix: show queries built in advanced mode when switching tabs 2020-01-07 15:02:11 -08:00
Scott Anderson c8a609dfca
Merge pull request #16436 from influxdata/flux-0.58-functions
chore(flux): added onEmpty parameter to flux filter function
2020-01-07 15:50:08 -07:00
j. Emrys Landivar (docmerlin) 026cff4bf9 chore: update to go 1.13 2020-01-07 16:42:06 -06:00
Scott Anderson 3c1f1aa63c chore(flux): added onEmpty parameter to flux filter function 2020-01-07 15:07:56 -07:00
Ariel Salem e45de53259
fix(ui): fixed table threshold bug and added option to make thresholds populate text or background (#16430)
fix(ui): fixed table threshold bug and added option to make thresholds populate text or background
2020-01-07 13:27:25 -08:00
Andrew Watkins 1d13894f88
refactor: normalize scrapers (#16434)
* chore: only save orgs to local storage

* refactor(ui): normalize scrapers
2020-01-07 13:19:25 -08:00
Timmy Luong dc188fc1bf
fix(ui): update giraffe (#16435)
* fix(ui): update giraffe

* chore: update CHANGELOG
2020-01-07 11:52:14 -08:00
Johnny Steenbergen 56754f92f2 fix(kv): remove normalizing of variables names to downcase
note: this will remain unique by name case insensitive

closes #16429
2020-01-07 09:36:40 -08:00
Andrew Watkins c5d4632fb3
refactor: normalize telegrafs (#16420)
* refactor: normalize telegrafs

* fix: check for schema

* fix: telegraf reducer logic

* refactor: move adding defaults to processStrategy

* fix: local storage typings
2020-01-07 09:08:07 -08:00
Gavin Cabbage 6fe69549d4 feat(query): add source to query request via user agent header 2020-01-07 09:28:49 -05:00
Johnny Steenbergen ec35815553 chore(kv): add new/update checks to kv store base and index store 2020-01-06 16:18:01 -08:00