Commit Graph

35094 Commits (a40e12b615ed0e0181d0efc7bbd71585ef6d5e0c)

Author SHA1 Message Date
Cody Shepherd c8de72ddbc
fix: systemd unit should block on startup until http endpoint is ready (#21850)
* fix: systemd unit should block on startup until http endpoint is ready

* chore: update changelog
2021-07-16 08:13:26 -07:00
Dane Strandboge c62d4cdc24
refactor: move to `filepath.WalkDir` for slight performance gain in Go 1.16 (#21858) 2021-07-16 09:11:11 -05:00
Cody Shepherd 865a030420
chore: change commit and branch keys to fields instead of tags (#21824)
context: configuring unique data as tags causes series cardinality to
grow in an unbounded manner; data with unique values should be set
as fields
2021-07-15 10:19:59 -07:00
Christopher M. Wolff 9ecddda5ae
test: add acceptance tests and table tests for group|>first/last (#21853) 2021-07-15 09:53:51 -07:00
Christopher M. Wolff 66d9ee8751
test: add tests for group and count/sum (#21852) 2021-07-15 09:52:29 -07:00
Dane Strandboge 31780ba845
feat: create `influxd inspect verify-wal` command (#21828) 2021-07-15 11:38:20 -05:00
Daniel Moran fa1c352132
fix: don't assume bash when displaying interactive CLI prompts (#21839) 2021-07-14 18:12:56 -04:00
Daniel Moran ba8f91f1d9
fix: improve error message when onboarding requests are missing data (#21849) 2021-07-14 15:52:19 -04:00
Christopher M. Wolff b1aa943e1b
build(flux): update flux to v0.122.0 (#21846)
* build(flux): update flux to v0.122.0

* fix: update group|>last pushdown to choose last row with greatest time

Row order output by group() is not defined, but this change makes the
result consistent with Flux to allow acceptance tests to pass.
2021-07-14 12:03:29 -07:00
William Baker e7871130ed
fix: update cron package to obtain "1w" support (#21844)
* fix: update cron spackage to obtain "w" support

* chore: update CHANGELOG

* test: add a regression test for the 1w interval in the task scheduler
2021-07-14 12:11:19 -05:00
William Baker b5b36b2804
feat: migrations for annotations & notebooks resource types on operator token (#21840)
* feat: migration for operator token to include permissions for annotations and notebooks

* feat: run migrations for restored dbs

* chore: cleanup go.mod

* chore: better description comment for migration

* fix: fixed cursor return condition

* fix: hard code the list of old operator permissions

* feat: run migrations prior to swapping restored dbs

* fix: fix the sqlite migrator

* chore: update CHANGELOG
2021-07-14 09:23:25 -05:00
Cody Shepherd bffdb0f859
chore: perftests should use API now that `influx` cmd is gone (#21815) 2021-07-13 09:44:33 -07:00
Jonathan A. Sternberg 0fec03bbfa
refactor(query): rename the kind for experimental-to so that it is different from native flux (#21834)
The kind for experimental-to is in conflict with the one used by native
flux. In the past, native flux didn't use the kind and expected
implementations to register their own procedure spec with that value.

In the latest Flux, this isn't the case and it is using the kind for a
native implementation. As we have not implemented the requirements for
the native implementation, we are still replacing the procedure spec but
using a different name that's unique to our implementation.
2021-07-12 13:08:17 -05:00
William Baker ff31c9b8fa
docs: README for annotations, notebooks, and sqlite (#21832)
* docs: sqlite package docs

* docs: annotations and notebooks README

* chore: fix typos & corrections
2021-07-12 12:18:12 -05:00
Sam Arnold 962b9d7d02
fix: simplify file set, remove series file member (#21831) 2021-07-12 10:43:20 -04:00
Dane Strandboge 60de82e40a
chore: move to os/io over ioutil for `influx inspect` code (#21827) 2021-07-09 15:12:00 -05:00
William Baker 0cb0da2060
chore: modify/delete some chronograf refs (#21802)
* chore: modify/delete some chronograf refs

* chore: update CHANGELOG
2021-07-08 09:14:03 -05:00
Daniel Moran 06b403ca57
build: delete `influx` CLI code, remove it from build (#21797) 2021-07-07 09:29:20 -04:00
Adrian Thurston 733c7d1c7e
build(flux): update flux to v0.120.1 (#21799) 2021-07-06 14:07:29 -07:00
Daniel Moran ae9eb3e847
fix: error instead of panic for statement rewrite failure (#21800)
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-07-06 16:35:34 -04:00
William Baker ea5e6eabcb
feat: transfer static asset handling into own package (#21785)
* feat: transfer static asset handling into own package

* chore: added some tests

* fix: update swagger script per review

* fix: make into bash script
2021-07-06 12:54:01 -05:00
Dane Strandboge 6a99416ab2
feat: port `influxd inspect deletetsm` to 2.x (#21786) 2021-07-06 12:20:30 -05:00
Dane Strandboge ba31a0e260
feat: port `influx inspect dumptsi` subcommand (#21784) 2021-07-06 11:40:21 -05:00
Dane Strandboge 7c529d929a
feat: port `influxd inspect dump-tsm` (#21761)
This differs from the 1.x implementation as the blocks and index in-depth printout will now only happen if explicitly stated, instead of being printed with filterKey set
2021-07-02 15:51:36 -05:00
Dane Strandboge 8e8953f2c5
refactor: reorganize inspect subcommands for better package hierarchy (#21763) 2021-06-30 11:46:47 -05:00
Sean Brickley deaf1dfe20
build(flux): update flux to v0.119.1 (#21758) 2021-06-29 11:21:34 -04:00
Dane Strandboge 3c715d6851
feat: Port influxd inspect verify-tombstone subcommand (#21646) 2021-06-28 15:14:30 -05:00
Cody Shepherd 1a37996bb6
fix: rename arm rpms with yum-compatible names (#21747) 2021-06-25 12:04:05 -07:00
Jakub Bednář 6aae544ac8
fix(pingEndpoint): change build type to 'oss2', use correct version (#21723)
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2021-06-24 12:33:54 -04:00
William Baker 156e55a6d1
build: verify checksum of built ui assets (#21736)
* build: verify checksum of built ui assets
2021-06-23 13:08:02 -04:00
Daniel Moran ab589cc326
chore: delete deprecated PostSetupUser API (#21709) 2021-06-22 09:09:52 -04:00
Paul Hummer 0955caf9c2
build(flux): update flux to v0.119.0 (#21727) 2021-06-21 13:37:51 -06:00
Cody Shepherd cff403af0d
chore: enable log retention for performance tests (#21708)
* chore: upload perftest logs to s3 bucket when finished

* chore: turn on verbose telegraf logging in perf test reporting
2021-06-17 08:46:44 -07:00
Daniel Moran b1b076f600
refactor: delete old backup/restore CLI commands, replace with dependency on new CLI repo (#21703) 2021-06-17 09:18:55 -04:00
William Baker 235366a603
feat: enable annotations backend (#21702)
* feat: enable annotations backend
2021-06-16 12:41:23 -04:00
Sam Arnold 2a4dc9e356
fix: remove incorrect optimization for group-by (#21691)
* fix: remove incorrect optimization for group-by

Closes #21639

* test: add test for the broken group-by

* chore: formatting
2021-06-16 12:23:05 -04:00
William Baker 22f4f5bba8
chore: remove unnecessary file name from metadata backup api (#21701) 2021-06-16 09:17:03 -04:00
William Baker 5b2511c776
feat(notebooks): additional auth filter for listing (#21699) 2021-06-16 09:02:40 -04:00
William Baker 1935c13c16
feat(annotations): storage service (#21690)
* feat(annotations): storage service

* feat: stickers are in db as array

* chore: fix some unintended diffs

* fix: fixes from review

* fix: specific table name for json_each

* fix: update primary keys and constraints

* fix: fix schema

* feat: stream name updates are reflected in annotations via FK
2021-06-15 18:36:11 -04:00
Nathaniel Cook 56833b772b
build(flux): update flux to v0.118.1 (#21694) 2021-06-15 14:20:17 -06:00
davidby-influx f8ef784cff
fix: don't access a field in a nil struct (#21693) (#21696)
(cherry picked from commit aca69e530f)
2021-06-15 11:51:51 -07:00
Cody Shepherd 45f8c66345
chore: enable ingest performance tests for master (#21627)
* chore: enable ingest performance tests (#21624)

* chore: add run script for performance tests

* chore: update circle config to run performance tests

* chore: adjustments to perf test config

* remove 1.8 branch here, as that branch is already configured for perf
  tests
* remove extraneous comments in config and perftest script
* move perftest setup logic out of circle config and into a script
* use a specific ubuntu machine image for circle driver
* omit gzip/gunzip from perf test dataset manipulations

* chore: use r5.2xlarge instance type and put perf test dataset in ramdisk

* chore: fix query logic in nightly aws teardown (#21678)
2021-06-15 10:00:40 -07:00
Nathaniel Cook 4e7d1b3909
chore(go-bindata): update to recent version of go-bindata (#21684)
It seems that go-bindata version 3.11.0 was changed and causes issues
when building from a clean Go env.

See :
verifying github.com/kevinburke/go-bindata@v3.11.0+incompatible: checksum mismatch
	downloaded: h1:GiPs9jxaG2xY1B5Dt/d/yHUOMlTk14uS35VcmHrdo4I=
	go.sum:     h1:RcC+GJNmrBHbGaOpQ9MBD8z22rdzlIm0esDRDkyxd4s=

This change updates to the latest go-bindata release.
2021-06-15 10:06:01 -06:00
Daniel Moran 8fa7e5fa8c
feat: implement new restore/bucket-metadata API (#21685) 2021-06-15 10:32:47 -04:00
Daniel Moran e0d8a98837
feat: add bucket description to backup manifest (#21683) 2021-06-14 16:32:28 -04:00
Daniel Moran a216501723
feat: add support for gzip request bodies in restore API (#21676) 2021-06-14 11:52:31 -04:00
Daniel Moran 3e3e77ed1d
docs: bump Go version in build-from-source docs (#21677) 2021-06-14 11:07:52 -04:00
Daniel Moran 242e313b10
feat: add gzip support to backup API responses (#21675) 2021-06-14 10:37:49 -04:00
William Baker 8ee59f4bf4
feat(annotations): authorization service (#21665)
* feat(annotations): added authz service for annotations and streams

* fix: tests and adjustments

* chore: misc cleanup

* chore: update number in authz comment

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* chore: update number in authz comment

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* chore: update number in authz comment

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* fix: address review comments

* feat: added post-list filter for fine-grained auth

Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-06-11 17:39:51 -04:00
William Baker 40c7d69415
feat: use go embed for sqlite migrations (#21653) 2021-06-10 18:40:57 -04:00