Jonathan A. Sternberg
0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2
2020-04-03 12:39:20 -05:00
Pavel Zavora
9e55ac3481
chore(cmd/influx/write): remove unused DryRun flag
2020-03-29 20:30:06 +02:00
Pavel Zavora
ede26fce65
chore(cmd/influx/write): q comments
2020-03-26 21:19:33 +01:00
Pavel Zavora
1911854218
chore(cmd/influx): create write's dryrun subcommand with runE middleware
2020-03-25 21:26:18 +01:00
Pavel Zavora
978604cc52
fix(cmd/influx): reuse organization struct for org and org-id flags of write command
2020-03-25 21:22:01 +01:00
Pavel Zavora
f871de2076
feat(cmd/influx): introduce dryrun sub-command of write command
2020-03-25 21:22:01 +01:00
Pavel Zavora
ff3a27aac5
feat(cmd/write): add dry-run flag
2020-03-25 21:22:01 +01:00
Pavel Zavora
3fddd8dea5
chore(cmd/write): use stdin when no file or argument is supplied
2020-03-25 21:22:01 +01:00
Pavel Zavora
fd1e4b903f
feat(cmd/write): add file option
2020-03-25 21:21:21 +01:00
Pavel Zavora
8a3feb1bbc
feat(cmd/write): add csv format support
2020-03-25 21:17:23 +01:00
Johnny Steenbergen
36d99bfbf8
chore(influx): make runE middleware application explicit from caller
2020-03-25 12:41:11 -07:00
Kelvin Wang
c511f06fa5
feat(cmd/influx): add profile management
2020-03-12 11:09:54 -04:00
Johnny Steenbergen
80751314bc
chore(influx): refactor influx cmd to use builder
...
refators test to use full call paths where possible
2020-02-20 11:27:44 -08:00
Johnny Steenbergen
89939dea4e
fix(influx): add env vars to cli usage and normalize usage and flag/env var priority
...
also rids us of the cobra tutorial code and encapsulates things into funcs
2020-01-10 15:20:15 -08:00
Kelvin Wang
f8c0ea032c
fix(cmd/influx): show see help, instead of usage
2019-12-31 14:52:55 -05:00
Johnny Steenbergen
ad841608ca
chore(http): refactor bucket|dashboard|label|umr|var http clients to use reusable HTTP client
...
this is a step towards providing a shared http client that manages pooling connections,
timeouts, and reducing GC for by not creating/GCing a client each req. Bring on the red!
2019-12-09 09:44: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
Kelvin Wang
7a72c363f2
remove org from bucket
2019-04-22 18:39:05 -04:00
Kelvin Wang
9d44ac3635
rename bucket organization to org
2019-04-22 18:39:01 -04:00
Michael Desa
d9473182d2
fix(cmd/influx): make setup, write, query a solid experience
...
fix(cmd/influx): format error for bare influx command
feat(cmd/influx): add org flag to query command
fix(cmd/influx): check correct error in wrapCheckSetup
fix(influx/cmd): use correct shorthand flag for org flag
feat(cmd/influx): wrapCheckSetup with wrapErrorFmt
feat(cmd/influx): cleanup language and errors during setup command
fix(http): use id query param in get buckets request
feat(cmd/influx): add helpful error messages for write command
feat(cmd/influx): add context to query command
2019-01-22 13:25:17 -08:00
Michael Desa
81875c78b2
feat(cmd/influx): check if instance has been setup if error encountered
2019-01-22 10:19:26 -08:00
Leonardo Di Donato
9ef3ce8f9b
chore(cmd/influx): command descriptions and parameters start with uppercase now
...
Fixes #10995
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
2019-01-15 16:33:56 +01:00
Mark Rushakoff
d73d73c0d4
chore: rename imports from platform to influxdb
...
I did this with a dumb editor macro, so some comments changed too.
Also rename root package from platform to influxdb.
In interest of minimizing risk, anyone importing the root package has
now aliased it to "platform" so that no changes beyond imports were
necessary in those files.
Lastly, replace the old platform module to local path /dev/null so that
nobody can accidentally reintroduce a platform dependency while
migrating platform code to influxdb.
2019-01-09 20:51:47 -08:00
Edd Robinson
9403c1ec8e
Ensure error strings not capitalised ST1005
2018-11-30 10:54:24 +00:00
Chris Goller
226d18bb22
fix(cmd/influx): typos in cli variables
2018-10-26 15:51:55 -05:00
Chris Goller
d2ecf8aad6
http(write): support timestamp precision
2018-10-25 21:23:50 -05:00
Chris Goller
9d64d2192b
feat(write): add line protocol batch writing
2018-10-25 19:13:53 -05:00
Chris Goller
ca2b6941f2
refactor(cmd/influx): write now returns errors rather than os.Exit
2018-10-25 19:13:53 -05:00
Chris Goller
05117ac7cb
fix(cmd/influx): typos and grammar for write command
2018-10-25 19:13:53 -05:00
Chris Goller
b3a7324c3e
fix(cmd/influx): update write to new platform ID
2018-10-25 19:13:53 -05:00
Chris Goller
dd8c2691ed
feat(cmd/influx): add write to influx binary
2018-10-25 19:13:53 -05:00