Commit Graph

134 Commits

Author SHA1 Message Date
Sven Rebhan 1eb47e245c
Add input plugin for KNX home automation bus (#7048) 2021-03-18 08:39:44 -06:00
Sebastian Spaink 79f5803444
Migrate from github.com/ericchiang/k8s to github.com/kubernetes/client-go (#8937)
* new k8 client

* Make all tests pass

* Update licenses

* add timeout back

* Resolve merge conflicts

* Fix tests and linter

* Fix linter errors

* Linting issues

* Extra empty line

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-03-17 16:35:25 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Grace Wehner d7df2c546b
Prometheus [Input] plugin - Optimizing for bigger kubernetes clusters (500+ pods) when scraping thru 'monitor_kubernetes_pods' (#8762) 2021-03-08 11:00:56 -05:00
reimda 431d06acc0
Add XML parser using XPath queries (#8931) 2021-03-03 13:26:09 -07:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Jason Kim (Jun Chul Kim) 9075ae5175
Add MessagePack output data format (#8828) 2021-03-02 14:48:58 -05:00
Ben Keith 2cf4b751be
SignalFx Output (#6714)
* [outputs.signalfx] Add output plugin for SignalFX

This output plugin converts the `telegraf.Metrics` into signalfx
`datapoint`s and then transmits them to the ingest servers using
signalfx golang client lib.

As of this commit, the client lib is allowed to pick sane defaults
and none of its fields are overridable via telegraf config. This
can be changed in the future if needed.

The unit tests only test for conversion of `telegraf.Metric`s to
the `datapoint` structs. All code that executes after that is
assumed to be tested in the signalfx client lib itself (and not
worth writing end-to-end tests for).

Further enhancements:

 - Custom ingest urls
 - Better batching
 - More extensive tests
 - Support for events, sent by whitelist only

Co-authored-by: Ben Keith <benkeith@splunk.com>
Co-authored-by: Akshay <akshay.moghe@gmail.com>
Co-authored-by: Jay Camp <jcamp@splunk.com>
2021-02-25 15:30:01 -05:00
Sebastian Spaink 71be90d992
Support exclamation mark to create non-matching list in tail plugin (#8613)
* Replace exclamation mark with caret

* Update README and use table driven tests

* Use ReplaceAll instead

* Use doublestar package instead to glob filepath

* Add license

* Fix order of dependencies

* Doc improvement, maybe better then str replace?

* Forgot to remove nil from test

* Use regex instead of library

* Revert unnecessary change

* Go back to using library
replace string twice to handle edge case
2021-02-16 15:53:50 -06:00
Helen Weller f3a208ee28
Fix reconnection issues mqtt (#8821) 2021-02-11 11:45:13 -05:00
Patryk Małek 7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor (#8707) 2021-02-04 17:02:27 -05:00
Sebastian Spaink c237989631
Use go-ping for "native" execution in Ping plugin (#8679)
* Use go-ping for "native" execution in Ping plugin

* Check for ipv6 and deadline out of go func

* ensure dns failure

* Move interval and timeout calc to init
Removed dns failure check, 3rd parties libary responsibility

* Rename timeout to avoid conflict

* Move native ping to interface
Update tests

* Check for zero length
2021-01-26 16:02:43 -06:00
Dušan Pajin 9ee6e034fb
Input SNMP plugin - upgrade gosnmp library to version 1.29.0 (#8588) 2021-01-07 08:44:33 -07:00
Anthony Arnaud 045c3c18b8
Add prometheus remote write serializer (#8360) 2020-12-16 14:11:05 -05:00
Vipin Menon d536f610cd
Support Riemann-Protobuff Listener (#8163) 2020-11-27 11:30:45 -05:00
Steven Soroka e83a165635
kafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI (#8318) 2020-10-28 12:16:59 -04:00
Paweł Żak 14a73055f4
New input plugin for RAS with fixed GLIBC issue (#8293) 2020-10-20 17:59:05 -04:00
reimda 5a5f6fbd47
Update sarama library to 1.27.1 (#8289) 2020-10-20 11:42:37 -04:00
Steven Soroka f7f0c7324b remove unused dependency from list 2020-10-16 15:21:56 -04:00
Paweł Żak fa32975d0f
New input plugin for RAS (Reliability, Availability and Serviceability) (#8114) 2020-10-01 16:54:51 -04:00
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Chris Hayles 160e1d11c7
Add OPC UA input plugin (#8009) 2020-09-02 16:52:46 -06:00
Daniel Nelson a3aaa2f7bb
Fix license check 2020-06-23 17:03:56 -07:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00
Daniel Nelson 1c292d00ca
Fail check-deps when differences are found (#7694) 2020-06-16 14:07:06 -07:00
Daniel Nelson 7b06624885
Update docs for newrelic output 2020-05-27 11:52:21 -07:00
Daniel Nelson fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks (#7390) 2020-05-06 11:59:16 -07:00
Daniel Nelson ccdd3cd245
Update github.com/prometheus/client_golang to latest (#7200) 2020-03-18 16:09:53 -07:00
Daniel Nelson 4e28e5721b
Update google.cloud.go to latest (#7199) 2020-03-18 15:30:49 -07:00
Daniel Nelson 9fbf288518
Remove init checks for valid label and field selectors (#7198)
Importing k8s.io/klog starts a long running goroutine at init time.
2020-03-18 13:48:29 -07:00
R290 f69b639aa9
Add Azure IoT Hub / Event Hub input plugin (#6928) 2020-03-16 10:54:21 -07:00
Daniel Nelson d5df7666d8
Update changelog 2020-03-12 17:01:07 -07:00
Daniel Nelson 389723c08a
Update changelog, readme, licenses 2020-03-10 15:47:05 -07:00
Steven Soroka 830a922a41 fix deps 2020-03-10 10:21:23 -04:00
Steven Soroka a76d10a44e sort lines 2020-03-10 09:59:37 -04:00
Steven Soroka 595c8b6075 update list of dependencies 2020-03-10 09:47:26 -04:00
Steven Soroka 874804a2ad update changelog 2020-03-09 18:46:55 -04:00
Daniel Nelson 318a963a89
Check license of dependencies file for changes (#7108) 2020-03-09 14:47:28 -07:00
R.I.Pienaar 79ff743064
Add support for credentials file to nats_consumer and nats output (#7022) 2020-02-20 14:30:04 -08:00
Daniel Nelson 17c165391b
Update documentation for infiniband plugin 2020-01-16 13:56:23 -08:00
Daniel Nelson 10dd367faa
Update changelog and dependency licences 2019-11-27 11:00:28 -08:00
Daniel Nelson 6cbaf890d9
Use github.com/gofrs/uuid 2.1.0 (#6636) 2019-11-07 17:39:19 -08:00
Daniel Nelson 80e93af25b
Add gomock to dependency licenses 2019-11-07 11:00:31 -08:00
Daniel Nelson 80f38ae352
Update readme and changelog 2019-08-29 16:32:43 -07:00
Mattias Jiderhamn 4f54b11973 Add azure_storage_queue input plugin (#5323) 2019-08-29 16:29:25 -07:00
Daniel Nelson 139fcc5805
Update changelog and dependency licenses 2019-08-21 10:04:43 -07:00
Daniel Nelson aea09b3a20
Use sarama built in support for consumer groups (#6172) 2019-07-29 20:41:12 -07:00
Steven Barth e18393fabf Add Cisco model-driven telemetry & GNMI inputs (#5852) 2019-06-04 14:39:46 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -07:00
Daniel Nelson 1bcbc3eea7
Update docs and changelog for github input 2019-04-02 16:27:45 -07:00
Daniel Nelson 5108e82a5d
Remove unused dependencies 2019-03-04 17:17:35 -08:00
Daniel Nelson 62678fae06
Add kinesis_consumer documentation links 2019-02-25 12:06:44 -08:00
Daniel Nelson 96f99a7a79
Update changelog 2019-02-04 12:38:45 -08:00
Daniel Nelson 0afa99c17b
Update changelog and supporting files for cloud_pubsub 2019-01-03 16:28:15 -08:00
Daniel Nelson acd176cf42
Update changelog 2018-12-21 11:31:44 -08:00
Daniel Nelson 700e6b5ed3
Update changelog 2018-12-18 11:04:02 -08:00
Russ Savage d108925d81 Update license information (#5075) 2018-12-10 15:21:13 -08:00
Daniel Nelson 3374c7583d
Update license of dependencies list 2018-10-25 12:38:27 -07:00
Daniel Nelson af0ef55c02
Fix license type for go-ole 2018-09-27 10:10:27 -07:00
Vikrant 091af7e645 Add OAuth2 support to HTTP output plugin (#4536) 2018-09-06 10:54:05 -07:00
Gunnar f70d6519e7 Add Azure Monitor output plugin (#4089) 2018-09-05 14:50:32 -07:00
Daniel Nelson 7332ce0e95
Add go-syslog to dependencies licenses list 2018-06-05 11:40:03 -07:00
Daniel Nelson 2948dec6f5
Update changelog and docs for application_insights plugin 2018-05-15 16:42:56 -07:00
Daniel Nelson 18db718d7f
Add jti_openconfig_telemetry to docs 2018-05-11 18:16:52 -07:00
Daniel Nelson 503881d4d7
Update to latest fsnotify release 2018-03-27 17:21:00 -07:00
Daniel Nelson e28f422d21
Update fsnotify path in license of dependencies 2018-03-21 23:06:14 -07:00
Menno Finlay-Smits fb947e8fe7 Add NATS Monitoring Input Plugin (#3674) 2018-01-26 15:14:54 -08:00
Daniel Nelson 0ddb1d26a0
Add gjson and match to dependency license file 2018-01-08 15:15:23 -08:00
Patric Kanngießer 76ed70340b Add Teamspeak 3 input plugin (#3315) 2017-11-01 13:27:59 -07:00
Daniel Nelson 795f02ab88 Cleanup Makefile (#3089) 2017-08-03 11:54:05 -07:00
Daniel Nelson 137b312fa9 Add Zipkin input plugin (#3080) 2017-08-02 17:58:26 -07:00
Daniel Nelson d6cf9f4f30 Fix docker memory and cpu reporting in Windows (#3043) 2017-07-27 15:12:29 -07:00
Andy Cobaugh 1ff6e92193
Add input plugin for OpenLDAP (#2612) 2017-07-21 15:44:20 -07:00
Daniel Nelson 79f8ed874a Update elastic version to 5.0.41 (#2999) 2017-07-10 12:18:56 -07:00
Daniel Nelson 739d97639a
Update dependencies 2017-07-10 12:01:22 -07:00
Ayrdrie a726579d50 Add Minecraft input plugin (#2960) 2017-06-23 16:54:12 -07:00
Seuf 2092443cd7 Add Kafka 0.9+ consumer support (#2487) 2017-06-07 18:22:28 -07:00
Daniel Nelson 8fdc2aec80
Update dependency license file 2017-05-19 18:03:49 -07:00
Daniel Nelson 2c98e5ae66 Add collectd parser (#2654) 2017-04-12 10:41:26 -07: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
Dennis Bellinger 7b6713b094 Telegraf support for built-in windows service.
Updated windows dependencies

Updated the windows dependencies so that the versions matched the
dependencies for Mac OS and Linux. Additionally added some that were
complained about being missing at compile time.

Incorporated kardianos/service for management

Incorporated the library github.com/kardianos/service to manage the
service on the various platforms (including Windows). This required an
alternate main function.

The original main function was renamed to reloadLoop (as that is what
the main loop in it does) (it also got a couple of parameters). The
service management library calls it as the main body of the program.

Merged service.go into telegraf.go

Due to compilation issues on Windows, moved the code from service.go
into telegraf.go and removed service.go entirely.

Updated dependencies and fixed Windows service

Updated the dependencies so that it builds properly on Windows,
additionally, fixed the registered command for starting it as
a service (needed to add the config file option). This currently
standardizes it as a C:\telegraf\telegraf.conf on Windows.

Added dependency for github.com/kardianos/service

Removed the common dependencies from _windows file

Removed all the common dependencies from the Godeps_windows file and
modified Makefile to load Godeps and then Godeps_windows when building
for Windows. This should reduce problems caused by the Godeps_windows
file being forgotten when updating dependencies.

Updated CHANGELOG.md with changes

Ran `go fmt ./...` to format code

Removed service library on all but Windows

The service library [kardianos/service](github.com/kardianos/service)
has been disabled on all platforms but windows, as there is already
existing infrastructure for other platforms.

Removed the dependency line for itself

It appears that gdm accidentally added the project itself to the
dependency list. This caused the dependency restoration to select an
earlier version of the project during build.

This only affected windows.
This only affected builds after 020b2c70

Updated documentation for Windows Service

Removed the documentation about using NSSM and added documentation on
installing telegraf directly as a Windows Service.

Added license info for kardianos/service

Added the license information for github.com/kardianos/service which is
licensed under the ZLib license, although that name is never mentioned
the license text matches word for word.

Changed the Windows Config file default location

Updated the default location of the configuration file on Windows from
C:\telegraf\telegraf.conf to C:\Program Files\Telegraf\telegraf.conf.
With this change includes updating the directions, including directing
that the executable be put into that same directory. Additionally, as
noted in the instructions, the location of the config file for the
service may be changed by specifying the location with the `-config`
flag at install time.

Fixed bug - Wrong data type: svcConfig

svcConfig service.Config => svcConfig *service.Config
(It needed to be a pointer)
2016-08-08 23:10:39 +01:00
Cameron Sparr 81d0a64d46 Adds support for removing/keeping tags from metrics
closes #706
2016-04-16 15:13:38 -06:00
Cameron Sparr 7def6663bd Root directory cleanup 2016-02-18 13:37:36 -07:00