Commit Graph

33196 Commits (7db9f4c520edbd68e77fe0052c825e05b1d0657b)

Author SHA1 Message Date
Johnny Steenbergen dd432360cc feat(pkger): update notification rule with unique constraints 2020-04-08 10:36:21 -07:00
Brett Buddin 6516b598c7
chore(swagger): Add "now" to the query API endpoint. 2020-04-08 13:04:25 -04:00
Brett Buddin dab8269841
fix(query): Respect the now-time of the compiled query if it's provided. 2020-04-08 11:50:47 -04:00
Andrew Watkins 9d791d12ed
fix: read only errors (#17664)
* fix: display notification on ne create

* fix: create dashboard from DE notify

* fix: keep user logged in on /write 403
2020-04-08 08:31:31 -07:00
Gianluca Arbezzano 45250eeda2
Merge pull request #17668 from influxdata/fix/set-route-to-trace
fix(tracing): set method to trace
2020-04-08 15:15:06 +02:00
Gianluca Arbezzano 4e1ff2d6ea
Merge pull request #17667 from influxdata/feature/add-userid-in-tracing
feat(tracing): add userID to lookup traces
2020-04-08 15:14:39 +02:00
Gianluca Arbezzano 36cc197470 fix(tracing): set method to trace
It is solid to use retrieve the method directly from the request.

Co-authored-by: George MacRorie <gmacrorie@influxdata.com>
Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-04-08 14:48:53 +02:00
Gianluca Arbezzano 0a363b2ba7 feat(tracing): add userID to lookup traces
This commit adds `user_id` as a tag for traces. It helps to lookup and
filter traces we need by userID.

OrgID is harder to get right, so I will open an issue, but it will be
nice to have it in as well.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
Co-authored-by: George MacRorie <gmacrorie@influxdata.com>
2020-04-08 14:19:05 +02:00
Alex Boatwright 0b6f8eada9
fix: escaping tags in flux queries (#17665) 2020-04-07 17:34:26 -07:00
Deniz Kusefoglu 7b0ca1a2bc
fix(alerting): ensure that status fields exist before renaming them (#17662) 2020-04-07 14:27:54 -07:00
Lyon Hill 33c39796bd
feat(tenant): update the client to use the new onboarding package (#17659) 2020-04-07 13:51:06 -06:00
Bucky Schwarz e55c085141 fix: sidebar upgrade now should now redirect properly 2020-04-07 12:38:51 -07:00
Alirie Gray 8975fd2365
refactor(tenant): move bucket and urm auth layers to tenant service (#17474)
Co-authored-by: Lyon Hill <lyondhill@gmail.com>
2020-04-07 11:13:27 -07:00
Ariel Salem ffa48c59b8
fix(ui): fixed dark lines in checks (#17651) 2020-04-07 10:56:55 -07:00
Jonathan A. Sternberg 687ab7001b
refactor(query): update semantic graph usage for function expression refactor (#17653)
This updates the semantic graph usage to accomodate the change to the
semantic graph that removed the ambiguity of the body so now it is
always a block instead of being a block or an expression.
2020-04-07 12:36:24 -05:00
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
Bucky Schwarz 6854ead72f fix: force a server redirect to /upgrade 2020-04-07 08:02:19 -07:00
George 557d522af1
fix(tracing): add support for tracing route annotation when using chi (#17648) 2020-04-07 15:35:56 +01:00
Pavel Závora f91f67bbda
Merge pull request #17640 from influxdata/sranka-fix-cors-oss
fix(CORS): stop processing in pre-flight CORS requests
2020-04-07 11:29:11 +02:00
Pavel Zavora b6b904e105 fix(CORS): stop processing in pre-flight CORS requests 2020-04-07 08:12:31 +02:00
Alex Boatwright bd91a81123
feat: swallow the error for now (#17637) 2020-04-06 17:26:24 -07:00
alexpaxton 0677b88f9b
feat(ui): remove treenav flag (#17581)
* refactor(ui): remove treeNav feature flag

* chore(ui): remove unused components

* chore(ui): remove unused routes from settings

* chore(ui): update changelog

* fix(ui): repair login e2e test

* fix(ui): repair tasks navigation e2e test

* fix(ui): repair query builder navigation test

* fix(tenants): remove portion of test

@aliriegray mentioned I should make this change to match her PR https://github.com/influxdata/influxdb/pull/17474
2020-04-06 17:06:43 -07: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
Faith Chikwekwe e989443090
Merge pull request #17634 from influxdata/fix/sort-key-on-master
fix(storage/reads): update sortKey sorting method to use null byte as delimiter, not comma
2020-04-06 15:13:57 -07:00
Lyon Hill 4421a39639
feat(tenant): Build out the onboarding system in tenant and integrate it into launcher (#17558)
We are adding in a setup/user route this is not in swagger at the moment but will be
added once we feel it is stable.
2020-04-06 15:58:15 -06:00
Johnny Steenbergen c245f3233b chore(pkger): add stack state management for notification endpoints 2020-04-06 14:56:56 -07:00
Faith Chikwekwe edc1a7413d fix(storage/reads): update sortKey sorting method to use null byte as delimeter 2020-04-06 14:52:19 -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
jlapacik bf15ba7696 chore: update flux to latest algow 2020-04-06 12:45:37 -07:00
Pavel Závora 9cca99d0a4
Merge branch 'master' into 17356/influx-cli-file 2020-04-06 21:04:44 +02:00
Johnny Steenbergen 1e19f38502 chore(pkger): add stack state management for variables 2020-04-06 10:22:55 -07:00
Jonathan A. Sternberg d3fa60991f
Merge branch 'master' into chore/merge-master 2020-04-06 12:17:47 -05: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
Pavel Zavora 37b3673733 chore(cmd/influx): apply proofreading comments #17356 2020-04-04 13:00:41 +02: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