Jonathan A. Sternberg
837a9804cf
Refactoring the monitor service to avoid expvar
...
Truncate the time interval output of the monitor service to be on even
time intervals rather than on every minute based on the start time. This
normalizes the output from the monitor service.
2016-07-07 11:13:58 -05:00
Jonathan A. Sternberg
497db2a6d3
Removing dead code from every package except influxql
...
The tsdb package had a substantial amount of dead code related to the
old query engine still in there. It is no longer used, so it was removed
since it was left unmaintained. There is likely still more code that is
the same, but wasn't found as part of this code cleanup.
influxql has dead code show up because of the code generation so it is
not included in this pruning.
2016-06-20 22:41:07 -05:00
Stephen Gutekanst
9dc09c5257
Make logging output location more programmatically configurable ( #6213 )
...
This has various benefits:
- Users embedding InfluxDB within other Go programs can specify a different logger / prefix easily.
- More consistent with code used elsewhere in InfluxDB (e.g. services, other `run.Server.*` fields, etc).
- This is also more efficient, because it means `executeQuery` no longer allocates a single `*log.Logger` each time it is called.
2016-04-20 21:07:08 +01:00
Todd Persen
00ed9ebaf3
Remove TSDB listener accept message
2016-04-12 16:09:31 -07:00
gunnaraasen
eec8cc94c7
Support multiple OpenTSDB inputs
2016-04-11 08:47:38 -07:00
Valeriy Simonov
0154a7008b
Remove TSDB listener accept message
2016-04-07 17:15:56 +05:00
Cory LaNou
d024ca2552
modify WritePoints function signature for p products
2016-03-14 16:55:54 +00:00
Cory LaNou
27cfaa4b7a
in memory meta, single node configs, etc.
2016-03-14 16:55:54 +00:00
Cory LaNou
807354f195
passing test suite... hopefully
2016-02-12 11:32:53 -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
Jason Wilder
ad52d0fbd9
Fix tests
2016-01-21 15:30:09 -05:00
Paul Dix
f385945058
Update Server to work with new metaservice/client
2016-01-21 15:28:33 -05:00
Cory LaNou
8d878fff91
buildable meta -> services/meta
2016-01-21 15:28:32 -05:00
Nathaniel Cook
eb080785d4
add bounds checking for shard group timestamps
...
enforce strict valid time ranges on points
small
2015-12-09 13:07:13 -07:00
Edd Robinson
8384ba3e84
Update comments.
2015-12-02 12:35:58 +00:00
Edd Robinson
ffbd6037e2
Initial lint for all packages under services. Supports #4098
2015-11-22 19:23:56 +00:00
Philip O'Toole
7ea9b3e49e
Allow openTSDB point errors logging to be disabled
2015-11-13 14:54:54 -08:00
Philip O'Toole
de7919240f
Migrate internal stats to consistent names
...
Go style -- and existing runtime stats -- do not use underscores, but
instead use camel case. This change makes the internal stats adhere to
that convention.
2015-10-28 21:07:45 -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
Philip O'Toole
25f957c5c6
Only call Stop on non-nil batchers
2015-10-14 08:55:06 -07:00
Philip O'Toole
a938cd3dee
openTSDB Open should complete before Close runs
2015-10-14 08:55:06 -07:00
Cory LaNou
d19a510ad2
refactor Points and Rows to dedicated packages
2015-09-16 15:33:08 -05:00
Philip O'Toole
d538829b4c
Enhance openTSDB logging and stats
2015-09-09 13:30:11 -07:00
Philip O'Toole
fef20c77b2
Cleanly terminate openTSDB connection on EOF
...
This is not really an error, so don't log it.
2015-09-09 13:01:13 -07:00
Philip O'Toole
519a30a463
Add note on openTSDB batching
...
[ci skip]
2015-09-08 23:19:17 -07:00
Philip O'Toole
24aca5611a
Add batch-pending control to openTSDB input
2015-09-08 19:35:42 -07:00
Philip O'Toole
349ba8b307
Add batching and stats to openTSDB input
2015-09-08 16:19:50 -07: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
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
Nathaniel Cook
17cc09259b
change for better code clarity
2015-07-21 19:40:43 -06:00
Nathaniel Cook
3e29d8821a
catch opentsdb malformed tags if they are missing keys or values
2015-07-21 16:11:58 -06:00
Joseph Crail
5fccee3d16
Fix spelling errors in comments and strings.
2015-06-28 02:54:34 -04:00
Philip O'Toole
7f96d0ed6a
Pull WithDefaults from collectd and openTSDB
...
This pattern, which is present in Graphite, is not needed for collectd
and openTSDB.
2015-06-12 14:17:18 -07:00
Philip O'Toole
b923ce0fc8
Minor updates to openTSDB README
2015-06-12 12:06:58 -07:00
Philip O'Toole
27f0b082b2
Add basic documentation for the openTSDB input
2015-06-12 12:05:23 -07:00
Philip O'Toole
4dff5f48aa
Export WaitForLeader on MetaStore
...
This exported function can then be used by Services and
server-reporting, so those components don't make progress until the
cluster is ready.
2015-06-11 11:10:07 -07:00
Philip O'Toole
e294db3c49
Set openTSDB defaults in service
2015-06-10 20:42:44 -07:00
Philip O'Toole
91b6964705
Ensure openTSDB target database exists
2015-06-10 20:05:34 -07:00
Philip O'Toole
cbaf3cb0ed
Support setting openTSDB consistency level
2015-06-09 15:39:31 -07:00
Philip O'Toole
e21d49e85f
Add openTSDB consistency level config param
2015-06-09 15:03:52 -07:00
Ben Johnson
b688eccb77
Refactor OpenTSDB to a service
...
This commit converts the OpenTSDB endpoint into a service.
2015-06-08 15:12:16 -06:00
Ben Johnson
b925e1c1af
Multi-node clustering.
...
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus.
2015-06-05 14:41:19 -06:00
Ben Johnson
44d38cb430
Merge branch 'master' into alpha1
2015-06-02 10:40:52 -06:00
Ben Johnson
4872e6db7c
Move services to subpackage.
2015-05-30 08:20:12 -06:00