Commit Graph

6472 Commits (ca86fa263378a92e699f1760309c1ebbfd8fb916)

Author SHA1 Message Date
Henrik Johansson 2802047e68 Added failing test for #2956 2015-06-25 14:42:53 -06:00
Philip O'Toole bbdf4ddde3 Update CHANGELOG for PR 3136
[ci skip]
2015-06-25 16:30:01 -04:00
Philip O'Toole e9a06284d1 Merge pull request #3136 from Mindera/init_script_fixes
Fix a number of issues in sysV init script.
2015-06-25 16:27:44 -04:00
Philip O'Toole dfcecb2626 Move bug in Features to Bugfixes 2015-06-25 11:38:10 -07:00
Miguel Fonseca 7f98b5419b Avoid backticks and use $() instead. 2015-06-25 19:07:42 +01:00
Miguel Fonseca b282e76f59 Fix run as user. 2015-06-25 19:05:59 +01:00
Todd Persen 525e4dce81 Add support for displaying tags on measurements. 2015-06-25 09:31:56 -07:00
Todd Persen 6f9ae3f77f Remove npm.js 2015-06-25 09:28:55 -07:00
Miguel Fonseca c4ce20de08 Set proper return codes. 2015-06-25 14:11:51 +01:00
Jason Wilder 357b6585c1 Merge pull request #3125 from influxdb/jw-graphite
Graphite Input Protocol Parsing
2015-06-25 00:13:49 -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
Jason Wilder fbfb90d66c Code review fixes 2015-06-24 23:33:42 -06:00
Jason Wilder b0cda03219 Update changelog
Fixes #2102 #2966
2015-06-24 23:09:08 -06:00
Jason Wilder 320a951575 Fix default template being returned when partially matching
another filter.
2015-06-24 23:09:08 -06:00
Jason Wilder ba7187f554 Add comments to graphite parser 2015-06-24 23:09:08 -06:00
Jason Wilder a76e812b38 Add graphite parser benchmark 2015-06-24 23:09:08 -06:00
Jason Wilder 9ed71ad492 Add test for matching similar patterns 2015-06-24 23:09:08 -06:00
Jason Wilder 613b1d2eb7 Prevent duplicate filters in config
A filter should map directly to one template, allowing duplicate
filters is not supported.
2015-06-24 23:09:08 -06:00
Jason Wilder f70eee6e7a Add support for multiple measurement fields in templates
Provides a little more flexibility in controlling the parsed
metric names for metris like:

  servers.localhost.cpu.cpu0.user

Previously, you could only use a single field like "cpu", "user"
or a wildcard to match "cpu.cpu0.user".  You can now pull out "cpu"
and "user" and join them together in the metric name using a custom
separator character.  By default this is ".".
2015-06-24 23:09:08 -06:00
Jason Wilder a2a1956048 Use search tree for filter matching
This adds a sorted search tree for matchining filters to a template
more efficiently.  Each filter is split on "." and each element is
added to the tree.  Patterns with matching prefixes are added under
the same subtree.
2015-06-24 23:09:08 -06:00
Jason Wilder 98cbfdca51 Update tempalte format comment 2015-06-24 23:09:07 -06:00
Jason Wilder b294930c95 Add graphite plugin readme 2015-06-24 23:09:07 -06:00
Jason Wilder 1ecf9b5d36 Fix validation failing when using a default template 2015-06-24 23:09:07 -06:00
Jason Wilder ea348ddc2c Add sample graphite config to default config 2015-06-24 23:09:07 -06:00
Jason Wilder dd0e6e5e02 Use strings.Fields to bef more forgiving of whitespace 2015-06-24 23:09:07 -06:00
Jason Wilder fed8d67946 Add validation for graphite config templates and tags 2015-06-24 23:09:07 -06:00
Jason Wilder b55981f090 Add support for per-template default tags
These are tags that can be added at the template level.  They
will override any global tags and any parsed tags with the same
name from the metric will override these.
2015-06-24 23:09:07 -06:00
Jason Wilder 9cd82ae316 Add support for global tags
These are tags that can be add to all metrics.
2015-06-24 23:09:07 -06:00
Jason Wilder cab9e36111 Add basic template filtering support
This filter implementation is fairly naive and won't scale well
to large numbers of templates and filters.  It will be replaced
with a trie-based approach in the future.
2015-06-24 23:09:07 -06:00
Jason Wilder e5fbf249ff Remove DecodeNameAndTags func 2015-06-24 23:09:07 -06:00
Jason Wilder 46046c6d32 Add matcher for match a metric to a template
If no template matches, use a default template that just matches
the whole metric name as the measurement.
2015-06-24 23:09:07 -06:00
Jason Wilder 9bcbbd9875 Rename matcher to template 2015-06-24 23:09:07 -06:00
Jason Wilder d69a21c4e4 Allow skipping fields in templates 2015-06-24 23:09:07 -06:00
Jason Wilder a7d4d97743 Convert template matching to matcher struct 2015-06-24 23:09:06 -06:00
Jason Wilder d132263f08 Add support for measurement* 2015-06-24 23:09:06 -06:00
Jason Wilder d539b23817 Move graphite parser to separate file 2015-06-24 23:09:06 -06:00
Can ZHANG 2a383e6858 Fix unit tests for graphite 2015-06-24 23:09:06 -06:00
Can ZHANG c130efb5e2 Add fields to config metric name schema of graphite 2015-06-24 23:09:06 -06:00
Philip O'Toole 9323edea46 Remove the repo dir after nightly build completes 2015-06-24 16:33:16 -07:00
Philip O'Toole 7037b2f027 Add very simple helper script for nightly builds 2015-06-24 16:30:38 -07:00
Philip O'Toole 28543d1bbb Override version during nightly builds 2015-06-24 16:25:29 -07:00
Philip O'Toole 0c3c79c725 Replace package version name with night if NIGHTLY 2015-06-24 15:44:55 -07:00
Philip O'Toole 3f295dcb14 Use correct boolean operator in packaging script 2015-06-24 15:12:30 -07:00
Philip O'Toole fa08c8d808 Make packaging script nightly build-aware 2015-06-24 15:08:27 -07:00
Philip O'Toole 7147aa0a0e Correctly set GOPATH during packaging 2015-06-24 14:47:34 -07:00
Philip O'Toole 566a47259b Merge pull request #3132 from influxdb/package_gopath_override
Revert to any pre-existing GOPATH after gvm
2015-06-24 14:40:36 -07:00
Philip O'Toole 04eaddfde8 Revert to any pre-existing GOPATH after gvm 2015-06-24 14:40:03 -07:00
Gunnar 34739f0208 Merge pull request #3082 from influxdb/ga-cli-into
Fix CLI panic on malformed INSERT
2015-06-24 11:55:27 -07:00
gunnaraasen 9e59272b0b Change error message 2015-06-24 11:50:06 -07:00