Commit Graph

34188 Commits (df47ec7bb221ed3608d234fb4d1387b386094e60)

Author SHA1 Message Date
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
Roger Peppe 3803bd8e26 fix: storage: close PointsWriter when Engine is closed
The PointsWriter has a Close method which seems like it should
be called when the Engine is shut down.
2020-09-22 15:42:50 +01:00
greg linton 13cb2927bb Merge branch 'master' into feat/18733 2020-09-21 17:21:06 -06:00
greg linton d32385bac9 chore: define template export by name in swagger 2020-09-21 14:24:43 -06:00
Stuart Carnie a0ce7c38ef fix: Use DeleteDatabase to guarantee all files are closed and removed
A bucket is represented as a single database and retention policy and
therefore `DeleteDatabase` is the appropriate API to remove a bucket
from TSDB.

Fixes #19600
2020-09-21 13:05:50 -07:00
Stuart Carnie b17acf8b31 fix: Ensure temporary bucket and test data is removed after each test
This is required to keep the system resources low when running
the Flux end-to-end tests, which create a bucket for each test. A
bucket creates at least 17 files after the first write:

* 8 for the `_series` segment files
* 8 for the `index` log files
* 1 for the `wal`
2020-09-21 13:05:50 -07:00
Timmy Luong fbe56d7e23
feat: add legendOrientationThreshold (#19584)
* feat: add legendOrientationThreshold

* feat: add legendOpacity

* chore: fix float definition in swagger and use single-value context in Resource float64
2020-09-21 11:02:51 -07:00
Jacob Marble f144d8d614
chore(storage): remove storage-team from CODEOWNERS (#19574)
The cloud 2 storage team doesn't "own" OSS code any more. We are still
happy to review storage PRs, but we don't need to review all of them.
2020-09-21 09:32:05 -07:00
Roger Peppe c25d0dde65 fix: chronograf/organizations: avoid nil context with WithValue 2020-09-21 12:08:03 +01:00
Pavel Zavora e1591077cd feat(pkg/csv2lp): use LineReader to report actual line numbers that go's csv.Reader cannot 2020-09-21 07:54:17 +02:00
Pavel Zavora 94d2cb3518 feat(pkg/csv2lp): add LineReader to report correct line numbers 2020-09-20 12:59:27 +02:00
Pavel Zavora 8e2d2ce77b chore(pkg/csv2lp): test csv2lp.CsvToLineProtocol.Comma 2020-09-20 11:24:56 +02:00