Deniz Kusefoglu
f490dd9693
feat(autoAggregate): BE work for autoAggregate ( #19129 )
...
* feat(autoAgg): fix pkger test
* feat(autoAgg): refrain from adding createEmpty to check query if exists
* feat(autoAgg): Fix check tests
* feat(autoAgg): Add fillValues to backend
* feat(autoAggregate): Add fillValues to swagger
* feat(autoAgg): indentation
2020-07-29 09:32:36 -07:00
Jonathan A. Sternberg
0cdbd496f4
fix(query): paginate bucket results in the bucket lookup ( #19111 )
...
The `buckets()` command would use a bucket lookup that wrapped the
`FindBuckets` API. It did not use the pagination aspect of this API
correctly. When the underlying implementation was changed to a version
that correctly implemented pagination, this broke the query `buckets()`
command. Since it was query that used the API incorrectly rather than a
regression in the `FindBuckets` implementation, this fixes the usage to
correctly use pagination.
2020-07-29 11:23:13 -05:00
Johnny Steenbergen
e7310b414c
fix(pkger): update stacks with snapshot of all prevoius event resources
2020-07-28 15:58:59 -07:00
Johnny Steenbergen
d768132aaa
feat(pkger): make envRef default values support more types
...
references: #18237
2020-07-28 12:22:46 -07:00
Johnny Steenbergen
a652cdf552
chore(pkger): axe deprecated /packges route tree
2020-07-24 09:33:30 -07:00
Johnny Steenbergen
d1791d390f
fix(influx): register global flags on telegraf cmds
2020-07-23 14:36:00 -07:00
Johnny Steenbergen
fd42c092d0
fix(influx): enforce flag validation
...
closes : #18629
2020-07-23 14:36:00 -07:00
Jonathan A. Sternberg
8678a22ee3
feat(storage/flux): add tests for min/max pushdowns ( #19028 )
2020-07-23 16:07:30 -05:00
Johnny Steenbergen
aee64f1901
chore(influx): drop REPL command
...
closes : #18676
2020-07-23 11:17:46 -07:00
Christopher M. Wolff
8b106bcee1
feat(storage): add mean aggregate array cursor and tests ( #19019 )
2020-07-23 09:49:53 -07:00
Johnny Steenbergen
76c2134767
feat(influx): enable dynamic configs destination
...
introduces the new flag --configs-path to the influx CLI. This new
flag has a corresponding env var INFLUX_CONFIGS_PATH. It is useful
to export this env var in a shell dotfile for consumption throughout the
box.
closes : #17979
2020-07-23 08:36:49 -07:00
Russ Savage
3009579b85
fix(migrate): remove cli migrate command ( #19004 )
2020-07-22 08:35:57 -07:00
Johnny Steenbergen
8b058597d6
chore(fs): refactor global file consts into internal/fs
2020-07-21 14:27:52 -07:00
Johnny Steenbergen
86894d4337
feat(influx): add telegraf resource support to influx CLI
...
closes : #17654
2020-07-20 15:37:43 -07:00
jlapacik
4d8547f0fe
test: launcher tests for window offset
2020-07-20 12:23:37 -07:00
Ben Johnson
c28eb70856
feat(mincore): Add page fault limiter
...
This commit adds `mincore.Limiter` which throttles page faults caused
by mmap() data. It works by periodically calling `mincore()` to determine
which pages are not resident in memory and using `rate.Limiter` to
throttle accessing using a token bucket algorithm.
2020-07-17 09:37:31 -06:00
Lyon Hill
a31b651057
feat(task): Add new permission lookup pattern for executor ( #18920 )
...
* feat(task): Add new permission lookup pattern for executor
We can now use the user service to populate task owners permissions.
This should improve the task lookup time and decouple the task system
from the URM system. In the future we will have the ability to better isolate
tenant pieces from the rest of the service.
* feat: add feature flagging
2020-07-13 14:47:58 -06:00
Johnny Steenbergen
16500ee35f
chore(pkger): drop deprecated influx pkg command tree
2020-07-10 09:05:13 -07:00
George
b8f5604613
revert(tasks): Add new permission lookup pattern for executor ( #18869 ) ( #18915 )
...
This reverts commit e9e4d794cf
.
2020-07-10 11:05:07 +01:00
Johnny Steenbergen
944b097628
feat(pkger): extend stacks API with uninstall ability
...
this new ability removes the resources associated with the stack
and adds the uninstall event.
2020-07-09 17:05:53 -07:00
Lyon Hill
e9e4d794cf
feat(task): Add new permission lookup pattern for executor ( #18869 )
...
We can now use the user service to populate task owners permissions.
This should improve the task lookup time and decouple the task system
from the URM system. In the future we will have the ability to better isolate
tenant pieces from the rest of the service.
2020-07-09 14:06:46 -06:00
jlapacik
e6e55038e8
test: descending array cursor should include end time
2020-07-09 12:22:25 -07:00
Johnny Steenbergen
8b6788fdd2
feat(pkger): make stacks event sourced
...
closes : #18874
2020-07-08 13:40:48 -07:00
greg linton
e4d33f1066
fix: don't overwrite build date set via ldflags
2020-07-07 16:15:00 -06:00
jlapacik
9f9be91828
feat: remove feature flags for first and last pushdowns
2020-07-07 14:15:48 -07:00
Johnny Steenbergen
f804afc6ac
fix(pkger): enforce flag parsing on export all and apply CLI commands
...
closes : #18850
2020-07-06 13:11:59 -07:00
Alirie Gray
e02e950ed0
refactor: add new tenant system struct to consolidate services ( #18833 )
2020-07-06 10:49:51 -07:00
Ben Johnson
6b0b4d7c4e
fix(storage): Refactor LoggingPointsWriter to use BucketFinder
...
This commit changes the writer to use `storage.BucketFinder` which
is a subset of the `influxdb.BucketService` interface.
2020-07-02 12:46:43 -06:00
George
4a6bc1d74f
chore: remove kv Session service and sessionsv1 bucket ( #18823 )
...
* chore: remove sessionsv1 bucket
* chore: add extra configuration to sessions.Service
2020-07-02 15:15:08 +01:00
jlapacik
25309c398d
test: windowed aggregates should filter empty series
2020-07-01 16:58:50 -07:00
jlapacik
3246b3c7ad
refactor: remove feature flag for certain pushdowns
2020-07-01 12:59:39 -07:00
Ben Johnson
482442ecc1
feat(storage): Add logging points writer
...
This commit adds a LoggingPointsWriter which wraps a PointsWriter
and provides logging when a write fails.
2020-07-01 11:41:29 -06:00
George
96d84b9126
refactor: migrator and introduce Store.(Create|Delete)Bucket ( #18570 )
...
* refactor: migrator and introduce Store.(Create|Delete)Bucket
feat: kvmigration internal utility to create / managing kv store migrations
fix: ensure migrations applied in all test cases
* chore: update kv and migration documentation
2020-07-01 12:08:20 +01:00
Johnny Steenbergen
e851228102
feat(pkger): extend template diff types with kind
...
closes : #18804
2020-06-30 17:22:34 -07:00
Johnny Steenbergen
ffe5d941d3
feat(pkger): extend template Summary with discrete kinds for each summary type
...
references: #18804
2020-06-30 16:47:15 -07:00
Johnny Steenbergen
b9e6744807
chore(pkger): finalize adoption of templates naming convention
...
closes : #18580
2020-06-30 16:33:45 -07:00
Lyon Hill
5776350a53
feat: switch to use the new tenant bucket service ( #18738 )
2020-06-30 14:48:42 -06:00
Johnny Steenbergen
b5fcb06883
fix(pkger): stop swallowing parser errors from pkger parser in http remote service
2020-06-29 17:31:59 -07:00
Johnny Steenbergen
952007001b
chore(pkger): drop mentions of pkgs from within service models
...
references: #18580
2020-06-29 16:43:40 -07:00
Johnny Steenbergen
2927f0e718
feat(pkger): add stable HTTP APIs for stacks and templates
...
references: #18580
2020-06-29 13:45:32 -07:00
jlapacik
fef23ee4d1
test: launcher tests for window last and bare last pushdowns
2020-06-29 13:12:47 -07:00
Johnny Steenbergen
2825427cf5
chore(pkger): convert packages endpoints into new naming convention
...
note: going to make this evolution in two steps so that we have a simple
rollback to get back to a working state. We'll be maintaining both packages
and the new templates and stacks endpoints for a while as users start to
move onto a newer CLI version. Sunsetting by end of July.
references: #18580
2020-06-29 09:45:58 -07:00
Johnny Steenbergen
2f2140e7a7
feat(influx): extend stacks update cmd with ability to add resources
...
closes : #18646
2020-06-29 07:03:52 -07:00
Jonathan A. Sternberg
5aeca082c8
chore: update staticcheck and fix newly identified lint checks ( #18737 )
2020-06-26 18:54:09 -05:00
Johnny Steenbergen
fdcf8000f6
feat(pkger): extend stacks with ability to add resources without applying
...
references: #18646
2020-06-26 14:47:52 -07:00
Johnny Steenbergen
0f7ab73199
chore(pkger): drop behavior to update stack when exporting
2020-06-26 14:47:52 -07:00
Jonathan A. Sternberg
58bd5b9854
fix(storage/flux): the count aggregate will fill in zero values instead of null ( #18735 )
2020-06-26 15:43:03 -05:00
Alirie Gray
b35479640a
refactor: move checks service to new package ( #18671 )
2020-06-26 12:52:15 -07:00
Johnny Steenbergen
a6a5d0d43f
fix(pkger): update handling of diff dashboard charts
2020-06-26 11:55:19 -07:00
Johnny Steenbergen
fdc1da6bc5
chore(pkger): drop field no longer in use
...
this was missed in a previous PR wehre we added the status in place of the
remove boolean flag
2020-06-26 10:21:12 -07:00