Commit Graph

2152 Commits

Author SHA1 Message Date
Paweł Żak 74a1acd814
Linter fixes - revive:unused-parameter, unparam, varcheck and unused (#8984)
* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* Linter fixes - revive:unused-parameter and unparam

* "nolint"'s removed

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

* Fixes for "varcheck" and "unused" added.

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-22 12:21:36 -05:00
Steven Soroka 4dcc3c0ad7
exec plugins should not truncate messages in debug mode (#8333) 2021-03-18 17:21:30 -04:00
Dominic Tootell 30830c2ec2
Add content_encoding option to kinesis_consumer input (#8891) 2021-03-18 14:43:39 -06:00
Helen Weller cc6c51cf16
Adds snappy support for http_listener_v2 (#8966) 2021-03-18 11:33:14 -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
Felix Moessbauer 927612a0a7
fix segfaults in sflow plugin by checking if protocol headers are set (#8995) 2021-03-17 15:42:35 -04:00
Shangxin Du f5552944d1
cisco_telemetry_mdt enhancement (#8661) 2021-03-16 17:49:07 -04:00
Denis Pershin 8a47d6f104
Add top stat info to mongodb plugin (#8861)
* Add top stat info

* fixes after review

* fix README.md
2021-03-16 15:54:57 -05:00
Josh Keegan c4a126073c
Teamspeak input plugin query clients (#8950)
* Add query_clients_online to the teamspeak input plugin

* Update readme for teamspeak input plugin following introduction of new query_clients_online field
2021-03-16 15:48:19 -05:00
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
David Bennett c905116ade
Add 'field name' config option to customize field name when using Value parser. (#8979) 2021-03-11 21:53:32 -05:00
helenosheaa 94d441c488 Merge branch 'master' of github.com:influxdata/telegraf 2021-03-11 16:21:03 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -05:00
Connor Quagliana 30e189df16
Add an optional health metric for the sqlserver input plugin (#8544) 2021-03-11 16:07:38 -05:00
Madhushree Sreenivasa 35b75e959c
Filter data out from system databases for Azure SQL DB only (#8849)
* Excluding data from system databases like msdb,model which are not
relevant for monitoring in Azure SQL

Please enter the commit message for your changes. Lines starting

* Addressing review comments to handle null scenarios
2021-03-11 15:04:09 -06:00
Steven Soroka 7726f94621 fix ping tests 2021-03-10 16:55:59 -05:00
Steven Soroka 7651651867 add more logging to ping plugin 2021-03-10 12:11:19 -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
Samantha Wang 188163c1e7
NFS Client input plugin README cleanup (#8943)
* NFS Client input plugin README cleanup

* reorder
2021-03-08 09:52:57 -08: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
Paul Choi aabec054a7
Set $HOSTIP in default URL (#8721)
Telegraf daemonset pod cannot contact kube-apiserver via localhost.
Should be `$HOSTIP`, and the default port is 6443.

Co-authored-by: Paul Choi <pchoi@apple.com>
2021-03-05 11:30:45 -06:00
Pmoranga 74d4836c25
Nfsclient input: (Reopen of PR 1491 and 1684) (#4615) 2021-03-05 09:56:28 -05:00
Russ Savage 9e45322661
chore: update docs link in influxdbv2listener (#8939)
* chore: update docs link in influxdbv2listener

* chore: one more update to use latest
2021-03-04 16:02:12 -06:00
Russ Savage 9b3bd86d6d
fix: Beat readme title (#8938) 2021-03-04 16:01:43 -06:00
David Bennett cfc5300ee2
Get Tail tests to pass on windows (#8927)
* fix tests

* Update tail_test.go
2021-03-04 14:37:57 -05:00
Russ Savage d85a3637d5
chore: update csgo readme title (#8933) 2021-03-04 11:28:05 -05:00
Paweł Żak 17efd172b7
Clearing LGTM alerts and warnings (#8923) 2021-03-03 14:56:31 -05:00
Marcin Lewandowski 5e3d7b8a16
Input plugin for RavenDB (#8834) 2021-03-03 14:37:06 -05:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
Andrés Álvarez 786dca2d5e
[plugins/input/docker] Make perdevice affect also cpu and add class granularity through perdevice_include/total_include (#7312) 2021-03-03 14:02:04 -05:00
reimda 851136f16c
Add PPID field to procstat input plugin (#8887) 2021-03-02 21:42:06 -07:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Avinash Nigam cf9ae34d03
SqlServer - fix for default server list (#8655) 2021-03-02 14:55:28 -05:00
Patrick Koenig 6bc731be92
Use consistent container name in docker input plugin (#8703) 2021-03-02 14:19:08 -05:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00
Avinash Nigam b362ee4665
Bug Fix - SQL Server HADR queries for SQL Versions (#8833) 2021-02-26 13:59:29 -05:00
David Bennett accf91305f
add proxy (#8915) 2021-02-26 13:58:28 -05:00
Antonio Garcia 7ed98c7e5c
fix: reading multiple holding registers in modbus input plugin (#8628) 2021-02-26 11:45:33 -05:00
Niels Huylebroeck e1a896ca12
Non systemd support with unittest (#8785) 2021-02-26 10:42:46 -05:00
David Bennett 25aa0eeb21
Fix statsd concurrency bug (#8885)
* Fix the issue

* Remove test I was using for replication

* Accidentally removed test.

* Add lock only where it is necessary.

* eliminate unnecessary space
2021-02-25 17:17:46 -05:00
Thomas Casteleyn 47e12d1981
Support more snmpv3 authentication protocols (#8850) 2021-02-24 11:44:53 -07:00
Avinash Nigam 2372db9028
SQL Perfmon counters - synced queries from v2 to all db types (#8393) 2021-02-19 15:59:26 -05:00
Andreas Fuchs b991aab75d
plugins/filestat: Skip missing files (#7316) 2021-02-17 15:50:25 -05:00
sarvanikonda 458f9d1e47
added member_id as tag(as it is a unique value) for redfish plugin and added address of the server when the status is other than 200 for better debugging (#8813) 2021-02-17 11:17:13 -05:00
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* Revive fixes regarding following set of rules:
[rule.if-return]
[rule.increment-decrement]
[rule.var-declaration]
[rule.package-comments]
[rule.receiver-naming]
[rule.unexported-return]
2021-02-16 18:19:50 -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
Sreejith Pp f888136333
Add support for datadog distributions metric (#8179)
* Add support for datadog distributions in statsd

* Parse metric distribution correctly

* Add tests to check distributions are parsed correctly

* Update Statsd plugin Readme with details about Distributions metric

* Refactor metric distribution initialization code

* Update distribution metric interface to replace fields with value

* Refactor statsd distribution metric test code

* Fix go formatting errors

* Add tests to parse only when DataDog Distributions config is enabled

* Add config to enable parsing DataDog Statsd Distributions

* Document use of datadog_distributions config in Readme
2021-02-16 11:50:01 -06:00
viperstars fe16d56a3e
inputs.x509_cert: Fix timeout issue (#8824)
* reproduce timeout issue #8809

* fix timeout issue #8809

* set default timeout to 5s

* closes #8809

Co-authored-by: 彭浩 <penghao@qiyi.com>
2021-02-16 12:11:53 -05:00