Added ability to specifiy a seperator for a metric_path.
Default is "."
Added ability to specify position of name from metric_path
Options are "first" or "last".
Defaults to the first position.
Normalized the graphite.Metric struct to only have a Value.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite/graphite.go
modified: graphite/graphite_test.go
Graphite server now understands how to use the WriteSeries
Added ability for series information to be passed in the graphite name.
Format is:
key.value.key.value.metric 50 <timestamp>\n
Example:
region.us-west.hostname.server01.cpu .09323432 1419958066\n
Added test coverage for the Graphite endpoint. Need to figure out
how to test a successful listenAndServe.
Need to add tests around new configuration for default values
when not specified for graphite servers.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite.go
new file: graphite_test.go
* Pull database, Measurement, Series, ReplicationPolicy, and Shard into database.go to keep things manageable and clean
* Remove the locks from the index method. The server will handle thread safety for database objects
* Move the Index tests into database_test.go and in the influxdb package because we're not exporting database
Graphite server now understands how to use the WriteSeries
Added ability for series information to be passed in the graphite name.
Format is:
key.value.key.value.metric 50 <timestamp>\n
Example:
region.us-west.hostname.server01.cpu .09323432 1419958066\n
Added test coverage for the Graphite endpoint. Need to figure out
how to test a successful listenAndServe.
Need to add tests around new configuration for default values
when not specified for graphite servers.
Changes to be committed:
modified: cmd/influxd/config.go
modified: cmd/influxd/config_test.go
modified: cmd/influxd/run.go
modified: graphite.go
new file: graphite_test.go
* Updated megastore to build the per database index for the server object
* Changed Server to have MeasurementNames and MeasurementSeriesIDs methods instead of generic Measurement method.