Commit Graph

492 Commits (b2531c1f976938bee3a0f828162d77810c5bc525)

Author SHA1 Message Date
Chris Goller da2edb88bb fix(cmd/influxd): add mutex for open/close of temp engine 2019-11-20 16:39:47 -06:00
Chris Goller 0f5df301ca refactor(storage/readservice): rename View interface to Viewer 2019-11-20 16:10:37 -06:00
Chris Goller 354b58005f fix(cmd/influxd): prefix temporary engine dir with e2e 2019-11-20 16:04:27 -06:00
Chris Goller f9c5021782 feat(influxd/launcher): add tmp filesystem backed engine for e2e 2019-11-20 15:54:32 -06:00
Johnny Steenbergen 4036e6c426 feat(pkger): add authentication to service dependencies for pkger
closes: #15897
2019-11-20 11:12:14 -08:00
Johnny Steenbergen dc2d931f00 feat: add support for setting password and org for a new user in the cli
one thing to note here is that new endpoint was created. there was no
endpoint for setting an initial password that worked. The existin endpoint
was a bit messy and coupled across multiple routes. Having multiple auth
schemes proved incredibly taxing to write against.
2019-11-20 09:16:31 -08:00
Johnny Steenbergen 4d5ac08fff chore(influx): refactor auth cli cmd 2019-11-19 12:36:52 -08:00
pierwill 8196d280cd Edit `influx repl` command description 2019-11-19 11:27:26 -08:00
Johnny Steenbergen a875a6a7ea chore(pkger): add tests to pkg new cli command 2019-11-18 12:19:15 -08:00
Jade McGough 1606b089b4
fix(cli): add organization back to bucket response (#15947) 2019-11-18 09:45:03 -08:00
Johnny Steenbergen e88fa7d90a fix(influx): bad shorthand var for pkg command 2019-11-15 11:36:33 -08:00
Johnny Steenbergen 626b719769 feat(pkger): add pkg new operation to cli to create packages 2019-11-15 10:08:41 -08:00
Johnny Steenbergen ab50e18695 feat: add support for insecure skip verify on cli http clients 2019-11-14 16:48:13 -08:00
Johnny Steenbergen 1c6d499711 feat(pkger): extend integration tests to include rollback functionality 2019-11-13 10:45:02 -08:00
Johnny Steenbergen e26b21e261 chore(pkger): add integration tests for pkger service
these tests supply coverage for the happy path of the pkger service
behavior.
2019-11-12 14:05:07 -08:00
Johnny Steenbergen 5eb29e9ed9 feat(pkger): add label associations to variables 2019-11-07 12:33:20 -08:00
Johnny Steenbergen 2090afa5fd chore(pkger): move pkger http server to http pkg 2019-11-07 09:44:24 -08:00
Johnny Steenbergen 2902638c8a feat(pkger): add pgker http server to the api handler 2019-11-07 09:44:24 -08:00
Lyon Hill bb6aa1df3b
feat(task): Add a latestScheduled field for tasks (#15785)
Previously we overwrote the tasks existing latestCompleted to be used for latestCompleted as well as latestScheduled.
For obvious reasons this is confusing and missleading. I believe by seperating the two fields we can have a clear seperation
of concerns.
2019-11-06 15:10:52 -07:00
Faith Chikwekwe 0664dbc47d fix(cmd/influx): fix bug that causes long startup when running 'influx help' or related commands 2019-11-06 10:25:14 -08:00
Johnny Steenbergen c47bad5981 feat(pkger): add single stat chart to pkger dashboards 2019-11-01 14:36:18 -07:00
Johnny Steenbergen eea44f6c72 feat(pkger): add dashboard support to pkger
included is the base for dashboards and association of labels with
dashboards.
2019-11-01 12:20:54 -07:00
Johnny Steenbergen 37decdfa24 chore(pkger): fixup loose ends from PR review 2019-11-01 11:59:09 -07:00
Johnny Steenbergen a03c497015 feat(pkger): add dry run functionality
does not apply to mappings, will apply mappings no matter what. we need to
remedy the uniqueness of resources from the API side. Applies to labels,
label mappings,
2019-11-01 11:59:09 -07:00
Johnny Steenbergen c7545f8951 feat(pkger): add label -> bucket mappings to pkger 2019-11-01 11:59:09 -07:00
Johnny Steenbergen c0849acb9f feat(pkger): add pkg label support to the influx cli 2019-11-01 11:59:09 -07:00
Johnny Steenbergen 2c9f0f2d66 feat(pkger): add pkg cmd to influx CLI
extends the influx CLI to include the pkg cmd for buckets. Included is
the user interface for confirmation and printing of summaries before and
after the package is applied.
2019-11-01 11:59:09 -07:00
Johnny Steenbergen 52647af79e feat(pkger): add groundwork for manifest to support bucket resource 2019-11-01 11:59:09 -07:00
Kelvin Wang f8dee71516 fix(cmd/influx): remove dup usage 2019-10-31 12:35:11 -04:00
kelwang 5403e8aaa6
Merge pull request #15607 from influxdata/cli_delete_predicate
feat(cmd/influx): add cli delete predicate
2019-10-29 12:10:20 -04:00
docmerlin (j. Emrys Landivar) 6feae8f3ce feat(tasks): fixes for changeover 2019-10-29 10:36:47 -05:00
docmerlin (j. Emrys Landivar) aa5b094c8d refactor(task): feature flag for nw scheduler 2019-10-29 10:36:47 -05:00
Julius Volz e4558257e3 test(query): add PromQL end-to-end tests in go submodule
Signed-off-by: Lorenzo Affetti <lorenzo.affetti@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>

move to internal

update flux to v0.50

Revert "move to internal"

This reverts commit bcd4caffbd44135f1dbeac4163cb2a22a751f45a.

promtests/internal --> internal/promtests
2019-10-28 18:59:50 +01:00
Kelvin Wang 27d15deadb feat(cmd/influx): add cli delete predicate 2019-10-28 11:46:01 -04:00
Johnny Steenbergen 1e69c517b4
Merge pull request #15526 from influxdata/4447/fix_vault_flag_names
fix(vault): rename flags to match env vars and add missing token flag
2019-10-21 16:15:57 -07:00
Brandon Farmer ea82dc3470 fix(tasks): tasks look up system bucket id 2019-10-21 14:48:47 -07:00
Johnny Steenbergen 1bacb62b3a fix(vault): rename flags to match env vars and add missing token flag
the flags have to match the flags with the exception of beign lower case and
all `_` be changed to `-` in the flag. This is a result of using the cobra
flag to env var mapping with the `-` replaced to `_`.
2019-10-21 13:23:54 -07:00
Kelvin Wang 449bbd3fb0 feat(cmd/influxd): add deleteservice to launcher 2019-10-18 12:02:52 -04:00
Alirie Gray 552168d3ae
refactor(tasks): use Go time objects for timestamps on task Runs (#15406) 2019-10-17 17:23:45 -07:00
David McKay 647e179453 feat(tls): add options to run HTTP over TLS 2019-10-17 23:35:04 +01:00
Johnny Steenbergen cf2f785803 feat(vault): add flags to influxd for vault configuration 2019-10-16 09:41:51 -07:00
kelwang 072270d7d8
Merge pull request #15372 from influxdata/cli_list_org_members
fix(cmd/influx): fix list org members
2019-10-10 12:10:25 -04:00
Kelvin Wang c96fe7ed6e fix(cmd/influx): fix list org members 2019-10-10 11:57:03 -04:00
Johnny Steenbergen dbe0103d92 fix(logging): blacklist endpoints with sensitive data from logging body 2019-10-09 13:17:24 -07:00
Johnny Steenbergen 5a546d5827
Merge pull request #15335 from influxdata/2939/add_logging_to_gateway
2939/add logging to gateway
2019-10-07 14:49:36 -07:00
Johnny Steenbergen 9d5392cfd9 fix(logging): add debug logging for all http requests 2019-10-07 14:19:21 -07:00
Lyon Hill 5e1d7f6c69
feat(task): remove preauth (#15286)
* feat(task): remove preauth

* fix(task): remove e2e test that verified preauth
2019-09-26 10:52:24 -06:00
Kelvin Wang 4aa6df1c34 fix(cmd/influx): org add/remove members 2019-09-24 13:26:18 -04:00
Christopher Wolff 26dbd9225c feat(query/stdlib/experimental): add experimental.to() implementation to OSS 2019-09-20 14:31:58 -07:00
Lorenzo Affetti ab835c8e0e
refactor(dependencies): use new dependency injection framework (#15174)
refactor(dependencies): use new dependency injection framework
2019-09-19 17:01:17 +02:00
Edd Robinson 080943a9f5 fix(tests): ensure NATS server port free 2019-09-13 19:33:19 +01:00
Edd Robinson 65cb8b606e
Merge pull request #15132 from influxdata/er-build-tsi
feat(tools): add build-tsi tool
2019-09-13 17:40:24 +01:00
Ben Johnson ee3cf79ae7
fix(tsdb): Fix pull request feedback. 2019-09-13 10:00:54 -06:00
Ben Johnson d08403b658
feat(tsdb): Add SQL export for TSI indexes 2019-09-13 10:00:54 -06:00
Edd Robinson 4a2db1ec5f feat(inspect): add build-tsi tool 2019-09-13 16:38:05 +01:00
Edd Robinson d681955a84 refactor: imports 2019-09-13 16:38:05 +01:00
zhulongcheng dffca8f4fe chore(cmd): replace bolt.Client with kv.Service (#14726) 2019-09-12 10:26:25 -07:00
Jonathan A. Sternberg ae780ff468
tests(cmd/influxd/launcher): add a launcher test for the secret service (#14813)
The secret service is tested by creating a secret and then attempting to
use it in a flux query. There is one test where accessing the secret
should work and one where it should return that the action is forbidden.
2019-08-27 10:44:46 -05:00
Lyon Hill ee9e622c6d
feat(task): Add task middleware's for checks and notifications (#14809)
To have checks and notifications happen transactionally we need to be
able to alert the task system when a new task was created using the checks and notifications systems.
These two new middlewares allow us to inform the task system of a update
to a task that was created through the check or notification systems.
2019-08-26 16:54:52 -06:00
Nathaniel Cook dfc28335ea refactor(query/dependencies): update to new Flux dependencies defaults 2019-08-26 16:46:17 -06:00
Adam 945b68b8fd fix(query): finish refactoring the repl and inject the secret service as a dependency 2019-08-26 16:46:17 -06:00
Max U 36d3a6ea82 refactor(tsi1): address comments to clean up tool 2019-08-23 14:08:00 -07:00
Max U b2b4892918 refactor(inspect): make flags less vague 2019-08-23 14:07:30 -07:00
Max U 9fc99c2724 feat(tsi1): port the dump-tsi tool to 2.x 2019-08-23 14:07:30 -07:00
Adam Perlin 76dbc44e3c
feat(storage): Add influxd inspect dumpwal tool (#14237)
* feat(storage/wal/dump): initial influxd inspect dumptsmwal implementation

* feat(storage/wal/dump): add org bucket formatting to dumpwal tool; improve test cases

* refactor(storage/wal/dump): add long description for dumpstmwal tool

* refactor(storage/wal/dump): rename dumptsmwal flag

* chore(storage/wal/dump): gofmt

* refactor(storage/wal/dump): update error printing in dumptsmwal tool

* refactor(storage/wal/dump): address review comments

* refactor(storage/wal/dump): rename dumpwal command source file

* refactor(storage/wal/dump): clarify print flag comment

* refactor(inspect): remote unnecessary for-loop in influxd inspect command
2019-08-23 13:05:06 -07:00
George 0cc9caa1d4
refactor(tasks): separate coordinator and middleware (#14779) 2019-08-23 19:05:13 +00:00
maxunt 6ffbab89d4
Merge pull request #14316 from influxdata/mu-verify-series-2.x
feat(inspect): add verify-seriesfile tool to 2.x
2019-08-23 11:40:39 -07:00
Max U 6d361201d3 refactor(inspect): add shorthand for command line args 2019-08-22 11:01:02 -07:00
Max U 1ce93f0ca4 refactor(inspect): address config changes 2019-08-22 11:01:02 -07:00
Nathaniel Cook 6f5c81f0dc feat(inspect): add verify-seriesfile to 2.x 2019-08-22 11:01:02 -07:00
Max U ed7b88525b fix(launcher): print inspect as a subcommand when running with --help flag 2019-08-21 16:15:30 -07:00
Kelvin Wang 64e42271be feat(cmd/launcher): add notification endpoint 2019-08-15 21:56:24 -04:00
maxunt 757fb4f80c
Merge pull request #14280 from influxdata/er-rename
feat(fs): API for replacing os calls
2019-08-07 11:33:57 -07:00
Edd Robinson a2fc43ff0c
Merge pull request #14470 from influxdata/mu-reportTSI-2.x
feat(tsi1): add report-tsi tool to 2.x
2019-08-07 19:30:58 +01:00
Max U 64747e9781 refactor(tsi1): address config changes to report-tsi tool 2019-08-05 10:03:32 -07:00
Kelvin Wang 87730440ee feat(cmd/launcher): add check to launcher 2019-07-31 19:00:26 -04:00
Adam Perlin 4fef1683a0 refactor(tsi1): address review comments for report-tsi tool 2019-07-26 16:21:11 -07:00
Adam Perlin 7ce1b8109f chore(tsi1): Clean up flags and naming in report-tsi tool; add comments 2019-07-26 11:16:59 -07:00
Max U 9bd6200f15 fix(tsi1): make mergeable 2019-07-26 11:16:12 -07:00
Max U 17b1dd8562 feat(tsi1): add shorthand for --top flag as -t, plus cleaning 2019-07-26 11:12:15 -07:00
Max U aa2f7a8ff7 feat(tsi1): add a --top flag for limiting output, output now sorted 2019-07-26 11:12:15 -07:00
Adam Perlin 32b283d25a feat(tsi1/report): Add ability to filter by measurement; add additional maps for efficient retrieval of total org/bucket cardinalities 2019-07-26 11:12:15 -07:00
Max U 5e5fa96c5b feat(tsi1): add flags for --org-id and --bucket-id 2019-07-26 11:12:15 -07:00
Max U bfd38d93d8 feat(tsi1): provide API tooling for use in testing 2019-07-26 11:12:15 -07:00
Max U 8f99d20deb feat(tsi1): port report-tsi tool to influxdb 2.x 2019-07-26 11:12:15 -07:00
Max U eb6d0f4478 feat(tsi): report cardinality for all indexes, still needs to be cleaned
Fix iteration logic and clean up
2019-07-26 11:12:00 -07:00
Max U 99c0622ea0 fix(pkg/fs): merge branch 'master' into HEAD 2019-07-25 15:17:15 -07:00
Kelvin Wang a6a7d3471d feat(cmd/influx): add flags for notification rule auth 2019-07-25 15:15:35 -04:00
Kelvin Wang 149cbcf0e6 feat(cmd/influxd/launcher): add notification rule service 2019-07-25 15:15:35 -04:00
Max U 979c075931 Merge branch 'master' into HEAD 2019-07-22 10:21:59 -07:00
Christopher Wolff 63c0f40548 fix(query): use auth-wrapped org and bucket services for query 2019-07-19 20:02:53 -06:00
Kelvin Wang 42c893f31d fix(cmd/influx): user flag shouldn't be ignore 2019-07-16 13:25:13 -04:00
Stuart Carnie 030e11a82a
feat: Allow existing influxdb.ID type to be used as a pflag 2019-07-09 09:20:02 +10:00
Stuart Carnie 00561d5a1b
feedback: Move verify routines to `tsm1` package for consistency
Should have left it there to begin with 🤣
2019-07-09 09:00:41 +10:00
Stuart Carnie 46952afe37
feat(influxd): New influxd verify tsm-blocks command
This command performs verification of TSM blocks

* expected and actual CRC-32 checksums match
* expected and actual min and max timestamps match decoded
  data
2019-07-09 09:00:41 +10:00
Max U 2202d727da fixes merge conflicts 2019-07-08 14:07:04 -04:00
maxunt ca5a599261
Merge branch 'master' into er-rename 2019-07-08 13:42:24 -04:00
Max U fe748128e3 replaces os.Rename calls w api calls to fs.RenameFile. tests now are failing 2019-07-03 13:14:43 -04:00
Ben Johnson 08e24faf4c
feat(tsdb): Add block exporter.
Adds export tooling to `influxd inspect export-blocks` so that we
can dump out block data in SQL format for better analysis during
the debugging process.
2019-07-01 10:10:52 -06:00
Adam Perlin 24baec9e6d Gofmt verify-wal files 2019-06-27 16:28:28 -07:00