Commit Graph

32726 Commits (c245f3233b02f2d3e315d5a5471e3e0dddab57ef)

Author SHA1 Message Date
Johnny Steenbergen c245f3233b chore(pkger): add stack state management for notification endpoints 2020-04-06 14:56:56 -07:00
Jonathan A. Sternberg 84386b884a
chore: fix the promqltests go module file (#17628)
The replace directive in the promqltests pointed to the wrong module
path. This is now fixed.
2020-04-06 16:28:29 -05:00
Ben Johnson 59f683e586
Merge pull request #17610 from influxdata/fix-cursor-buffer-read
fix(storage): Fix query cursor read that caused cursor truncation.
2020-04-06 15:20:55 -06:00
Ariel Salem c11b2d89e1
chore(ui): refactor logout to utilize new featureFlagging from IDPE (#17625) 2020-04-06 14:14:00 -07:00
Alex Boatwright 2746a8b2ce
fix: more variable dependancies (#17617) 2020-04-06 13:48:14 -07:00
Ben Johnson e639f99d03 fix(storage): Add filter regression test 2020-04-06 14:19:16 -06:00
alexpaxton 58c5cf6aea
fix(ui): ensure all dashboard cards render the same size (#17612)
* fix(ui): ensure all dashboard cards render the same size

* fix(ui): ensure dashboard cards with long names don't deform

* chore(ui): changelog

* fix(ui): update dashboard card name selector in e2e test
2020-04-06 13:14:28 -07:00
Andrew Watkins be4c8e590e
fix: read only notifications (#17626)
* fix: bubble template create permission error

* fix(read-only): display delete unauth message
2020-04-06 13:09:35 -07:00
Ben Johnson abfe5a54a0 fix(storage): Fix query cursor read that caused cursor truncation.
Filter cursors buffer points in between calls to Next() if the number
of read points exceeds 1000. Previously, this buffer was being cleared
out before being iterated over which caused queries to return a resultset
which had a number of rows divisable by 1000.

This change moves the clearing of the buffer until after the points have
been read. This change affects any queries which read more than 1000 points
from a single series & have a filter that can be successfully applied to at
least one of those points.
2020-04-06 13:54:16 -06:00
Johnny Steenbergen 1e19f38502 chore(pkger): add stack state management for variables 2020-04-06 10:22:55 -07:00
Lorenzo Affetti e427eea6d9
Merge pull request #17597 from influxdata/la/fix-tenant-test
fix(tenant): make storage pass tenant tests
2020-04-06 17:41:23 +02:00
Lorenzo Affetti d8f31bf2e4
fix(tenant): make storage pass tenant tests 2020-04-06 17:13:56 +02: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
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
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
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