Commit Graph

32756 Commits (1bb08ceaf8b123fb72353cbc1777065a1c8d184a)

Author SHA1 Message Date
Jonathan A. Sternberg 1bb08ceaf8
refactor(query/stdlib): modify storage filters to use the predicate directly (#17650)
The storage filters are modified to use the predicates directly so we do
not have to pass `semantic.FunctionExpression` around. Instead, since
simple expressions are all that are supported anyway, we transform
suitable function expressions into predicates as part of the push down
rule and this simplifies the influxdb reader code.

This also moves the storage predicate conversion code into the standard
library package as it is the only location that uses this code now that
the predicate conversion is done as part of the push down rule.

This refactor was prompted by another refactor of the
`semantic.FunctionExpression` that would cause it to always contain a
`semantic.Block`. Since the push down filter needs the expressions and
to combine them, this refactor allows us not do construct a combined
filter inside of blocks which allows us to have better type safety.
2020-04-07 10:45:08 -05:00
Jonathan A. Sternberg 17c244d1a7
chore: fix the promqltests go module file (#17631)
The replace directive in the promqltests pointed to the wrong module
path. This is now fixed.
2020-04-06 17:19:27 -05:00
jlapacik bf15ba7696 chore: update flux to latest algow 2020-04-06 12:45:37 -07:00
Jonathan A. Sternberg d3fa60991f
Merge branch 'master' into chore/merge-master 2020-04-06 12:17:47 -05:00
Bucky Schwarz 7bf234ab89 feat(cloud): change text on Upgrade button to Upgrade Now 2020-04-06 05:02:31 -07:00
Alex Boatwright d2aefbd8fd
fix: hierarchy of variables is back (#17609) 2020-04-03 16:16:55 -07:00
Jonathan A. Sternberg 6e4cf7ffef
refactor: fix imports from go template files (#17615) 2020-04-03 17:40:36 -05:00
Ariel Salem d2ea7c30ec
chore(ui): updated login page styling to match Quartz (#17600) 2020-04-03 15:17:08 -07:00
Ariel Salem 53a13e5a77
fix(regression): function inserts now happen on new line (#17552) 2020-04-03 13:31:05 -07:00
alexpaxton 9678dc67d8
chore(ui): remove most fancy scrollbars (#17543)
* chore(ui): remove unused component

* refactor(ui): remove fancy scroll and clean up alert builder

* chore(ui): delete unused components

* refactor(ui): replace fancy scrollbar in query builder

* refactor(ui): replace fancyscrollbars in token viewer

* refactor(ui): replace fancyscrollbars in telegraf config builder

* refactor(ui): replace fancy scrollbars

* refactor(ui): replace fancyscrollbar in empty graph error

* refactor(ui): update markdown cell styles and remove fancy scrollbars

* refactor(ui): ensure markdown changes look good in light mode

* refactor(ui): refactor code snippet to not use fancy scrollbars

* refactor(ui): replace last 2 instances of Fancy scrollbars

* pull mock and import out of describe block

* fix(ui): use less magic numbers for font sizes

Co-authored-by: Bucky Schwarz <d.w.schwarz@gmail.com>
2020-04-03 13:14:24 -07:00
Jonathan A. Sternberg f09ee881fb
Merge pull request #17607 from influxdata/refactor/rewrite-imports
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 15:12:10 -05:00
jlapacik 27f7f4cae1 chore: update flux to latest algow 2020-04-03 12:28:43 -07:00
alexpaxton b394fdf28c
feat(ui): redesign alerting index to be responsive (#17583)
* feat(ui): redesign alerting index to be responsive

* chore(ui): update changelog

* fix(ui): ensure tested elements are visible

* fix(ui): actually fix e2e tests
2020-04-03 12:28:20 -07:00
Yiqun (Ethan) Zhang ace02b1b35
fix: nil timestamp panic in to() (#17591) 2020-04-03 15:03:39 -04:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Ariel Salem 207f174d75
fix(ui): fixed single column links bug (#17601) 2020-04-03 10:24:31 -07:00
Alex Boatwright 96321ff8bd
fix: validate existence of limit api response objects (#17605) 2020-04-03 10:06:00 -07:00
jlapacik 4ade845b33 chore: update flux to latest algow 2020-04-03 09:58:03 -07:00
Vlasta Hajek 39978aa500
docs(clientLibs): update-go-client (#17572) 2020-04-03 09:22:24 -07:00
Jonathan A. Sternberg 9895657dc0
ci: run go mod tidy for the promqltests (#17580) 2020-04-03 11:05:49 -05:00
George 2840e6f26e
feat(kv): add ability to configure a max permissions using auth filter function (#17598) 2020-04-03 17:02:51 +01:00
Jonathan A. Sternberg 469c5849c4
Merge branch 'master' into feat/use-algo-w 2020-04-03 09:30:04 -05:00
Gianluca Arbezzano 47959b7436
Merge pull request #17499 from influxdata/feature/move-prometheus-span
chore(tracing): Span with Prometheus Metrics moved to kit/tracing
2020-04-03 10:07:49 +02:00
Johnny Steenbergen 21d2bf5dc6 chore(pkger): add stack state management for checks 2020-04-02 16:32:20 -07:00
Alex Boatwright 15435d1682
fix: dont wait for query hydration (#17587) 2020-04-02 16:10:19 -07:00
Johnny Steenbergen e6317a04ee chore(pkger): refactor summary/diff types for Endpints|Checks|Variables 2020-04-02 12:35:51 -07:00
Stuart Carnie d992d6f66a
Merge pull request #17453 from influxdata/sgc/issue/17446
feat(storage): Measurement(Names|TagKeys|TagValues) schema APIs
2020-04-02 11:27:36 -07:00
Brandon Farmer d38d47867e
Merge pull request #17575 from influxdata/update-lsp-042
chore: update LSP dependency to 0.4.2
2020-04-02 10:08:34 -07:00
Alex Boatwright c87e3abf0b
feat: metaKey click opens dashboards in a new tab (#17567) 2020-04-02 09:53:12 -07:00
Brandon Farmer a58b3347ed chore: update LSP dependency to 0.4.2 2020-04-02 09:13:31 -07:00
Johnny Steenbergen 762e9a422e feat(pkger): add stack state management for labels 2020-04-02 09:03:59 -07:00
Stuart Carnie 069820ba4b
fix(models): Added error return value; use iota; fix spelling 2020-04-02 08:34:22 -07:00
Stuart Carnie a9a9535aea
feat: Amend tests to use real org+bucket prefixes, including escaped 2020-04-02 08:33:58 -07:00
Stuart Carnie d424d7d1f5
feat(tsdb): Add new measurement based schema APIs
These APIs require a measurement, permitting an additional optimization
to reduce the search space against the TSM index. Specifically, the
search key prefix is extended from `org+bucket` to
`org+bucket,\x00=<measurement>`

* MeasurementNames
* MeasurementTagKeys
* MeasurementTagValues
* Adds an api to the models package for efficiently parsing the
  measurement tag (\x00) from a normalized series key
2020-04-02 08:33:58 -07:00
Stuart Carnie 468704bbfd
Merge pull request #17563 from influxdata/sgc/fix/engine
fix: Invariant violated: mixed block types for a single series
2020-04-02 07:29:48 -07:00
Gavin Cabbage b5c24f3c9d
refactor(tasks): auth user id (#17562) 2020-04-02 09:40:00 -04:00
George 0a7772ac93
fix(kv): update index to use new bucket.GetBatch (#17544)
* fix(kv): update index to use new bucket.GetBatch

* chore(kv): add index walk benchmark for inmem and bolt
2020-04-02 13:12:35 +01:00
Lorenzo Affetti 3f3074eb74
Merge pull request #17498 from influxdata/la/test-mem-manager
test(launcher): e2e test memory limits
2020-04-02 12:21:40 +02:00
Lorenzo Affetti 6b45f3eb86
Merge pull request #17383 from influxdata/la/fix-auth-auth
fix(authorizer): fix auth for authorizations
2020-04-02 12:18:46 +02:00
Lorenzo Affetti 77ae0eacb5
fix(authorizer): fix auth for authorizations 2020-04-02 11:21:39 +02:00
Lorenzo Affetti 13fc4f335d
test(launcher): e2e test memory limits 2020-04-02 11:20:42 +02:00
Deniz Kusefoglu 1a0cb0b803
feat(sampledata): Add demodata bucket type (#17553)
* feat(sampledata): Add readableRetention to buckets remove ruleString

* feat(sampledata): Add new demodata bucket type and card

* feat(sampledata): Fix buckets in test

* feat(sampledata): Return empty array if demodata bucket fetching errors

* feat(sampledata): Do cleanup

* feat(sampledata): Make components more readable
2020-04-01 20:39:17 -07:00
Stuart Carnie 37a97437e7
fix: Invariant violated: mixed block types for a single series
The root cause is that the Unsigned data type has no representation
in the valueType function in the cache and falls back to the default
case of 0.

0 is also a sentinel value in the entry#add function that will
result in skipping the value type check.

It therefore is possible that unsigned values followed by some other
data type is stored in the cache.

It is suspected that the write may be rejected before reaching the
cache, and therefore may not occur in practice. Specifically, the
series file stores the data types on a per-series basis and would
reject the write.

This commit turns the value types into explicit constants and
ensures all existing block types are represented. In addition,
it adds a mapping function to convert these to a known Block type,
which will be used by the `MeasurementFields` schema request to
determine the type of a series in the cache.
2020-04-01 18:42:22 -07:00
Alex Boatwright 5762e64e0b
feat: dashboard var linking (#17522)
please don't be broken
2020-04-01 16:47:32 -07:00
Alex Boatwright 9d3294b31c
fix: filter variables to only those you are using (#17549) 2020-04-01 15:36:44 -07:00
Jakub Bednář 696a67f5bf
fix(CORS): added User-Agent to allowed CORS headers (#17525)
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2020-04-01 14:41:07 -07:00
Johnny Steenbergen f5b9a30b1f feat(pkger): extend labels diff and summary types to include PkgName and Remove
the pkgName refers to the unqiue label resource within the pkg and the
Remove field indicates the label will be removed when applying the pkg
2020-04-01 14:13:45 -07:00
Johnny Steenbergen 34c3b35ca3 feat(pkger): add stack state management for buckets 2020-04-01 13:09:14 -07:00
Jonathan A. Sternberg f385840f3a
refactor(kv): set the default session length when not specified (#17547)
At the moment, the default session length only gets set to the default
when no service config is specified. So if a service config is used and
it does not set a value for the session length, then the session length
will be zero.

This modifies the creation of the kv service so that it will set the
default session length if the session length is set to zero (the default
value) instead of only doing it when no service config is specified.
2020-04-01 15:02:22 -05:00
Gavin Cabbage f3462b306b
fix: revert token change to add user ID (#17551) 2020-04-01 15:13:20 -04:00