Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
9f4752ba12
Add docker input server version ( #4035 )
2018-04-23 15:09:04 -07:00
Daniel Nelson
822cfbc8e8
Add support for using globs in devices list of diskio input plugin ( #3687 )
2018-01-17 15:12:05 -08:00
Jeremy Doupe
a6797a44d5
Add history and summary types to telegraf and prometheus plugins ( #3337 )
2017-10-24 16:28:52 -07:00
Daniel Nelson
761544f56d
Add HasPoint method to testutil.Accumulator
2017-10-09 15:02:57 -07:00
James
837e6b1a32
Add additional numeric type handling tests for postgresql_extensible ( #3066 )
2017-09-25 10:58:10 -07:00
Yann Cézard
681d20083a
Only report cpu usage for online cpus in docker input ( #3035 )
2017-07-21 14:25:17 -07:00
Frederick Roth
ac5ac3161f
Fixed inconsistency between HasIntField and IntField ( #2813 )
2017-05-16 15:25:30 -07:00
Daniel Nelson
1931aac284
Fix http_response input creation of transport on every gather
2017-05-09 16:23:38 -07:00
Ross McDonald
a3feacbd2f
Kapacitor input plugin ( #2031 )
2017-04-27 11:47:22 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
Patrick Hemmer
03ee6022f3
fix race in testutil Accumulator.Wait() ( #2598 )
2017-03-29 17:03:06 -07:00
djjorjinho
cc5b2f68b6
fix timestamp parsing on prometheus plugin ( #2596 )
2017-03-29 15:04:29 -07:00
Patrick Hemmer
1402c158b7
remove sleep from tests ( #2555 )
2017-03-24 12:03:36 -07:00
Daniel Nelson
a962e958eb
Refactor procstat input ( #2540 )
...
fixes #1636
fixes #2315
2017-03-17 16:49:11 -07:00
Patrick Hemmer
b3537ef2a8
add socket listener & writer ( #2094 )
...
closes #1516
closes #1711
closes #1721
closes #1526
2017-02-02 16:24:03 +00:00
James
b9ae3d6a57
fix postgresql 'name', and 'oid' data types by switching to a driver ( #1750 )
...
that handles them properly
2017-01-24 12:36:36 -08: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
Mike Ragalie
ff67a4b96c
Cache and expire metrics for prometheus output ( #2016 )
...
* Cache and expire metrics for prometheus output
* Fix test
* Use interval.Duration
* Default prometheus expiration interval to 60s
* Update changelog
2016-11-15 11:33:39 +00:00
Cameron Sparr
ef885eda62
Change minmax aggregator to store float64
2016-10-12 14:50:19 +01:00
Cameron Sparr
b18d375d6c
Implement AddGauge & AddCounter functions
...
and utilize them in the in the 'system' input plugins.
2016-09-02 16:51:26 +01:00
Cameron Sparr
6dbbe65897
Remove Add() function from accumulator
2016-09-02 16:35:27 +01:00
Cameron Sparr
c991b579d2
tcp/udp listeners, remove locks & improve test coverage
2016-07-28 13:42:34 +01:00
Patrick Hemmer
e68f251df7
add AddError method to accumulator ( #1536 )
2016-07-25 13:09:49 +01:00
Cameron Sparr
d7efb7a71d
Add precision rounding to accumulator
...
Adding precision rounding to the accumulator. This means that now every
input metric will get rounded at collection, rather than at write (and
only for the influxdb output).
This feature is disabled for service inputs, because service inputs
should be in control of their own timestamps & precisions.
2016-06-14 00:36:39 +01:00
Cameron Sparr
918c3fb260
httpjson test real response from issue #729
2016-02-23 09:34:01 -07:00
Cameron Sparr
ee468be696
Flush based on buffer size rather than time
...
this includes:
- Add Accumulator to the Start() function of service inputs
- For message consumer plugins, use the Accumulator to constantly add
metrics and make Gather a dummy function
- rework unit tests to match this new behavior.
- make "flush_buffer_when_full" a config option that defaults to true
closes #666
2016-02-16 22:25:22 -07:00
Cameron Sparr
c549ab907a
Throughout telegraf, use telegraf.Metric rather than client.Point
...
closes #599
2016-01-27 23:47:32 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Cameron Sparr
9ada89d51a
0.3.0 unit tests: jolokia, kafka_consumer, leofs, lustre2
2016-01-06 16:55:28 -07:00
Cameron Sparr
524fddedb4
0.3.0 unit tests: exec, httpjson, and haproxy
2016-01-06 16:11:16 -07:00
Cameron Sparr
2e20fc413c
0.3.0 unit tests: aerospike, apache, bcache
2016-01-05 23:48:59 -07:00
Cameron Sparr
498482d0f6
0.3.0 unit tests: system plugins
2016-01-05 23:48:59 -07:00
Cameron Sparr
b975419bc7
Apache plugin unit tests and README
2015-11-13 13:01:00 -07:00
Cameron Sparr
352ccde52b
Fix new error return of client.NewPoint
2015-11-11 15:38:22 -07:00
Cameron Sparr
92fb51026a
Godep update: gopsutil
2015-11-11 15:38:22 -07:00
saiello
b2e22cbc59
Add fields value test methods
2015-11-06 14:07:02 -07:00
JP
a6e0ae2896
add ValidateTaggedFields func to testutil accumulator
2015-11-02 11:03:41 -07: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
97d4f9e0ff
Run go fmt in CI
2015-10-16 13:08:32 -06:00
palkan
9cccf8f88a
Add locking to test accumulator
2015-10-16 10:58:46 -06:00
Cameron Sparr
f8d64a7378
Redis: include per-db keyspace info
...
Closes #205
2015-09-22 19:46:50 -07:00
Cameron Sparr
733ba07312
Changing AddValues to AddFields and temp disabling adding w time
...
Currently adding with time is broken, because InfluxDB does not support
using precision for timestamp truncation both with and without
timestamps. This will be re-enabled once we fix InfluxDB to use the
precision argument for truncation in all cases, and a "unit" argument
in the line-protocol for adding points with non-nanosecond stamps
Fixes #175
2015-09-16 16:59:48 -07:00
Cameron Sparr
68e41f130c
Ping plugin
...
Closes #167
2015-09-04 11:20:49 -06:00
Cameron Sparr
d1f965ae30
Kafka output producer, send telegraf metrics to Kafka brokers
...
Closes #38
2015-08-26 17:03:58 -06:00
Cameron Sparr
aa0adc98f9
Build & unit test fixup
2015-08-04 16:48:19 -06:00
Cameron Sparr
3ff2ea8d4e
Creating circleci job to just lint and vet code
2015-08-04 11:22:26 -06:00
Cameron Sparr
03c520798e
Fix GetLocalHost testutil function for mac users (boot2docker)
2015-08-03 21:01:52 -06:00