Patrick Hemmer
47049b1dc2
snmp: use a shared global translation cache
...
Prevents the same data from being looked up multiple times. Also prevents multiple simultaneous lookups.
2016-12-02 00:36:33 -05:00
Cameron Sparr
9f6666beb3
unit test fixup
2016-12-01 19:17:44 +00:00
Cameron Sparr
af6e7b9531
More unit tests for new metric
2016-12-01 19:07:14 +00:00
Cameron Sparr
6fd7361364
allocation & perf improvements
2016-12-01 18:17:02 +00:00
Cameron Sparr
e5c7a71d8e
Fix unit tests for new metric implementation
2016-12-01 18:17:02 +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
332f678afb
JSON serializer: include unit test with escapes
2016-12-01 18:16:52 +00:00
John Engelman
04a2b36a52
Fix changelog for json parser. ( #2100 )
2016-11-28 18:20:32 +00:00
Cameron Sparr
f862c6585d
amqp precision is not used anymore
2016-11-24 10:17:24 +00:00
Cameron Sparr
5c32521a07
Add benchmarks for metric parsing and creating
2016-11-23 17:23:08 +00:00
Cameron Sparr
9db30250c3
'discard' output plugin
2016-11-23 14:03:30 +00:00
Cameron Sparr
2b0cd2037b
Add Copy() function to Metric interface
2016-11-23 12:30:31 +00:00
Guillem Jover
536dbfb724
Switch to github.com/kballard/go-shellquote ( #1950 )
...
The old gonuts fork has no License and has not seen any commits
differing from the original project, while the original has seen some
activity, even if low.
Having no license is a problem for distributors, as by default, such
projects are undistributable.
2016-11-16 11:24:11 -05:00
karech
b77398c4d3
Configurable RabbitMQ HTTP timeouts #1997 ( #1998 )
...
* [plugins] rabbitmq input plugin: add non default http timeouts
* update CHANGELOG.md
2016-11-16 16:18:56 +00:00
Chris Goller
fbf5bee051
Update win_pref_counter to include Processor Queue Length in examples. ( #2029 )
2016-11-16 13:16:44 +00:00
leplan73
81004c808f
Added IopsInProgress to diskio stats ( #2037 )
...
* Export IopsInProgress
* Export IopsInProgress
* Export IopsInProgress
2016-11-16 13:16:16 +00:00
Pieter Slabbert
196509cc53
Trim null characters in Value data format ( #2049 )
...
* Trim null characters in Value data format
Some producers (such as the paho embedded c mqtt client) add a null
character "\x00" to the end of a message. The Value parser would fail on
any message from such a producer.
* Trim whitespace and null in all Value data formats
* No unnecessary reassignments in Value data format parser
* Update change log for Value data format fix
2016-11-16 13:13:31 +00:00
John Engelman
94ce67cc67
Add support to parse JSON array. ( #1965 )
2016-11-15 13:02:55 -05:00
Toni Moreno
33ed528afe
Apache input enhancements ( added Basic Auth and SSL skipverify ) ( #1964 )
...
* added connection Timeout parámeter, basic HTTP autentication and HTTP support with Sslskipverify option
* updated README.md
* added optional SSL config , changed timeout name and type , and other minor fixes
* added some code style improvements
* Update README.md
2016-11-15 10:52:24 -05:00
Cameron Sparr
2435e47926
changelog update
2016-11-15 11:36:26 +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
Sebastian Borza
f816b952cf
Add udp_buffer_size option to udp_listener ( #1883 )
...
* patching udp_listener for fun
updating with errcode
adding debug flags to temp msgs
moving from debug to info
* updating PR 1883 based on feedback
2016-11-15 09:49:48 +00:00
Todd Persen
b905bc1b5d
Merge pull request #2024 from influxdata/cs2023-single-quote-duration
...
Fix single quote parsing of TOML durations
2016-11-11 09:40:32 -08:00
Cameron Sparr
0ecbf9e349
Fix single quote parsing of TOML durations
...
closes #2023
2016-11-10 09:47:46 +00:00
Cameron Sparr
1c7715780e
Documentation improvements
...
- fully document aggregator and processor plugins
- improve readme.md
closes #1989
2016-11-08 13:55:37 +00:00
John Engelman
5d3850c44e
Update docs on Cloudwatch. Set default period to 5m. ( #2000 )
2016-11-07 12:14:04 +00:00
Cameron Sparr
e84b356a12
Update etc/telegraf.conf
2016-11-04 13:18:44 +00:00
John Engelman
b349800f7a
Fix up AWS plugin docs so they don't use single quotes. ( #1991 )
...
Also don't use named returns in fetchNamespaceMetrics since it's
non-standard for the rest of the codebase.
2016-11-04 13:16:41 +00:00
Cameron Sparr
47de43abf3
Use rfc3339 timestamps in telegraf log output
...
closes #1564
also add unit and benchmark tests
2016-11-03 18:39:02 +00:00
Johannes Rudolph
7a9fef80f5
Update README.md ( #1868 )
...
I think this is a copy paste bug? ;-)
2016-11-03 18:28:24 +00:00
Cameron Sparr
dc28875437
Update gopsutil dependency
...
primarily for a fix in Windows network counter getting code
closes #1949
2016-11-03 18:06:10 +00:00
Cameron Sparr
a6ed4d4c3a
CircleCI script, do not explicitly set version tag
2016-11-03 17:21:06 +00:00
Cameron Sparr
fe6162b2a1
Use short commit in Makefile build
2016-11-03 16:37:52 +00:00
Cameron Sparr
34182d9c9f
Add release 1.2 section to changelog
2016-11-03 14:34:09 +00:00
Cameron Sparr
16081b2d1a
Update etc/telegraf.conf
2016-11-03 14:31:55 +00:00
Matteo Cerutti
e43cfc2fce
fix leap_status value in chrony input plugin ( #1983 )
2016-11-03 10:46:54 +00:00
Prunar
137272afea
Update README.md ( #1963 )
...
Typo
2016-11-02 14:25:09 +00:00
Cameron Sparr
2150510bd4
nats_consumer: buffer incoming messages
...
fixes #1956
2016-10-27 13:39:27 +01:00
albundy83
fc59757a1a
Just fix typo ( #1962 )
2016-10-27 11:45:17 +01:00
Cameron Sparr
0cfa0d419a
udp_listener & tcp_listener set default values
...
closes #1936
2016-10-27 10:25:24 +01:00
Paulo Pires
522658bd07
Fix NATS plug-ins reconnection logic ( #1955 )
...
* NATS output plug-in now retries to reconnect forever after a lost connection.
* NATS input plug-in now retries to reconnect forever after a lost connection.
* Fixes #1953
2016-10-26 15:45:33 +01:00
Jonathan Chauncey
b1a97e35b9
fix(kubernetes): Only initialize RoundTripper once ( #1951 )
...
fixes #1933
2016-10-26 13:47:35 +01:00
Cameron Sparr
c66363cba5
Update Go version: 1.7.1->1.7.3
2016-10-25 14:49:21 +01:00
Cameron Sparr
61269c3500
Update config generation docs
...
closes #1925
2016-10-25 14:46:50 +01:00
Priyank Trivedi
393d129982
Fix typo from 'Proctstas' to 'Procstat' in procstat plugin's README ( #1945 )
2016-10-25 13:57:55 +01:00
Cameron Sparr
80d4864844
Only install fpm,rpm,boto if we need them
2016-10-25 13:31:48 +01:00
Cameron Sparr
f729fa990d
Unit testing for internal.Duration Unmarshal
...
closes #1926
2016-10-25 13:11:32 +01:00
Alex Zorin
662db7a944
Fix panic in internal.Duration UnmarshalTOML
2016-10-25 18:30:01 +11:00
Cameron Sparr
c849b58de9
http_listener input unit tests
2016-10-24 18:17:49 +01:00
Cameron Sparr
097b1e09db
http listener refactor
...
in this commit:
- chunks out the http request body to avoid making very large
allocations.
- establishes a limit for the maximum http request body size that the
listener will accept.
- utilizes a pool of byte buffers to reduce GC pressure.
2016-10-24 18:17:49 +01:00