Cameron Sparr
12db3b9120
Check if metric is nil before calling SetAggregate
...
fixes #2146
2016-12-13 12:27:10 +00:00
Cameron Sparr
d71a42cd1b
Implement telegraf collecting stats on itself
...
closes #1348
2016-12-05 18:56:54 +00:00
Cameron Sparr
db7a4b24b6
Implement telegraf's own full metric type
...
main reasons behind this:
- make adding/removing tags cheap
- make adding/removing fields cheap
- make parsing cheaper
- make parse -> decorate -> write out bytes metric flow much faster
Refactor serializer to use byte buffer
2016-12-01 18:17:02 +00:00
Cameron Sparr
a84ce5d5cb
drop metrics outside of the aggregators period
2016-10-12 14:56:03 +01:00
Cameron Sparr
03b2984ac2
Fixup some code based on feedback from @dgnorton
2016-10-12 14:50:19 +01:00
Cameron Sparr
fead80844e
Refactor handling of MinMax functionality into RunningAggregator
...
allows for easier addition of a sliding window at a later time.
Also makes `period` be a generic argument for all aggregator plugins.
2016-10-12 14:50:19 +01:00
Cameron Sparr
64a71263a1
Support Processor & Aggregator Plugins
...
closes #1726
2016-10-12 14:50:19 +01:00