Commit Graph

30 Commits

Author SHA1 Message Date
Cameron Sparr 42602a3f35 Provide a -usage flag for printing the usage of a single plugin
Closes #136
2015-08-24 14:52:46 -06:00
Cameron Sparr ba1e4917d1 Removing DefaultConfig function because there's really no point 2015-08-13 14:26:02 -06:00
Cameron Sparr 5d4b6c41a8 circle.yml: verify that golint violations == 0 for some dirs 2015-08-12 15:51:43 -06:00
JP ddf438dac0 add missing import and Tag marshalling 2015-08-12 15:17:50 -05:00
Cameron Sparr 08042089f9 Followup to issue #77, create configured database name from toml file 2015-08-12 10:54:13 -06:00
JP 53969ae054 move tags to influxdb struct, update all sample configs 2015-08-12 10:23:00 -06:00
Cameron Sparr b312e48d31 Revert "PR #59, implementation of multiple outputs"
This reverts commit 48a075529a, reversing
changes made to 924700f381.
2015-08-11 10:34:00 -06:00
Cameron Sparr 48a075529a PR #59, implementation of multiple outputs 2015-08-11 10:21:00 -06:00
Simon Fraser 29e8ce68e4 Modify ShouldPass so that it checks the tags of a metric, if configured.
A plugin can have 'tagpass' and 'tagdrop' subsections:

[disk.tagpass]

And tagname = array lists of things to filter by:

fstype = [ "ext4", "xfs" ]
path = [ "/", /opt", "/home" ]

[disk.tagdrop]
path = [ "/" ]
2015-08-11 10:19:29 -06:00
Simon Fraser 3ecb5a20a5 Modify ShouldPass so that it checks the tags of a metric, if configured.
A plugin can have 'tagpass' and 'tagdrop' subsections:

[disk.tagpass]

And tagname = array lists of things to filter by:

fstype = [ "ext4", "xfs" ]
path = [ "/", /opt", "/home" ]

[disk.tagdrop]
path = [ "/" ]
2015-08-10 19:19:35 -06:00
JP 91f6c4b740 move tags to influxdb struct, update all sample configs 2015-08-07 15:31:25 -05:00
JP 48c10f9454 update config sample, marshal tags from toml 2015-08-06 21:03:27 -05:00
JP 7ed19de44e fix issue with var rename 2015-08-06 11:49:02 -05:00
JP 72652ff16e resolve merge conflicts 2015-08-05 21:37:18 -05:00
JP 4a12471918 convert influxdb output to multiple outputs 2015-08-05 21:25:14 -05:00
Cameron Sparr 3ff2ea8d4e Creating circleci job to just lint and vet code 2015-08-04 11:22:26 -06:00
Orne Brocaar b717dc0742 Use string for InfluxDB timeout duration config. 2015-07-12 18:05:44 +02:00
Orne Brocaar 6ad37267e4 Add connection timeout configuration for InfluxDB. 2015-07-10 20:17:26 +02:00
gunnaraasen 4d5782df53 Update name -> measurement 2015-05-29 13:25:48 -07:00
Sean Beckett 434e06ceda use localhost by default
should make the config work with very little modification
2015-05-22 17:09:20 -07:00
Evan Phoenix 1653330421 Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
Evan Phoenix ead52e807e Improve sample config 2015-05-22 16:26:32 -07:00
Evan Phoenix 4e82b37325 Clearify some required config parameters 2015-05-21 09:45:09 -07:00
Evan Phoenix 8aa7e355f6 Add pass, drop, and interval to the plugin options 2015-05-19 22:19:32 -07:00
Evan Phoenix 203d3695b4 Grammar 2015-05-18 16:11:45 -07:00
Evan Phoenix 40cc034acb Add rule about 'localhost' 2015-05-18 16:08:22 -07:00
Evan Phoenix 66905c069f Include comment about using test in the sample config 2015-05-18 15:51:11 -07:00
Evan Phoenix 82cbc4daa2 Add ability to generate config from available plugins 2015-05-18 15:10:11 -07:00
Evan Phoenix b2c5d95737 Require plugin declaration in config to use any plugin
This also makes it so `-test` without a config file tests all available
plugins with the default configuration. This mode is very useful for
getting some initial data out of tivan.
2015-05-18 14:10:12 -07:00
Evan Phoenix db74acb86d Initial spike
This is mostly to solidify the overall structure with the agent,
plugins, and testing philosphy.
2015-04-01 21:55:51 -07:00