Commit Graph

32254 Commits (7cf6167356de4bd5336af52b86b1de317c5e2bf9)

Author SHA1 Message Date
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
Johnny Steenbergen 12052a942c chore(influx): fixup flag setting in influx tests to use args
this is inspired by: https://github.com/kubernetes/kubernetes/blob/master/pkg/kubectl/cmd/cmd_test.go#L73
2020-02-01 09:08:09 -08:00
Andrew Watkins 45f1cc8c57
refactor: normalize notification rules (#16694)
* feat(wip): move creators and thunks

* chore: cleanup action typings

* feat: normalize notification rules

* chore: let code breathe

* test(rules): add create and reducer tests

* test: cleanup

* test: run 50 times

* test: run 25 times

* chore: remove test loop
2020-01-31 13:26:25 -08:00
Andrew Watkins 974d0ef85e
refactor: normalize notification endpoints (#16687)
* refactor(endpoints): normalization

* chore(endpoints): move thunks

* test: add label to endpoint

* fix: prettier

* test: simplify explorer test
2020-01-31 07:53:23 -07:00
Alex Boatwright 707d27cc98
fix: import dashboards (#16674) 2020-01-30 13:14:59 -07:00
Zoe Steinkamp e0165303ed
Zs flakeyexplorertest16587 (#16676)
* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1

* fix(test): flaky explorerer test round 1
2020-01-29 11:30:46 -07:00
Jade McGough e78be03465
Merge pull request #16527 from oiooj/pr-panic
fix(http): fix /telegrafs panics when using org=org_name parameter
2020-01-26 19:48:49 -08:00
kun 8e6ce60cf5 fix(http): fix /telegrafs panics when using org=org_name parameter 2020-01-27 11:04:11 +08:00
Johnny Steenbergen c45f011a59 chore(pkger): update comment and update root of pkg error to be `root` 2020-01-24 16:53:24 -08:00
Russ Savage 455d40e0c5
chore(CHANGELOG): update for beta-2 2020-01-24 15:18:44 -08:00
Jonathan A. Sternberg b8079278eb
build(flux): update Flux to v0.59.5 (#16669) 2020-01-24 15:17:16 -06:00
Lyon Hill cb7f053d45
fix(kv): Update scrapers to use new forward cursor (#16647)
* fix(kv): Update scrapers to use new forward cursor

I also made a minor update to move a db lookup outside of a for loop to save
time and optimize

* fix(inmem): fix a potential race condition
2020-01-24 13:35:47 -07:00
Alex Boatwright 7c2980d9ea
fix: killin it softly (#16666) 2020-01-24 09:56:28 -08:00
Alex Boatwright 3b7da5df1d
fix: default label properties (#16665) 2020-01-24 09:14:53 -08:00
George 281c08ec50
fix(models): filter out reserved tag keys in points parser (#16412)
* fix(models): filter out reserved tag keys in points parser

* chore(models): update changelog to reflect reserved tag key change
2020-01-24 17:09:16 +00:00
Lyon Hill d1c0ddc362
fix(kv): update kv source to use the new forward cursor (#16659) 2020-01-24 09:46:01 -07:00
Lyon Hill 0fa52eec9d
fix(kv): update kv secrets to use new forward cursor (#16648) 2020-01-24 09:24:20 -07:00
Timmy Luong 67829a2b7c
refactor(templates): normalize Templates (#16642)
* refactor(templates): normalize Templates

* refactor(templates): fix types, lint, and tests

* fix(ui): update schemas

* fix(ui): remove unnecessary processStrategy from templates

* fix(ui): lint

* fix(ui): update thunks and selectors, and remove errant comments
2020-01-23 22:21:06 -08:00
Andrew Watkins 21e7eb7841
fix: clone dashboards (#16662)
* fix: cannot clone dashboards

* test: add simple clone test
2020-01-23 15:46:44 -08:00
Jacob Marble a56e0226e6
fix(storage): check engine closed before collecting index metrics (#16656) 2020-01-23 15:27:25 -08:00
Alex Boatwright 8e9b2a69a7
fix: adding labels to resources is no longer broken (#16652) 2020-01-23 15:23:20 -08:00
Andrew Watkins 4fe3aff9a6
chore(ui): move notifications (#16658)
* chore: move checks rules and endpoints to own dirs

* chore(rule): move components to rule dir

* chore: move check components

* chore: reducers and components

* chore: move rule and endpoint reducers

* chore: move selectors

* fix: imports
2020-01-23 14:40:21 -08:00
Jakub Bednář ee85eec6a1 feat(clientLibs): add Ruby client library to Client Page (#16617)
* doc(clientLibs): add actual version of Java client

* feat(clientLibs): add Ruby client library

* feat(clientLibs): add Ruby client library

Co-authored-by: Russ Savage <russorat@users.noreply.github.com>
2020-01-23 14:32:32 -08:00
Daniel Campbell 94b13f1532 feat(influxdb): Add Ruby Logo (#16655) 2020-01-23 14:20:54 -08:00