Commit Graph

91 Commits

Author SHA1 Message Date
Sebastian Spaink 5256f916eb
Make microsoft lowercase (#9209) 2021-04-27 17:01:45 -05:00
Helen Weller 56a2df9ec8
upgrade gogo protobuf to v1.3.2 (#9190) 2021-04-27 11:32:46 -04:00
Helen Weller fe352db590
Remote write compliance updates (#9196) 2021-04-27 11:01:28 -04:00
Sebastian Spaink 598990b469
Private linter for Telegraf (#9168)
* Custom linter

* Telegraf private linter

Co-authored-by: Bas <3441183+BattleBas@users.noreply.github.com>
2021-04-26 16:12:58 -05:00
Avinash Nigam f39d68d1fa
SQL Server input plugin - Enable Azure Active Directory (AAD) authentication support (#8822)
### Required for all PRs:

- [ ] Associated README.md updated.
- [ ] Has appropriate unit tests.

Associated to feature request - [Azure Active Directory (AAD) authentication support in SQL Server input plugin](https://github.com/influxdata/telegraf/issues/8808#issue-801695311)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-04-21 11:02:07 -05:00
Thomas Casteleyn 4b2e2c5263
Log snmpv3 auth failures (#8917) 2021-04-13 17:46:34 -04:00
Nicolas Filotto c66ccee46f
Allow to specify nanoseconds to timestamp in Starlark Processor (#9105) 2021-04-08 14:02:29 -04:00
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
dependabot[bot] d5b4c3e148
Bump github.com/Azure/go-autorest/autorest/azure/auth from 0.4.2 to 0.5.6 (#8746)
* Bump github.com/Azure/go-autorest/autorest/azure/auth

Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.2 to 0.5.6.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/azure/cli/v0.4.2...autorest/azure/auth/v0.5.6)

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

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-25 12:07:21 -05:00
Patryk Małek e96955d1bb
Bump prometheus dependency to v2.21.0 (#8795)
* Bump prometheus dependency to v2.21.0

* Make golangci-lint happy
2021-03-25 11:18:50 -05:00
dependabot[bot] d8b28bc609
Bump collectd.org from 0.3.0 to 0.5.0 (#8745)
* Bump collectd.org from 0.3.0 to 0.5.0

Bumps [collectd.org](https://github.com/collectd/go-collectd) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/collectd/go-collectd/releases)
- [Commits](https://github.com/collectd/go-collectd/compare/v0.3.0...v0.5.0)

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

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-24 17:26:02 -05:00
dependabot[bot] 7c00fb1207
Bump github.com/nats-io/nats.go from 1.9.1 to 1.10.0 (#8716)
Bumps [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) from 1.9.1 to 1.10.0.
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](https://github.com/nats-io/nats.go/compare/v1.9.1...v1.10.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 15:49:23 -05:00
Sebastian Spaink 29ac77906d
Change duplicate kubernetes import and update protobuf to v1.5.1 (#9039)
* Change import and update protobuf

* fix check-deps

* go mod tidy

* keep imports consistent
2021-03-24 10:59:05 -05:00
Nicolas Filotto f267f342ae
Add support of the time module in Starlark Processor (#9004) 2021-03-23 13:45:29 -04:00
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
gkatzioura 5085f595ac
Bigquery output Plugin (#8634) 2021-03-12 12:16:45 -05:00
Sebastian Spaink f32230259c
Update to 1.16.1 (#8978) 2021-03-11 19:05:50 -06:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Sebastian Spaink 3af16aa885
Support Go version 1.16 (#8882)
* Support 1.16

* Use 1.16 in mod file

* update go.sum

* update go.mod after updating to 1.16 locally

* Fix go vet

* Remove exit

* Use require.NoError

* Only run tidy explicitly in "dep" job

* install 1.16 for go

* typo

* update xcode

* specific version not working

* Get 1.16 go formula

* Change brew call

* brew update

* typo

* Resolve go.sum conflict

* go mod tidy
2021-03-08 16:29:11 -06: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
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