Commit Graph

48 Commits

Author SHA1 Message Date
Cameron Sparr a1067fa4ae Normalize collection interval to nearest interval
closes #301
2015-10-21 17:31:27 -06:00
gotyaoi 0299a17da1 Moving the Duration wrapper to it's own package to break import loops. 2015-10-21 12:00:21 -07:00
gotyaoi 03d79996de Moving away from passing around *ast.Tables.
Config in the config directory will need to be merged into the main
config, which is difficult to do using the *ast.Tables. Get the config
into structs as soon as possible and then merge the structs.
2015-10-21 11:59:19 -07:00
Cameron Sparr dfc59866e8 Add support for retrying output writes, using independent threads
Fixes #285
2015-10-21 11:17:01 -06:00
Cameron Sparr ac685d19f8 Clean up logging messages and add flusher startup delay
Fixes #294
2015-10-20 16:45:31 -06:00
Cameron Sparr c26ce9c4fe Utilizing new client and overhauling Accumulator interface
Fixes #280
Fixes #281
Fixes #289
2015-10-20 13:53:58 -06:00
Cameron Sparr 6977119f1e Statsd plugin, tags and timings
Closes #237
Closes #39
2015-10-15 12:07:36 -06:00
Cameron Sparr eb2a4dc724 Statsd listener plugin
implement gauges, sets, counters
2015-10-14 17:54:00 -06:00
Cameron Sparr 7293376973 Race condition fix: copy BatchPoints into goroutine
Fixes #250
2015-10-08 14:27:22 -06:00
Cameron Sparr b01c28ebc6 Clean up additional logging and always print basic agent config 2015-09-29 14:06:49 -07:00
Cameron Sparr f6f45881da Add more logging to telegraf 2015-09-28 16:57:03 -07:00
Cameron Sparr aad6a7e262 Only run the cpu plugin twice when using -test
This can be easily extended to other plugins that need it by tacking
their name onto the switch statement. Also eliminating the unused
TestAllPlugins code and cleaning up some stray Printlns
2015-09-23 13:56:14 -07:00
Cameron Sparr ec9819071a Add -outputfilter flag, and refactor the filter flag to work for -sample-config
Closes #211
Issue #199
2015-09-22 10:56:01 -07:00
Cameron Sparr b012713cf2 Adding time_ prefix to all CPU time measurements 2015-09-21 10:23:46 -07:00
Cameron Sparr 82d914149e Adding a retry to the initial telegraf database connection
Fixes #187
2015-09-18 18:03:47 -07:00
Cameron Sparr 81f4aa9a5d Fix bug in setting the precision before gathering metrics
Closes #175
2015-09-09 21:29:55 -06:00
Cameron Sparr 3c7c8926fb Support InfluxDB clusters
Closes #143
2015-09-09 17:57:17 -06:00
Cameron Sparr 5bfb6df0e0 Write data in UTC by default and use 's' precision
Closes #159
Closes #162
2015-09-02 14:19:36 -06:00
Cameron Sparr 5b78b1e548 Clean up agent error handling and logging of outputs/plugins
Closes #145
2015-08-27 13:41:19 -06:00
Cameron Sparr d1f965ae30 Kafka output producer, send telegraf metrics to Kafka brokers
Closes #38
2015-08-26 17:03:58 -06:00
nsvarich f45f7e56fd add plugin.name to error message 2015-08-24 13:09:23 -06:00
nickscript0 afe366d6b7 go fmt remove whitespace 2015-08-24 13:09:23 -06:00
nickscript0 1daa059ef9 Log plugin errors in crankParallel and crankSeparate cases. Previously errors weren't logged in these cases. 2015-08-24 13:09:23 -06:00
Cameron Sparr 32124a7913 Adding a Close() function to the Output interface and to the agent 2015-08-12 11:04:25 -06: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 9e2f8f664b Followup to issue #77, create configured database name from toml file 2015-08-11 14:02:04 -06:00
nicolas abdef7c326 Go FMT missing... 2015-08-11 19:01:37 +02:00
nicolas e7ca9113bc Add filtering options to select plugin at startup 2015-08-11 17:50:36 +02:00
Cameron Sparr c0cef8ca43 Fix for issue #77, create telegraf database if not exists 2015-08-10 16:33:18 -06: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
Evan Phoenix 1653330421 Tivan is dead, long live Telegraf. Fixes #3 2015-05-22 16:45:14 -07:00
Evan Phoenix 08ce092713 Add the host tag always. Fixes #4 2015-05-22 16:33:38 -07:00
Evan Phoenix 861707d651 Actually write the points 2015-05-20 17:11:43 -07:00
Evan Phoenix 8aa7e355f6 Add pass, drop, and interval to the plugin options 2015-05-19 22:19:32 -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 f1e1204374 Enforce stat prefixing at the accumulator layer 2015-05-18 12:15:15 -07:00
Evan Phoenix 34e87e7026 Sort the plugins so the order is consintent 2015-05-18 11:54:59 -07:00
Evan Phoenix de9c1f50ea Update for newer API 2015-05-18 11:54:41 -07:00
Evan Phoenix 81f41059f4 Apply any configuration to a plugin 2015-04-07 11:53:30 -07:00
Evan Phoenix 1c3e649098 Automatically include a 'host' tag 2015-04-07 09:56:40 -07:00
Evan Phoenix 83b77e31f4 Connect on run if not connected 2015-04-07 09:23:58 -07:00
Evan Phoenix 8df5d57f6d Remove final cypress remnents 2015-04-07 09:23:35 -07:00
Evan Phoenix 609cba2cd5 Provide a test mode to check plugins easily 2015-04-06 17:24:24 -07:00
Evan Phoenix d1cc82653a Switch plugin API to use an accumulator 2015-04-06 09:32:10 -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