Commit Graph

32808 Commits (68183bb15694c594f92c2c4f9aa350c6b874cb50)

Author SHA1 Message Date
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
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
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
Pavel Zavora 4f1953cea5 feat(cmd/influx/task): add --file option #17356 2020-04-03 08:00:56 +02:00
Pavel Zavora 3449f23733 feat(cmd/influx/query): add --file option #17356 2020-04-03 07:31:10 +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
Alirie Gray c4517a609e
refactor(tenant): change info level logs to debug (#17476) 2020-04-01 12:09:29 -07:00
Bucky Schwarz 83c0f297c7 perf: TableGraphTable: tweak rendering internal state
fields that are often re-updated but rarely change value were moved out of react state
and into internal component state. changing these values won't force re-renders.
2020-04-01 11:54:39 -07:00
Alex Boatwright 1461dbb1d3
fix: allow the addition of variables (#17538) 2020-04-01 11:15:08 -07:00
Bucky Schwarz 0070350cad fix: tech-debt workaround - add limit of 100 to checks fetches to show all checks 2020-04-01 11:00:49 -07:00
kelwang 49b69cf800
Merge pull request #17490 from influxdata/cli_easy_switch_back
feat(cmd/influx): add config switch back
2020-04-01 13:45:28 -04:00
Gavin Cabbage 5f1eaa7be3
feat: include user ID with web token (#17535) 2020-04-01 13:43:46 -04:00
Bucky Schwarz 02946a48a2 fix: view editor overlay should respect table view options 2020-04-01 10:04:25 -07:00
Bucky Schwarz 572e81e3ea chore: use performance timer to measure query duration, rather than date 2020-04-01 10:04:25 -07:00
George 9d5d63518d
feat(kv): add support for batch getting keys on bucket interface (#17531) 2020-04-01 17:51:35 +01:00
Kelvin Wang abe3a96674 feat(cmd/influx): add config switch back 2020-04-01 12:44:21 -04:00
Jonathan A. Sternberg eda8d44c74
ci(promqltests): update promqltests go.mod file to be compatible with go 1.13 (#17510)
The prometheus project doesn't adhere to the module suffix so any
attempt to use it as a library fails with go 1.13 or greater. The
workaround is to `go get` a specific commit revision that corresponds to
a tag and let go figure out a pseudo-version for it.

In this case, I updated the revision to the one pointed at by `v2.9.2`
since that is what the current `go.mod` file pointed at. I also updated
the go version to 1.13 inside of `go.mod` to be the same as influxdb.

See https://github.com/prometheus/prometheus/issues/6048 for details.
2020-04-01 10:00:43 -05:00
Alex Boatwright eaaf66d59b
fix: adding contextual time to timemachine (#17528) 2020-04-01 05:26:22 -07:00
Alex Boatwright 91d632ea5c
fix: filter out empty nodes on the ast (#17517) 2020-03-31 17:49:03 -07:00