Commit Graph

31819 Commits (34c0a69abfea038b4575c32053a90c4805fa20bb)

Author SHA1 Message Date
Alex Boatwright fb20dfbf13
fix(ui): guard against null (#16068) 2019-12-02 11:50:19 -08:00
Alex Boatwright 75bf014e5e
fix(ui): polyfill for IntersectionObserver (#16071) 2019-12-02 11:16:04 -08:00
lukevmorris b9fb792f69
fix: cloudbeta -> support email address (#15950) 2019-12-02 11:04:07 -08:00
Ariel Salem 8d80f712ea
fix(ui): querying a time range without relevant data should show no data for that part of the timerange (#16040)
* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange

* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange

* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context

* fix(query): updated implementation to reduce mucking the timeMachine reducer logic

* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells

* fix(wip): wip

* fix(graph-time-query): updated graphs so that graph x-axis reflects the input timeRange

* fix(dashboard-timerange): dashboard timerange is now outputting the correct timerange

* fix(ui/dashboard): connected the timeMachine to the component to make data consistently available based on timeMachine context

* fix(query): updated implementation to reduce mucking the timeMachine reducer logic

* fix(edit-veo): configuring a timerange in the dashboard should be accessible when editing cells

* feat(ui): Type start and end time functions

* fix(ui): Set VEO timeMachine timeRange from parent dashboard

* feat(ui): Regularize getStartTime and getEndTime

* feat(ui): Fix prettier errors

* fix(ui): added unit tests for critical parts of the function

* fix(ui): removed unnecessary console that was failing jstest

* fix(ui): added getStartTime and getEndTime tests:
2019-12-02 10:44:33 -08:00
Ariel Salem 5ef4c11379
fix(ui): updated telegraf description to be more explicit (#16061)
* fix(ui): updated telegraf description to be more explicit

* fix(ui): updated title to display same styling as empty text

* fix(ui): added defaultProps and checks for collectors
2019-12-02 10:03:40 -08:00
Ariel Salem f27198c1ad
fix(ui): DWP should default bucket name to selected bucket (#16056)
* fix(ui): segregated bucket dropdown logic to their respective components

* fix(ui): finished refactoring deletedataoverlay to reset predicate state when dismissing overlay

* feat(ui): added cypress testing to ensure bug fix stability
2019-11-27 09:02:15 -08:00
Lyon Hill 997168c0be
fix(endpoint): when looking up a endpoint we should allow org only lookup (#16050)
* fix(endpoint): when looking up a endpoint we should allow org only lookup

In the current system the api always adds "UserID" to the filter. This only
allows the system to look up endpoints that user created. The behavior should be
that we filter based on user input and use authorizor to hide things they shouldn't see.
2019-11-27 09:09:36 -07:00
Jonathan A. Sternberg fe94c5cae4
feat(storage/reads): add cache to reuse tags when reading from storage (#16041)
This adds an lru cache for the columns that are produced as tags. When
producing the columns that are part of the group key, it will generate
the column and then keep it in an lru cache to reuse for future tables.
The start and stop column are effectively cached for every table because
they are special and will be the same for all of the tables.

For the tags, it retains the most recently used since they may be used
by a future table. That way most of the columns will get shared with
each other.

When the size differs, a slice is used so the underlying data is still
shared, but the size is different.
2019-11-27 08:31:53 -06:00
Alex Boatwright e0098f05bc
fix(ui): allow users to go to the token page (#16049) 2019-11-26 13:45:18 -08:00
Alex Boatwright ca60ea4868
feat(ui): let the user know about more telegraf plugins (#16047) 2019-11-26 13:28:01 -08:00
Bucky Schwarz a90899ebf2 chore(ui): add filter and group concepts to tags in redux 2019-11-26 12:34:07 -08:00
Alex Boatwright 380b4113cc
fix(ui): allow telegraf output without buckets (#16039) 2019-11-25 12:29:52 -08:00
George 3dbb9c0fd2
feat(tracing): dont trace spans with full request paths as operation name in ExtractFromHTTPRequest (#15971)
* feat(tracing): dont trace spans with full URL path names in ExtractFromHTTPRequest

* chore(multiple): replace all occurrences of julienschmidt/httprouter with influxdata/httprouter
2019-11-25 15:22:19 +01:00
Chris Goller ce9ce176d9
fix(ui): set env vars correctly for cloud 2019-11-23 19:21:59 -06:00
Zoe Steinkamp 38454a41d1
Merge pull request #16027 from influxdata/zs-backgroundcolor-#15803
fix(ui): value zero has no background color
2019-11-22 17:22:44 -07:00
Johnny Steenbergen 988fd0ae80 chore(pkger): refactor diff into common types for easier access 2019-11-22 16:09:23 -08:00
Chris Goller 7a2868f914
Merge pull request #16035 from influxdata/fix/cloud-webpack-typo
fix(ui): transposed package.json ordering
2019-11-22 18:01:57 -06:00
Lyon Hill 683396ff5a
fix(jwt): jwt id's can't be invalid when marshaling (#16032) 2019-11-22 15:02:17 -07:00
Chris Goller 72614a0c59 fix(ui): tranposed package.json ordering 2019-11-22 15:33:12 -06:00
Stuart Carnie 895e7c66d0
Merge pull request #16019 from influxdata/sgc/issue/5365
fix(kv): Add push down predicate hint to filter by keys and values
2019-11-22 13:45:01 -07:00
Zoe Steinkamp 7ab4282902 fix(ui): value zero has no background color
swaping out if function order
2019-11-22 12:43:02 -07:00
Johnny Steenbergen 888baa2db6 feat(pkger): move bucket pkger model to reflect http APIs retention rules in palce of retention period 2019-11-22 11:13:06 -08:00
Jonathan A. Sternberg 2b4e6283ce
perf(storage/reads): remove the duplicate filter (#16024)
This removes the duplicate filter that is used by the reader. The
storage engine shouldn't be sending us duplicate tables anyway and this
code hurts performance in high cardinality queries because of the memory
it uses to keep track of all of the keys that have been seen.
2019-11-22 12:38:16 -06:00
Alex Boatwright 7e8c8004ae
feat(ui): monaco syntax (#16003) 2019-11-22 10:13:52 -08:00
Stuart Carnie 4c0cf99117
chore(inmem): Resolve staticcheck issue 2019-11-22 11:13:03 -07:00
Edd Robinson 212cec51af
Merge pull request #16022 from influxdata/er-32-bit
feat: enable 32-bit support for influxd
2019-11-22 18:07:31 +00:00
Stuart Carnie a5b29843cf
fix(kv): Add push down predicate hint to filter by keys and values
A KV store may optionally implement a key predicate
function to filter on keys or values, which may reduce memory and
CPU usage.

Expected FindByTaskID resource mapping improvements for a single user:

Before:
206966085 ns/op   37672164 B/op   445060 allocs/op

After:
  1514118 ns/op      11184 B/op      131 allocs/op
2019-11-22 10:55:01 -07:00
Stuart Carnie fdb25560c4
chore(inmem): Created a R/O bucket and cache object
* Avoids bucket allocation calling View
* Simplifies Put and Delete functions of R/O bucket
2019-11-22 10:53:53 -07:00
Stuart Carnie 36b0dc7da3
chore(vendor): Add jsonparser dependency for filter predicates
* Added jsonparser helper package to decode influxdb.ID
2019-11-22 10:34:20 -07:00
Zoe Steinkamp de4397874b fix(ui): value zero has no background color
Formatting
2019-11-22 10:25:49 -07:00
Zoe Steinkamp f320923378 fix(ui): value zero has no background color
Now fixed, falsy zero is no longer being bad
2019-11-22 10:12:48 -07:00
George ba5dc411df
fix(jwt): panic on call to token.Identifier() (#16023)
* fix(jwt): demonstrate panic in token.Identifier() in tests

* fix(jwt): return invalid ID when token.Identifier() cannot parse ID from string
2019-11-22 16:28:00 +01:00
Edd Robinson 0999f88273 fix: prevent integer overflow 2019-11-22 14:06:21 +00:00
Edd Robinson 2f86815f83 fix(storage): ensure field is 64-bit aligned 2019-11-22 13:44:58 +00:00
Edd Robinson c493713d90 fix(tasks): ensure field is 64-bit aligned 2019-11-22 13:25:48 +00:00
Edd Robinson 7146af61b0 fix(storage): enable package to build on 32-bit arch 2019-11-22 12:55:20 +00:00
George dcfd0688af
revert(tasks): construct permissions for finish run to write to system buckets (#15986) (#16008) 2019-11-22 11:29:20 +01:00
Lyon Hill c8de76eaf9 fix(jwt): allow jwt's to be used in query proxy calls (#16010) 2019-11-22 10:12:36 +01:00
Johnny Steenbergen 4d0e0ba1a4 chore(pkger): fixing up the pkger parse error to respect the initial Error call
the errors changed during the pkger http server error improvements and this
fixes it to be similar to what it once was, only now its in a flatter fashion
very similar to the pkger http server apply response.
2019-11-21 17:37:14 -08:00
Johnny Steenbergen 251651cc97 feat(influx): add pkg summary cmd to influx cli 2019-11-21 16:26:24 -08:00
Johnny Steenbergen c533f8495d chore(influx): add tests for pkg validate cmd 2019-11-21 16:26:24 -08:00
Johnny Steenbergen d98ce676fb chore(pkger): refactor pkger cli into a builder for better reuability and testability 2019-11-21 16:26:24 -08:00
Johnny Steenbergen 9149b6af6f feat(influx): add pkg validate command to validate existing packages
also renames a the commands to start with cmd followed by the args. this
is an attempt to order the commands in a slightly more autocomplete friendly
way.
2019-11-21 16:26:24 -08:00
Alex Boatwright 0dbaf4af43
feat(ui): lazy load monaco in runtime (#15978) 2019-11-21 15:28:02 -08:00
Alex Boatwright 2c5fbe8ae1
fix(ui): update the meta tag (#16013) 2019-11-21 14:52:10 -08:00
Chris Goller 2ae8592aa4
feat: add /oauth proxying in webpack dev server (#16002)
feat: add /oauth proxying in webpack dev server
2019-11-21 14:09:23 -06:00
pierwill 9fd97d1b28
Merge pull request #15976 from pierwill/repl-cmd-description
Edit `influx repl` command description
2019-11-21 11:31:13 -08:00
Johnny Steenbergen 77ddcab2b5 feat(influx): add nix pipe support to influx pkg cmd 2019-11-21 10:55:12 -08:00
Johnny Steenbergen 9c525ad413 feat(pkger): add ability to export all and defined list of resources via influx cli to a package
refers: #15921
2019-11-21 10:55:12 -08:00
Johnny Steenbergen a92b632e05 feat(influx): add ability to drop headers from bucket find cli cmd 2019-11-21 10:55:12 -08:00