Commit Graph

34249 Commits (a2dbb572fe493b4f66b6bf8b78d7228c60bf193f)

Author SHA1 Message Date
Greg fcb70c26d5
fix: add ability to define bucket to write to with a BucketFilter (#19658) 2020-10-05 15:05:49 -06:00
Pavel Závora a8c7254281
Merge pull request #19660 from influxdata/19335/rate_limit
feat(cmd/influx/write): allow to limit write rate
2020-10-05 17:01:15 +02:00
Faith Chikwekwe 47ed97c3fa
Merge pull request #19683 from influxdata/test/unskip-agg-med
feat(query/stdlib): unskip agg window median test
2020-10-05 07:50:04 -07:00
Sean Brickley 9a450d248f build(ui): Update flux-lsp-browser dependency to latest release 2020-10-05 09:00:14 -04:00
Faith Chikwekwe a68fc740b7 feat(query/stdlib): unskip agg window median test 2020-10-02 13:45:24 -07:00
Ales Pour 1e4650913d feat(upgrade): upgrade config file 2020-10-02 12:01:35 -07:00
Pavel Zavora f8ffcb8a65 feat(cmd/influx/write): specify --rate-limit as COUNT(B|kB|MB)/TIME(s|sec|m|min) 2020-10-02 05:07:37 +02:00
Pavel Zavora b2a51593b3 feat(cmd/influx/write): allow to limit write rate 2020-10-02 02:31:49 +02:00
Adrian Thurston feb41819ec
fix: convert flux e2e test harness to two-pass (#19672)
It appears that the double write caused by using to() inside a separate
execution environment (experimental.chain) causes flux e2e tests to behave
unpredictably, when coupled with the 1.x storage engine. Removing the second
write by using two passes, one to write to the db, then another to run the
test, eliminates the flakiness. Verified by running e2e tests in parallel times
8 for 12 hours without any flakiness observed. Before the fix, the flakiness
would take approx 30 minutes on avgerage to exhibit.

This commit also removes universe/to_time from the skipped tests because it was
added when this flakiness was discovered.
2020-10-01 16:38:21 -07:00
vlastahajek 999660ae2e feat(upgrade): upgrade command basic skeleton 2020-10-01 08:06:42 -07:00
Greg 8fea0cdda6
fix(cli): don't accept short passwords in setup (#19593) 2020-09-29 16:28:10 -06:00
Russ Savage df47ec7bb2
chore(circleci): change beta to rc (#19666) 2020-09-29 14:50:44 -07:00
Russ Savage c40162bcb7
chore(changelog): update changelog for rc0 (#19665) 2020-09-29 14:10:22 -07:00
Russ Savage f15ff8783d
chore(readme): update readme for next release (#19605) 2020-09-29 14:08:18 -07:00
Russ Savage 4cf71ddcea
feat(sources): adding telegraf sources (#19663)
* feat(sources): adding telegraf sources

* fix(logos): fix influxdb_v2_listener logo

* fix(clientLibs): fix typos

* chore(changelog): added new plugins to changelog
2020-09-29 14:05:23 -07:00
Stuart Carnie b3b8f9e200 fix: Changed per feedback 2020-09-29 13:44:18 -07:00
Stuart Carnie f4f1fa121d chore: Update CHANGELOG 2020-09-29 13:44:18 -07:00
Stuart Carnie 1e5ed47a61 fix: Increase the default default line length to 16MB and add option 2020-09-29 13:44:18 -07:00
Stuart Carnie a4fb30d1b4 fix: Allow longer lines than the default for bufio.Scanner
This commit adds a field to Batcher to configure the maximum allowed
line length. If this value is non-zero, the bufio.Scanner buffer
will be configured scan lines up to this length. If a line exceeds
this length an ErrLineToLong error will be returned.

Simplified TestBatcher_read tests and added a test case for this
new scenario and to ensure lines exceeding the default
bufio.MaxScanTokenSize are allowed.
2020-09-29 13:44:18 -07:00
Stuart Carnie abdfdf07c1 fix: Panic when p is < what was read from rd 2020-09-29 13:44:18 -07:00
Scott Anderson 4a984cb831
chore(flux): add Flux 0.83 functions (#19498)
* chore(flux): add Flux 0.83 functions

* fix(fluxFunctions): run prettier

Co-authored-by: Russ Savage <russ@influxdata.com>
2020-09-29 13:25:28 -07:00
Roger Peppe 0913737c5f
Merge pull request #19653 from influxdata/rogpeppe-007-remove-batcher
fix: tsdb: remove PointBatcher
2020-09-29 20:40:48 +01:00
pierwill 2c055889a4
Merge pull request #19657 from pierwill/edit-sec.md
chore: Update table of supported security updates
2020-09-29 09:29:35 -07:00
Roger Peppe a10f2ff6fa
Merge pull request #19654 from influxdata/rogpeppe-008-improve-limited-read-closer
chore: kit/io: improve LimitedReadCloser
2020-09-29 07:21:59 +01:00
pierwill ea0b097c31 chore: Update table of supported security updates
Also edit sentence and fix punctuation.
2020-09-28 15:19:25 -07:00
Roger Peppe 239331c1ae chore: kit/io: improve LimitedReadCloser
A fairly minor change, but this saves two allocations every time
points are written to the API (one allocation for the embedded io.LimitReader,
and one allocation to create the `close` closure).

Also fix the code so that it actually limits to the exact requested number of bytes
rather than one more. We don't really need to layer on top of io.LimitReader,
as that code is fairly minimal.
2020-09-28 18:39:45 +01:00
Jonathan A. Sternberg bde1209349
fix(tsdb): exclude the stop time from the array cursor (#19622)
This is a backport of #14262 to the 1.x storage engine. The 1.x storage
engine is now the primary engine for open source so when we switched we
regressed to the old behavior.

This also fixes `go generate` for the tsm1 package by running `tmpl`
with `go run` instead of assuming the correct one is installed in the
path.
2020-09-28 12:04:30 -05:00
Roger Peppe 8e3419238e chore: tsdb: remove PointBatcher
It's unused. It can always be resurrected from the history if needed.
2020-09-28 17:39:05 +01:00
Pavel Závora 58b37582bc
Merge pull request #19595 from influxdata/19588/linenumber
fix(pkg/csv2lp): report actual line numbers
2020-09-26 09:33:41 +02:00
Gershon Shif b93026c101
chore: revert signature changes to goreleaser (#19647)
* Revert "chore(build): packages signing"
   This reverts commit 7de32fcaf0.
* chore: remove arm v5 from being built
2020-09-25 15:01:25 -07:00
Bucky Schwarz 838b3ea1b9 feat: turn on community templates 2020-09-24 16:03:06 -07:00
Russ Savage bc4bae3738
fix(middleware): adding PATCH to access control allow methods (#19637)
* fix(middleware): adding PATCH to access control allow methods

* chore(changelog): added PATCH change
2020-09-24 11:49:00 -07:00
Stuart Carnie e405398ac1 chore: Update changelog 2020-09-24 11:11:46 -07:00
Stuart Carnie 78d0262217 fix: Remove incorrect implementation of delete APIs and disable HTTP API
This commit removes incorrect implementations of the `DeleteBucket`
and `DeleteBucketRangePredicate` APIs from the storage package,
which remained after the transition to the tsdb 1.x storage engine.

Secondly, this PR utilizes the `ENotImplemented` error code to inform
users which call the `/api/v2/delete`
2020-09-24 11:11:46 -07:00
Stuart Carnie 9c4dfed391 feat: Add ENotImplemented error code
This is more explicit that EInternal, allowing APIs to indicate
a potentially temporary status of "501 Not implemented"
2020-09-24 11:11:46 -07:00
Bucky Schwarz 9b61d7efc5 chore: update eslint to force curly braces 2020-09-23 16:02:55 -07:00
Gershon Shif d8a10e5311
chore: update circleci config to use golang:1.15 images (#19624)
* chore: update circleci config to use golang:1.15 images

* fix: Update Go version and use temporary override for Arrow

The Arrow override is to fix race detection problem. Once the
Arrow PR merges, this override can be removed.

Co-authored-by: Stuart Carnie <stuart.carnie@gmail.com>
2020-09-23 14:07:13 -07:00
pierwill b9fae88159
Merge pull request #19625 from influxdata/pierwill-patch-strict
docs: Edit csv2lp README
2020-09-23 10:48:55 -07:00
pierwill feacde0dca
docs: Edit csv2lp README
s/prepend/append in `:strict`
2020-09-23 10:25:32 -07:00
Greg 85d75e3d4e
feat(pkger): add ability to export resources by name from cli (#19457)
* feat(pkger): add ability to export dashboards by name

* chore: cleanup types

* chore: actually restrict exported dashboards to specified name

* feat: export buckets by name

* feat: export checks by name

* feat: export labels by name

* feat: export notification endpoints by name

* feat: export notification rules by name

* feat: export tasks by name

* feat: export telegraf configs by name

* feat: export variables by name

* chore: remove name from service clone org resources

these functions are not hit by the cli

* chore: update old tests and add new tests

* chore: revert notificationEndpoints to be name unique

* chore: address feedback

* chore: define template export by name in swagger

* chore: proper swagger syntax

* chore: remove crufty comments

* chore: fix typo in cli flag

* chore: update changelog
2020-09-23 11:01:09 -06:00
Gershon Shif d56066cc9e
chore(build): packages signing (#19619)
- add `signs` section to goreleaser to sigh all of the artifacts
- add importing of the provate key that is needed to sign p ackages
2020-09-23 09:58:08 -07:00
Greg c29dfc1590
fix: update chromedriver version (#19618)
nightly selenium tests were failing to run due to chromedriver only supporting chrome 83. somewhere a docker image was updated where that version got bumped. this update allows the tests to run.
2020-09-22 16:49:56 -06:00
Bucky Schwarz a837d45e2f chore(community-templates): update telegraf linking behavior 2020-09-22 15:33:30 -07:00
Bucky Schwarz 1e080e0440 test(community-templates): update e2e tests to be less coupled to real templates
this is a reproduction of: d6c9186999
2020-09-22 15:33:30 -07:00
greg linton 9c9863051f chore: update changelog 2020-09-22 11:51:38 -06:00
greg linton 724de9d0d1 chore: fix typo in cli flag 2020-09-22 11:49:26 -06:00
greg linton 214625e7c0 chore: remove crufty comments 2020-09-22 10:22:55 -06:00
greg linton bd834ac74d chore: proper swagger syntax 2020-09-22 09:50:25 -06:00
Roger Peppe 62af80f418
Merge pull request #19597 from influxdata/rogpeppe-004-avoid-nil-context
fix: chronograf/organizations: avoid nil context with WithValue
2020-09-22 16:16:26 +01:00
Roger Peppe 1bc54c7bfd
Merge pull request #19598 from influxdata/rogpeppe-005-storage-close-pointswriter
fix: storage: close PointsWriter when Engine is closed
2020-09-22 16:16:07 +01:00