Cory LaNou
0b05980ae2
silence snapshotter logger for testing
2015-08-13 20:53:40 -05:00
Jason Wilder
a7cb0df4af
Fix typos/spacing
2015-08-13 10:02:05 -06:00
Jason Wilder
668181d275
Make log statements more consistent
...
* Capitalize first letter of message
* Log all services staring consistently
* Remove some extraneous log statements in meta.Store
* Log data dirs for meta, data and hinted handoff
2015-08-13 10:01:42 -06:00
Philip O'Toole
089d947bf3
Shutdown Graphite listener first during Close()
...
Without this the WaitGroup was not fully decremented as the Accept()
call on the listener never exited, and Wait() then never exited.
2015-08-12 12:49:58 -07:00
Philip O'Toole
966dee7559
Set sensible Graphite batching defaults
2015-08-11 18:34:36 -07:00
gunnaraasen
7dc7389e96
Remove dump from client and handler
2015-08-07 11:56:30 -07:00
Jason Wilder
398ffabab7
Fix panic in hinted handoff processor
...
A short write has occurred and we do not have enough bytes to determine
the size of the payload. This is corrupted record that we should drop.
Instead of panicing, log the error and advance the queue since the error
at this location is unreoverable currently.
Fixes #3436
2015-08-06 14:06:41 -06:00
Jason Wilder
4f7df336f2
Fix go vet
2015-08-05 12:16:17 -06:00
Nathaniel Cook
2fac5471ce
add TLS support to the OpenTSDB plugin
2015-07-31 12:00:22 -06:00
Gunnar
2a02605ef6
Merge pull request #3474 from influxdb/ga-options
...
Respond to OPTIONS requests on /query endpoint
2015-07-28 16:32:26 -07:00
Paul Dix
fb76c34a79
Merge pull request #3426 from jhorwit2/jah/continuous-logging
...
Added additional logging to continuous queries
2015-07-27 17:43:55 -04:00
gunnaraasen
5ef0be2d71
Respond to OPTIONS requests on /query endpoint
2015-07-27 11:58:44 -07:00
Vorn Mom
38387ba6b7
Fixed typo.
2015-07-24 19:41:46 -04:00
Vorn Mom
5b50002728
Fixed typo in README
2015-07-24 17:07:41 -04:00
Josh Horwitz
e722b4b4ad
Added additional logging to continuous queries
2015-07-23 19:09:42 -04:00
Gunnar
d9f16987fc
Merge pull request #3439 from influxdb/ga-admin-https
...
Add HTTPS option and logger to admin service
2015-07-23 15:09:56 -07:00
Gunnar
d1fc0a3cc9
Merge pull request #3375 from influxdb/https
...
First pass at re-enabling HTTPS.
2015-07-23 15:04:29 -07:00
gunnaraasen
b30351f750
Remove redundant loggers and clean up logic
2015-07-23 15:01:48 -07:00
gunnaraasen
8ab9424295
Return error if HTTPS fails
2015-07-23 15:00:33 -07:00
gunnaraasen
614332bf17
Exit if HTTPS fails
2015-07-23 14:50:45 -07:00
Gunnar
96575e678a
Merge pull request #3427 from influxdb/ga-pw-log
...
Logging tweaks, sanitize passwords and note if authentication is enabled
2015-07-23 14:12:41 -07:00
gunnaraasen
e5ead383e5
Add HTTPS option and logger to admin service
2015-07-22 16:49:12 -07:00
Nathaniel Cook
17cc09259b
change for better code clarity
2015-07-21 19:40:43 -06:00
gunnaraasen
785a8b4d9a
Sanitize password from HTTP logs
2015-07-21 18:28:05 -07:00
Todd Persen
0780cf6599
Add a config test for HTTPS.
2015-07-21 18:20:08 -07:00
gunnaraasen
20de2bc914
Log authentication enabled message
2015-07-21 17:53:12 -07:00
Nathaniel Cook
3e29d8821a
catch opentsdb malformed tags if they are missing keys or values
2015-07-21 16:11:58 -06:00
Philip O'Toole
425a65fca1
RemoteShard mapping now performed over TCP
...
With this change remote mapping no longer uses HTTP, as the HTTP ports
exposed by nodes on the cluster are not known cluster wide. The TCP
ports exposed by the cluster service are, so this change uses that
functionality. Each RemoteMapper has its own dedicated connection pool
for each node, and remote mapping TCP connections are in no way coupled
with query TCP connections.
2015-07-20 10:44:38 -07:00
Todd Persen
47d5c2d65f
First pass at re-enabling HTTPS.
2015-07-17 16:57:31 -07:00
Philip O'Toole
f549910a18
Merge pull request #3279 from LK4D4/fix_style_else
...
Fix style issues with else
2015-07-17 11:53:42 -07:00
gunnaraasen
9ba37325f6
Fixes authorization.
...
Adds GRANT and REVOKE statements for admin privilege. Adds authorization to the query endpoint.
2015-07-17 11:33:06 -07:00
Alexander Morozov
675eacbf2c
Fix style issues with else
...
In go it's better to just continue flow without "else", if it is return in
"if" statement.
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-07-17 11:10:23 -07:00
Philip O'Toole
a0dba108a0
Unit test shard mapper handler error handling
2015-07-15 16:08:26 -07:00
Philip O'Toole
65a580779b
Shard mapping handler returns on errors
2015-07-15 16:08:10 -07:00
Philip O'Toole
7bdba556a1
Support pretty printing shard mapping
2015-07-15 13:06:16 -07:00
Philip O'Toole
74cb96646c
Refactor query engine for distributed query support
...
With this change, the query engine code gathers information about
shards and tagsets by working with individual shards, collating the
information, and returning that to the client. It does not assume that any
particular shard is local, and accesses all shards through abstracted
Mappers, of which there are two types -- a Mapper type for Raw queries
and a second type for Aggregate queries. There are corresponding
Executors for each type of Mapper, but both types of Executors share the
same interface.
2015-07-15 12:54:55 -07:00
Josh Horwitz
e4f2d8a6c4
Fixed httpd logger to get user from query params
2015-07-13 17:36:34 -04:00
Sean Beckett
72f52d44c9
making queries syntactically correct
2015-07-08 17:25:56 -06:00
Jason Wilder
6b8d3268e6
Fix code review comments
2015-07-07 11:41:12 -06:00
Jason Wilder
db63ada7db
Drop NaN and Inf values from graphite input
...
NaN is skipped by graphite. Inf is not a supported value for Influxdb.
2015-07-06 16:14:02 -06:00
Jason Wilder
b58df5344c
Use a single batcher for graphite service
...
Previously there was a batcher per connection and each batcher was
flushed when the connection was closed. This didn't have much of an
effect when multiple clients connected and disconnected since it would
flush the batch immediately. It also did not help UDP traffic.
Instead, there is now a shared batcher for the service so that multiple
connections will not cause frequent flushes.
2015-07-06 16:14:02 -06:00
Jason Wilder
4a71692b88
Allow extra tags using graphite default template
...
Fixes #3223
2015-07-06 16:14:02 -06:00
Jason Wilder
0b481d55f4
Fix graphite filter searching matching wrong template
...
Default template would get chosen in some cases when a matching filter
existed.
Fixes #3245
2015-07-06 16:14:02 -06:00
Jason Wilder
a3ab093996
Parse NaN as float
...
Fixes #3230
2015-07-06 16:14:01 -06:00
Jason Wilder
87c962d62d
Fix panics when collectd fails to start
...
If collectd fails to start, it can panic when close is called because
some variables have not be initialized yet.
2015-06-29 22:09:47 -06:00
Joseph Crail
5fccee3d16
Fix spelling errors in comments and strings.
2015-06-28 02:54:34 -04:00
Philip O'Toole
ff61d88c10
Create UDP batcher before listening for UDP
...
Otherwise a packet may be received before the batcher has been
instantiated.
2015-06-26 10:17:33 -04:00
Jason Wilder
2c333c6c63
Fix markdown formatting
2015-06-25 22:08:13 -06:00
Jason Wilder
562d7cd37d
Handle timestamp special cases
...
If no timestamp is sent or the value -1 is sent, the current UTC
time is used.
2015-06-24 23:53:13 -06:00
Jason Wilder
c5a10cf93d
Use raw metric name when default template fails to match
2015-06-24 23:38:10 -06:00