Edd Robinson
207bafae8a
Create a Point from a models.Point
2016-03-14 16:59:06 +00:00
Nathaniel Cook
68f468817d
add AddPoints method to v2 client
2016-03-11 10:28:05 -07:00
Ross McDonald
51758cff25
Switched 0.9 references to 0.10.
2016-02-11 08:44:45 -06:00
Jason Wilder
2e829cb356
Merge pull request #5624 from PSUdaemon/client_lint_fixes
...
Fix golint warnings.
2016-02-10 15:56:06 -07:00
Phil Sorber
a23f727d3c
Fix golint warnings.
2016-02-10 15:00:25 -07:00
Ben Johnson
f27cef7b71
Merge pull request #5621 from benbjohnson/influxdata
...
Fix additional influxdata renames
2016-02-10 14:57:32 -07:00
Jason Wilder
2498dd20cc
Merge pull request #5340 from farshidtz/patch-1
...
Updated queryDB func
2016-02-10 14:27:56 -07:00
Ben Johnson
50616f0a47
fix additional influxdata renames
2016-02-10 14:19:42 -07:00
Ben Johnson
2f1e83427b
Merge pull request #5617 from benbjohnson/influxdata
...
Rename influxdb/influxdb to influxdata/influxdb
2016-02-10 13:29:46 -07: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
Phil Sorber
7d44293506
Update comments to be more idiomatic.
2016-02-09 09:39:30 -07:00
Phil Sorber
ed650cf4d5
Add Ping() to v2 client.
2016-02-09 09:00:36 -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
Jason Wilder
ddcdd97416
Merge pull request #5541 from influxdata/tls-client
...
Support for adding custom TLS Config for HTTP client
2016-02-08 11:58:52 -07:00
Cameron Sparr
df1980ebe5
Support for adding custom TLS Config for HTTP client
2016-02-04 13:09:27 -07:00
Alex Russell-Saw
5bde459f01
client: reject uint64 Client.Point.Field values
2016-02-01 16:17:47 +00:00
Farshid Tavakolizadeh
1058a669fc
Updated queryDB func
...
The convenience function was ignoring query errors.
2016-01-12 11:50:35 +01: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
Cameron Sparr
616da49019
It _is_ recommended to send data with a timestamp
...
closes #5061
2015-12-15 18:33:36 -06:00
Philip O'Toole
c3928b243b
Tweak expected test output for client timeouts
...
Need to understand further why this fails on Circle, but passes fine
with Go 1.5.2 on the branch. Unblocking builds for now, test code only.
2015-12-09 17:29:38 -08:00
Philip O'Toole
7bae79cb71
Move to Go 1.5.2
2015-12-09 11:53:00 -08:00
Farshid Tavakolizadeh
460275a254
go-client: changed statements' Err type to string, tagged by `error`
2015-12-08 23:28:42 +01:00
Sergey Kamardin
7b3420b258
Also HTTPConfig
2015-11-18 19:54:37 +03:00
Sergey Kamardin
fa0bf6994d
Rename `NewClient` to `NewHTTPClient`
2015-11-18 19:51:58 +03:00
Cameron Sparr
e32d97e770
Don't send data _without_ a timestamp
2015-11-12 15:27:18 -07:00
Cameron Sparr
909f5e8ae3
Small comment fixups
2015-11-12 15:18:04 -07:00
Cameron Sparr
b0e9f7e844
Refactor HTTP client for consistency with UDP
...
This makes error handling easier across clients and more consistent.
Also eliminates the need for users to parse their own URLs first,
because that doesn't even guarantee the URLs will be correct http URLs
2015-11-12 14:22:16 -07:00
Philip O'Toole
3cab8fac02
Revert to Go 1.4.2
...
This is not passing 'go vet' under 1.4.2.
2015-11-11 15:48:37 -08:00
Cameron Sparr
cc077f6fb0
Create a new query request for each Query
2015-11-06 15:22:42 -07:00
Cameron Sparr
7d3c84f92a
Another revision to the v2 client godoc, lowercase letters all around
2015-11-06 12:21:22 -07:00
Cameron Sparr
5bcb3cbe41
Fixup the v2 client godoc examples
2015-11-06 09:59:21 -07:00
Nicholas Katsaros
8fe41e1870
Increase performance of the UDP client
2015-11-05 13:53:05 -05:00
Cameron Sparr
e2db577e0f
Implement a UDP client
...
closes #4647
2015-11-04 14:18:14 -07: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
7508a2a252
Merge pull request #4587 from influxdb/jw-nan
...
Prevent NaN float values from being stored
2015-10-28 09:28:04 -06:00
Philip O'Toole
6311a2bf0a
Merge pull request #4518 from Lanzafame/master
...
Updated godoc.org link to v2 docs.
2015-10-27 18:13:17 -07: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
alanzafame
20dcb881f0
Updated godoc.org link to v2 docs.
2015-10-21 09:06:32 +10:00
Cameron Sparr
66a31ee9bc
Add more public point functions for v2 client
...
Closes #4505
2015-10-19 17:55:26 -06:00
Sean Beckett
c0708e5977
Merge pull request #4483 from charleswhchan/fix-typo-1
...
Typo: omitt --> omit.
2015-10-19 10:40:24 -07:00
samaitra
f9cceb1a53
README client example bug #4488
2015-10-18 14:09:37 +05:30
Charles Chan
e0d4ccd1a7
Typo: omitt --> omit.
2015-10-17 07:30:07 -07:00
Cameron Sparr
0c97695d5a
Change godoc to reference client v2
2015-10-15 18:36:29 -06:00
Cameron Sparr
696838a8c2
InfluxDB client v2
...
Closes #4387
2015-10-15 15:53:48 -06: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
nooproblem
d5d2ca4677
Removing deprecated JSON Protocol from README.md
...
The following panic is produced when running the code from the 'Find the last 10 _shapes_ records' section:
panic: interface conversion: interface is string, not json.Number
I have changed the type assertion from type json.Number to type string and amended the log output for the string type.
2015-09-21 19:33:44 +01:00
Cory LaNou
ba830be3b9
actually move influxql.Row* -> models.Row*
2015-09-16 16:32:50 -05:00