Jonathan A. Sternberg
8752d1b1e3
Support chunked queries in the Go InfluxDB client
...
Modify the CLI to always use chunked queries.
2016-03-31 15:30:43 -04:00
Ben Johnson
d9a6a7340f
add canonical paths
2016-02-10 11:30:52 -07:00
Ben Johnson
5a0d1ab7c1
rename influxdb/influxdb to influxdata/influxdb
...
This commit changes all the import and URL references from:
github.com/influxdb/influxdb
to:
github.com/influxdata/influxdb
2016-02-10 10:26:18 -07:00
Jason Wilder
dc74bb53d0
Merge pull request #4299 from arussellsaw/feature/client-reject-uint64
...
Reject uint64 Client.Point.Field values
2016-02-08 12:52:17 -07:00
Alex Russell-Saw
5bde459f01
client: reject uint64 Client.Point.Field values
2016-02-01 16:17:47 +00:00
Mike Glazer
c049ebfa43
Support connecting to InfluxDB with the client without HTTPS Verification
...
The V2 client code supports this, however, the V1 client code didn't,
and the argument to support this just had to be added to the CLI
2015-12-29 09:03:16 -08:00
Miguel Xavier Penha Neto
9051451e00
Fix ipv6 parsing in client
...
Old implementation of function ParseConnectionString would parse ipv6 incorrectly
Added a unit test for this
2015-11-01 19:38:54 -02:00
Jason Wilder
0926b19e6b
Prevent creating points with NaN float values
...
Float values are not supported in the existing engine and the tsm1
engines. This changes NewPoint to return an error if a field value
contains a NaN field. It also allows us to validate fields to prevent
other unsupported types from sneaking in through other input plugins.
2015-10-27 17:12:52 -06:00
ch33hau
2924616585
Fix typo and double spaces for comments
2015-10-26 09:37:02 +08:00
Samer Kanjo
a20a0bce56
ref #4098 lint client package
2015-10-13 19:40:51 -05:00
Nathaniel Cook
ac5bd8a6c2
make client.Write default to c.precision if none is given
2015-10-07 15:36:09 -06:00
Cory LaNou
ba830be3b9
actually move influxql.Row* -> models.Row*
2015-09-16 16:32:50 -05:00
Cory LaNou
d19a510ad2
refactor Points and Rows to dedicated packages
2015-09-16 15:33:08 -05:00
Cameron Sparr
6d4319d244
Add function to tsdb.point to get line-protocol string in the correct units
2015-09-16 10:53:59 -07:00
Cory LaNou
c70b503f00
go fmt
2015-09-15 16:09:58 -05:00
Sébastien Bouchex Bellomié
5656ba167f
Added precision support in cmd client
2015-09-11 10:04:18 +02:00
Sébastien Bouchex Bellomié
f8a827d9d2
Added precision support in cmd client
2015-09-09 22:54:57 +02:00
Sébastien Bouchex Bellomié
23a606bafc
Added precision support in cmd client
2015-09-09 22:17:48 +02:00
gunnaraasen
7dc7389e96
Remove dump from client and handler
2015-08-07 11:56:30 -07:00
Cory LaNou
765509bd68
revert breaking change to `client.NewClient` function
2015-08-06 11:46:25 -05:00
Cory LaNou
296f16d634
NewConfig should return a default config without needing params passed to it
2015-08-06 09:19:56 -05:00
Cory LaNou
76367d5161
refactoring based on feedback
2015-08-06 09:19:56 -05:00
Cory LaNou
30a0ca0130
start of a v8 data importer via the cli
2015-08-06 09:19:34 -05:00
Jason Wilder
d5f67c8f8b
Merge pull request #3172 from rdallman/master
...
client: fixes nil map assignment when writing batch points out
2015-06-30 10:41:22 -06:00
Reed Allman
7fac798b93
fixes nil map assignment when writing batch points out
2015-06-28 17:45:47 -07:00
Joseph Crail
5fccee3d16
Fix spelling errors in comments and strings.
2015-06-28 02:54:34 -04:00
Evan Phoenix
a00c6215ce
Copy an Batch tags to each point before marshalling
2015-06-25 14:08:38 -07:00
gunnaraasen
2d712733e9
Clean up INSERT INTO parsing and tests
2015-06-09 15:45:26 -07:00
gunnaraasen
dddda797dd
Enable client to write points already in the line protocol format
2015-06-09 15:14:16 -07:00
David Norton
092bc3fd2d
fix #2733 : hook CQs back in
2015-06-05 19:54:23 -04:00
Todd Persen
202e420e91
Fixing merge conflict.
2015-06-05 14:23:13 -07:00
Ben Johnson
44d38cb430
Merge branch 'master' into alpha1
2015-06-02 10:40:52 -06:00
Jason Wilder
f7d90cf94e
Convert client to use line protocol by default
...
Keeps the API unchanged for now although many of the JSON features
don't map well to the line protocol endpoint so we might want to
remove them when the JSON api is removed.
2015-06-01 16:22:12 -06:00
Jason Wilder
4e7c8bdad2
Add ParsePointsWithPrecision to handle precision write argument
2015-05-29 11:18:40 -06:00
Vladimir Lopes
3e03be358f
Include client timeout configuration
2015-05-28 18:03:02 -03:00
David Norton
0fb4e14c44
fix #2564 : chg name to measurement in write JSON
2015-05-21 19:05:32 -04:00
Ben Johnson
00ce4a504e
Wait for quorum write before returning from Log.Apply().
...
This commit ensures a commit is written to a quorum before returning
from Log.Apply().
2015-05-13 16:05:26 -06:00
Vladimir Lopes
92954c1217
Fix client response check after PR #2298
...
The write endpoint is returning StatusNoContent instead of StatusOK
when the write is successful.
2015-05-13 10:22:06 -03:00
ben hockey
9a3c28748c
change timestamp to time
2015-05-11 12:28:47 -05:00
s7v7nislands
4f881139ac
remove unused function
2015-05-06 22:00:31 +08:00
Cory LaNou
c604a765de
Always send auth headers for client requests if present
2015-04-22 18:15:39 -06:00
Jason Wilder
38628e540b
Make drop database close and release resources
...
Drop database did not close any open shard files or close
any topic reader/heartbeats. In the tests, we create and drop new
databases during each test run so these were open files and connection
slowed things down and consumed a lot of RAM as the tests progressed.
2015-04-21 13:39:58 -06:00
Cory LaNou
fa103d9400
clean up error logic for Query endpoint
2015-04-13 15:56:49 -06:00
Cory LaNou
a7ae9a529a
need to return an error if status code is not 200
2015-04-13 15:56:49 -06:00
Cory LaNou
4319ac051b
use basic auth instead of the uri
2015-04-13 15:56:29 -06:00
Jari Sukanen
a56ea6f191
client: rename client.Results type to client.Response (issue: #2050 )
...
Rename client.Results to client.Response as it already has Results
property itself. Renaming it to Response makes code look much less
ugly.
2015-04-04 11:43:53 +03:00
derailed
d02b08d252
Not sure if this was intended or not. Pt Precision is not getting marshaled correctly??
2015-03-26 18:45:36 -06:00
Rene Fragoso
afc6c8be24
Cleanup golint warnings for client code
...
Fixes the following two warnings:
influxdb.go:149:1: exported method Client.Dump should have comment or be
unexported
- Adds comment for Client.Dump
influxdb.go:263:1: receiver name rs should be consistent with previous
receiver name r for Results
- Changes receiver name from "a" to "r"
2015-03-22 01:33:04 -04:00
Joseph Rothrock
21fd2e2662
dump cmd
...
rename dump flag
put an error response body if json marshalling breaks.
detect and respond to http error codes in the client.
2015-03-18 14:10:36 -07:00
Joseph Rothrock
9063312636
cory sez to remove tags
2015-03-17 15:27:33 -07:00