Greg
1f1b1c492e
fix: remove orgs from token permission list ( #16760 )
...
* fix: remove orgs from token permission list
* fix: set orgs read resource permission to 'id' rather than 'orgID'
* fix: add types to the typescripts
thanks ebb-tide!
* test: add test for permissions bit
find the test that circle prefers
* chore: comment on org's unique permissions
2020-02-07 15:53:24 -07:00
Timmy Luong
2d276e594a
fix: update giraffe
2020-02-07 14:43:32 -08:00
Nathaniel Cook
9f7d4f9be0
feat(query): adds support for influxql as language type for queries ( #16712 )
...
This change allows for the InfluxQL language type to be used with the
/v2/query API endpoint.
This change also introduces a way to give the transpiler an explicit
bucket name instead of using the DBRPMapping service.
Requests to the endpoint will know the bucket name directly but will
likely not have run the migration step to populate the DBRP mappings.
2020-02-07 15:20:50 -07:00
Kelvin Wang
e3acd7f86b
feat(http): add secret service
2020-02-07 15:54:28 -05:00
Zoe Steinkamp
39b767cb0e
fix: e2e tasks test ( #16777 )
2020-02-07 10:16:15 -07:00
Timmy Luong
6204058458
fix: update giraffe to fix graph tooltip ( #16769 )
...
* fix: update giraffe to fix graph tooltip
* chore: update CHANGELOG
2020-02-07 09:15:44 -08:00
Johnny Steenbergen
684f7b82ad
feat(pkger): extend HTTP API to enable users to submit multiple pkgs in one call
2020-02-07 08:08:58 -08:00
Lyon Hill
ec13042c57
feat(kv): Create a indexer to allow the addition of indexes ( #16745 )
...
* feat(kv): Create a indexer to allow the addition of indexes
This will allow the population of indexes to be incremental and allow
for a rolling update to the index's to be handled cleanly.
2020-02-07 09:01:37 -07:00
George
bc64968b0b
chore(task): add test around paging using after ( #16774 )
...
* chore(task): add test around paging using after
* fix(kv): support filter.After in FindTasksByUser
2020-02-07 15:48:55 +00:00
docmerlin (j. Emrys Landivar)
06102ba3d4
fix(tasks): reduce memory allocations in scheduler
...
This will reduce memory allocations in the scheduler by removing
unneccessary delete/replace actions on the btree that is used as an
internal priority queue.
2020-02-07 09:30:50 -06:00
Russ Savage
43beabdc7a
chore(changelog): update header for beta-3
2020-02-06 20:59:12 -08:00
Johnny Steenbergen
af6fac9fdf
chore(pkg): remove ambiguity in wrong cmd calls within influx pkg cmd
...
there was an issue where you could call, `influx pkg summarize`
and the influx cli would actually prescribe that to `influx pkg` cmd
and pass summarize as an arg. This removes that ambiguity
2020-02-06 18:06:17 -08:00
Johnny Steenbergen
bf0cc56d7f
feat(influx): add ability to provide multiple urls to influx pkg command
...
also provides an interface to mix and match everything together. you can
now provide `-f` flags for file or directories, `-u` flags for urls, and
use the | to pipe in a pkg. all of which can be done at the same time.
2020-02-06 17:16:47 -08:00
Michael Desa
ef6f7eaa22
Merge pull request #16766 from influxdata/feat/expose-http-bucket-enc
...
chore(http): export NewBucketResponse function
2020-02-06 16:19:10 -08:00
Michael Desa
c8edf66ee4
chore(http): export NewBucketResponse function
...
This function is required for maintaining a similar buckets reponse.
2020-02-06 16:01:30 -08:00
Johnny Steenbergen
2d2fb4056b
feat(influx): add support for providing directories of pkgs to pkg command
...
closes : #16657
2020-02-06 15:57:03 -08:00
Nathaniel Cook
c46045e673
fix(influxql): update all links to transpiler issues to new github urls ( #16728 )
...
The platform repo was removed and the issues migrated. For ease in tracking progress the issues have been
updated with their new influxdb repo links.
2020-02-06 15:59:46 -07:00
Johnny Steenbergen
e472b013d9
feat(influx): add support for mulitple pkg files to be submitted together
2020-02-06 13:02:35 -08:00
Johnny Steenbergen
6ce0c3de7f
feat(pkger): add support for combining pkgs
2020-02-06 12:40:30 -08:00
David McKay
8e51fe0aad
fix(CORS): accept OPTIONS preflight request with Origin header
2020-02-06 20:28:29 +01:00
George
fe990aa4db
feat(kv): add cursor option skip first item ( #16758 )
2020-02-06 12:18:47 -07:00
Johnny Steenbergen
b2da311aa2
chore(pkger): simplify env refs to remove juggling state between validations
2020-02-06 10:31:43 -08:00
Lyon Hill
ef848d0aa4
fix(kv): task lookup for all tasks will now skip the after key ( #16757 )
2020-02-06 10:44:36 -07:00
Johnny Steenbergen
7cf6167356
feat(influx): extend pkg command with providing env ref entries
...
this also extend dry run to provide env refs to it. the refactoring was
to enable that bit. Having the ability to dry run with the env ref entries
means we can dry run the pkg with the env ref values to see the impact before
the application takes place.
2020-02-06 08:48:05 -08:00
Johnny Steenbergen
1343ccf7dc
chore(pkger): refactor env refs lookup to be unique by entry idx
...
entry idx is static and unique per object. using this here as a means
to remove duplication when assigning envs on multiple validations of a
pkg.
2020-02-06 08:48:05 -08:00
Zoe Steinkamp
6dcbc88d22
fix: gauge tests ( #16744 )
2020-02-05 15:15:32 -07:00
Johnny Steenbergen
bbdd6bf7fc
feat(pkger): add env refs for associations
2020-02-05 09:48:50 -08:00
kelwang
e354fd0823
Merge pull request #16733 from influxdata/fix_rule_patching_panic
...
fix(kv): fix patching panics
2020-02-05 09:38:11 -07:00
Kelvin Wang
53d9caf1c6
fix(kv): fix patching panics
2020-02-05 11:12:03 -05:00
Johnny Steenbergen
036ba49e12
feat(pkger): add env ref fields for remaining resources
2020-02-05 07:47:12 -08:00
Johnny Steenbergen
64c8707594
feat(pkger): add support for env references for buckets
2020-02-04 17:00:11 -08:00
Johnny Steenbergen
8150e1b51a
chore(http): refactor bkt service to use API type
2020-02-04 14:41:56 -08:00
tmgordeeva
61adfe95fe
fix(storage): simple8b passes checkptr ( #15512 ) ( #16719 )
...
Cherry-pick of 8f665ec
from 1.8.
* fix(simple8b): disable checkptr on batch decodes
* perf: improve performance of simple8b encoding
```
name old time/op new time/op delta
EncodeAll/1_bit-24 35.8µs ± 2% 35.8µs ± 2% ~ (p=0.887 n=10+7)
EncodeAll/2_bits-24 35.7µs ± 4% 35.6µs ± 3% ~ (p=0.684 n=10+10)
EncodeAll/3_bits-24 36.5µs ± 3% 36.4µs ± 4% ~ (p=0.780 n=10+9)
EncodeAll/4_bits-24 36.4µs ± 3% 37.8µs ± 2% +3.71% (p=0.000 n=10+10)
EncodeAll/5_bits-24 38.0µs ± 3% 38.3µs ± 2% ~ (p=0.280 n=10+10)
EncodeAll/6_bits-24 39.4µs ± 1% 38.5µs ± 2% -2.43% (p=0.001 n=10+9)
EncodeAll/7_bits-24 39.6µs ± 3% 38.9µs ± 3% -1.83% (p=0.029 n=10+10)
EncodeAll/8_bits-24 40.3µs ± 3% 40.5µs ± 4% ~ (p=0.278 n=10+9)
EncodeAll/10_bits-24 42.6µs ± 3% 41.9µs ± 2% ~ (p=0.075 n=10+10)
EncodeAll/12_bits-24 44.2µs ± 2% 42.8µs ± 2% -3.11% (p=0.000 n=10+10)
EncodeAll/15_bits-24 46.0µs ± 1% 46.1µs ± 3% ~ (p=0.447 n=9+10)
EncodeAll/20_bits-24 51.4µs ± 2% 50.0µs ± 2% -2.86% (p=0.000 n=10+10)
EncodeAll/30_bits-24 60.6µs ± 1% 58.1µs ± 2% -4.02% (p=0.000 n=10+10)
EncodeAll/60_bits-24 90.2µs ± 2% 85.2µs ± 1% -5.50% (p=0.000 n=10+10)
EncodeAll/combination-24 782µs ± 3% 762µs ± 5% ~ (p=0.063 n=10+10)
Encode-24 3.08µs ± 2% 3.09µs ± 1% ~ (p=0.656 n=9+8)
Encoder-24 4.58µs ± 0% 4.40µs ± 1% -4.04% (p=0.000 n=8+8)
```
Co-authored-by: Jacob Marble <jacobmarble@gmail.com>
2020-02-04 10:57:43 -08:00
Johnny Steenbergen
9ee07b097c
chore(pkger): refactor http server to use new http.API type
2020-02-04 10:42:54 -08:00
Ben Johnson
a5bbf469ed
Merge pull request #16688 from influxdata/fix-tsdb-predicate
...
fix(tsdb): Fix predicate clone
2020-02-04 11:26:31 -07:00
Johnny Steenbergen
236f52ba62
fix(http): improve error handling and response to api consumer for org service
2020-02-04 09:43:51 -08:00
Johnny Steenbergen
ba803d2046
feat(kit): add http api decoder/responder
2020-02-04 09:43:51 -08:00
Ben Johnson
ce47e57089
fix(tsdb): Fix predicate clone
2020-02-04 10:12:26 -07:00
Greg
e593119c3d
feat: report telegraf plugin usage metrics ( #16378 )
...
* Begin implementing retreival of telegraf plugin stats
* Implement storing/deletion of telegraf plugin stats
* Test plugin stats
* Initialize plugins bucket for tests
* Add comment
* Shorten time and frequency in bolt when providing telegraf plugins metrics
* Simplify ticker loop
* Leak underlying ticker while still satisfying linter
2020-02-04 08:24:58 -07:00
Andrew Watkins
b6b5b4d9a7
refactor: normalization checks ( #16707 )
...
* refactor(checks): action types
* feat: ive done too much
* fix: tsc errors
* fix: jest tests
* chore: change <resourceName>Status to activeStatus
* refactor: getResourceAtID
2020-02-03 16:55:40 -08:00
Bucky Schwarz
dd0ab8fe36
chore: turn on queryBuilderGrouping flag
2020-02-03 16:03:13 -08:00
Ariel Salem
b742fee5b2
fix(ui): fixed dashboard mapping error ( #16715 )
...
fix(ui): fixed dashboard mapping error
2020-02-03 15:47:53 -08:00
Johnny Steenbergen
71f204d465
fix(pkger): drop text color requirement for single stat charts
2020-02-03 13:48:34 -08:00
Johnny Steenbergen
343c9b166b
chore(pkger): consolidate pkger http server into pkger
...
this is the last step for pkger to follow the service definition pattern
that is in the works. Some bits from http were moved into kit/transport/http
for reusability. End result is to hopefully axe http pkg for resuable types in
kit. Long ways off still...
2020-02-03 12:39:47 -08:00
Johnny Steenbergen
2b0b32abe8
chore(http): pull out eror handler into kit pkg for portability
2020-02-03 12:39:47 -08:00
Johnny Steenbergen
f9ed0ccb82
feat(pkger): add metrics svc middleware
2020-02-03 11:07:46 -08:00
Zoe Steinkamp
d283a875e4
fix: gauge spaced out ( #16698 )
...
* fix: gauge spaced out
* fix: gauge spaced out
2020-02-03 09:41:18 -07:00
Zoe Steinkamp
4898a27c7d
fix(tests): Collectors and tasks ( #16699 )
...
* fix(tests): Collectors and tasks
* fix(tests): Collectors and tasks
2020-02-03 09:40:59 -07:00
Lyon Hill
8bd6044398
fix(kv): update user and variables to use forward cursor ( #16671 )
2020-02-03 08:50:06 -07:00
Lyon Hill
f385d19713
fix(kv): update tasks kv to use forward cursor ( #16670 )
2020-02-03 08:49:51 -07:00