Commit Graph

69 Commits

Author SHA1 Message Date
Caleb Hailey cc61251cc9
Sensu Go Output Plugin for Telegraf (#8398) 2021-03-03 13:56:42 -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
Thomas Casteleyn 4584d691a7
Fix max_repetitions signedness issues #8823 (#8902) 2021-03-01 15:46:49 -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
Sven Rebhan b6b5d34060
Add quantile aggregator plugin (#8594) 2021-02-17 15:22:33 -07:00
dependabot[bot] 5606a9531a
Bump github.com/gopcua/opcua from 0.1.12 to 0.1.13 (#8744)
Bumps [github.com/gopcua/opcua](https://github.com/gopcua/opcua) from 0.1.12 to 0.1.13.
- [Release notes](https://github.com/gopcua/opcua/releases)
- [Changelog](https://github.com/gopcua/opcua/blob/master/.goreleaser.yml)
- [Commits](https://github.com/gopcua/opcua/compare/v0.1.12...v0.1.13)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 17:08:22 -06: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 f2cf447e63
Update go-ping to latest version (#8771) 2021-02-01 15:43:24 -05:00
Sven Rebhan fa16231770
Update grok-library to v1.0.1 with dots and dash-patterns fixed. (#8673) 2021-01-27 13:58:40 -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
dependabot[bot] eb42f11cd6
Bump github.com/nsqio/go-nsq from 1.0.7 to 1.0.8 (#8714)
Bumps [github.com/nsqio/go-nsq](https://github.com/nsqio/go-nsq) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/nsqio/go-nsq/releases)
- [Changelog](https://github.com/nsqio/go-nsq/blob/master/ChangeLog.md)
- [Commits](https://github.com/nsqio/go-nsq/compare/v1.0.7...v1.0.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 14:20:40 -05:00
dependabot[bot] 8d95d3b529
Bump github.com/Shopify/sarama from 1.27.1 to 1.27.2 (#8715)
Bumps [github.com/Shopify/sarama](https://github.com/Shopify/sarama) from 1.27.1 to 1.27.2.
- [Release notes](https://github.com/Shopify/sarama/releases)
- [Changelog](https://github.com/Shopify/sarama/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/sarama/compare/v1.27.1...v1.27.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-21 14:19:35 -05:00
dependabot[bot] 4387b8c2b8
Bump github.com/newrelic/newrelic-telemetry-sdk-go from 0.2.0 to 0.5.1 (#8712)
Bumps [github.com/newrelic/newrelic-telemetry-sdk-go](https://github.com/newrelic/newrelic-telemetry-sdk-go) from 0.2.0 to 0.5.1.
- [Release notes](https://github.com/newrelic/newrelic-telemetry-sdk-go/releases)
- [Changelog](https://github.com/newrelic/newrelic-telemetry-sdk-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/newrelic/newrelic-telemetry-sdk-go/compare/v0.2.0...v0.5.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-19 12:03:06 -05: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
Steven Soroka 7ff96a7424 Revert "Update grok package to support for field names containing '-' and '.' (#8276)"
This reverts commit a5f3121f6d.

(cherry picked from commit 5c826e8a3254dc509012d018638a2e5f41a110f2)
2020-12-16 17:29:41 -05:00
Anthony Arnaud 045c3c18b8
Add prometheus remote write serializer (#8360) 2020-12-16 14:11:05 -05:00
Hong a5f3121f6d
Update grok package to support for field names containing '-' and '.' (#8276) 2020-12-02 13:11:35 -05:00
Karrick McDermott 11b83dbd54
update godirwalk to v1.16.1 (#7987)
1. Most importantly, this version runs on Dragonfly BSD, which might
   be an issue that potential users would care about.

2. Re-issues syscall request after EINTR.

   More resiliant on Go v1.14 and above, where syscall is more likely
   to return syscall.EINTR.

   Also, alongside the place where it would instead call
   golang.org/x/sys/unix, but it is commented out, I include the
   equivalent code for checking for unix.EINTR, to make it less likely
   that I forget to change the EINTR check if I ever convert it to use
   golang.org/x/sys/unix rather than syscall.

3. Performance improvements for unix and Windows.

Co-authored-by: Karrick S. McDermott <karrick@karrick.dev>
2020-11-27 11:56:17 -05:00
Vipin Menon d536f610cd
Support Riemann-Protobuff Listener (#8163) 2020-11-27 11:30:45 -05:00
Roy Lenferink 521caf3995
Update mdlayher/apcupsd dependency (#8444) 2020-11-20 13:54:56 -05:00
reimda 73b2f988c4
Update jwt-go module to address CVE-2020-26160 (#8337) 2020-11-02 09:07:37 -07: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 a6a63fddab go mod tidy 2020-10-16 15:06:49 -04:00
piotrwest 7c2c2c5d8b
Add the Timestream Output Plugin (#8239)
Co-authored-by: Piotr Westfalewicz <westpiot@amazon.com>
2020-10-15 13:51:17 -04:00
Steven Soroka b1b776f1e5
update to go 1.15 (#8220) 2020-10-07 14:51:49 -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 5f02c69da5
New input plugin for Intel RDT (Intel Resource Director Technology) (#8150)
Co-authored-by: Trojan, Kuba <kuba.trojan@intel.com>
2020-10-01 16:49:09 -04:00
reimda b8717730b7
update gopsutil: fix procstat performance regression (#8210) 2020-10-01 15:54:13 -04:00
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Yoofi Quansah 2332e28802
feat: add functionality to get values from redis commands (#8196) 2020-09-30 12:36:45 -04:00
Josh Bonello 06c62f263c
Implement AWS CloudWatch Input Plugin ListMetrics API calls to use Active Metric Filter (#7894) 2020-09-29 16:31:38 -06:00
Steven Soroka a475d765fb
add json parsing support to starlark (#8168) 2020-09-29 17:37:54 -04:00
Chris Hayles 160e1d11c7
Add OPC UA input plugin (#8009) 2020-09-02 16:52:46 -06:00
Sven Rebhan 895d04df75
Update gopsutils to v.2.20.7 (#8073)
Also update to the specific version of golang.org/x/sys that gopsutils requires.
2020-09-02 13:44:14 -06:00
effITient c0ab96586d
Proxmox plugin (#7922) 2020-08-12 12:26:38 -04:00
Daniel Nelson be77fbab31
Support utf-16 in file and tail inputs (#7792) 2020-07-07 12:43:32 -07:00
Daniel Nelson 9d5ac9b0f5
Update github.com/tidwall/gjson (#7756) 2020-06-29 10:03:27 -07:00
Steven Soroka 9190f2e659
reverse dns lookup processor (#7639) 2020-06-26 18:40:05 -04:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00
Daniel Nelson 347065a4a3
Fix race issue in tick_test.go (#7663) 2020-06-11 10:09:19 -07:00
Daniel Nelson 894841a723
Update to github.com/shirou/gopsutil v2.20.5 (#7641) 2020-06-08 13:25:59 -07:00
kauppine 36316ee8f2
Add SNMPv3 trap support to snmp_trap input plugin (#7294)
Extend snmp_trap input plugin to support SNMPv3 traps. MD5 and SHA1 authentication protocols are supported, and DES, AES, AES192, AES256, AES192c and AES256c privacy protocols are supported.
2020-06-04 15:19:47 -06:00
hsinghkalsi 580ac61cf7
Add newrelic output plugin (#7019) 2020-05-27 11:24:49 -07:00
Daniel Nelson a4459bd57a
Use updated clock package to resolve test failures (#7516) 2020-05-21 23:39:37 -07:00
Daniel Nelson fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks (#7390) 2020-05-06 11:59:16 -07:00