Commit Graph

5533 Commits

Author SHA1 Message Date
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
Paweł Żak e058f3641c
Linter fixes for plugins/inputs/[ab]* (#9191) 2021-04-26 15:57:05 -05:00
machinly 83e7c3ec6a
add dnsmasq plugin in external plugin (#9187) 2021-04-26 15:24:15 -04:00
David Bennett 9ff3fe5aa4
Parallelize PR builds by Architecture (#9172)
* add oauth2 to http input

* stuff

* Updated config.yml

* Update README.md

* Update http_test.go

* Update Makefile

* Updated config.yml

* Update http_test.go

* Update http.go

* Update http.go

* Update http.go

* Update http.go

* Updated config.yml
2021-04-26 09:18:58 -04:00
David Bennett 8bb388584d
Add OAuth2 to HTTP input (#9138)
* add oauth2 to http input

* linter fixes

* add http config to common plugin

* address linter changes

* Update README.md

* add log for user if fields are missing

* add correct logger

* alter output plugin as well

* fix formatting

* add oauth2 separate package

* fix package naming

* remove unnecessary logger
2021-04-23 09:37:27 -04:00
Samantha Wang 1bc87ccc3c
Move wiki information to docs (#9126) 2021-04-22 16:51:21 -07:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Nicolas Filotto 4d00e21630
Add time.star and math.star to Starlark readme lib section (#9167) 2021-04-21 12:16:02 -07:00
David Bennett ad942052f0
Speed up package step by running in parallel. (#9096)
* test

* more test

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Update Makefile

* Update Makefile

* Update Makefile

* Update Makefile

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml
2021-04-21 13:32:34 -04: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
Julien Riou 4336dae3b5
Make JSON format compatible with nulls (#9110) 2021-04-20 17:47:14 -04:00
David Bennett e29bca7419
Add Glob / Wildcard support to Cloudwatch input for 'Dimensions' configuration (#9136)
I believe this will resolve #4046
2021-04-20 16:29:58 -05:00
Samantha Wang 243488c266
add starlark current timestamp example 2021-04-20 14:26:15 -07:00
Steven Soroka 1cfe8da93f
clarify pollIntervalDisabled message (#9158)
closes  #9155
2021-04-20 11:24:24 -04:00
reimda 916ac99675
Add doc on supported platforms (#9100) 2021-04-19 16:21:06 -06:00
David Bennett da5991d16c
Add time.now() starlark processor example test. (#9133) 2021-04-19 11:14:53 -04:00
Sebastian Spaink 9d163f6a83
Fix CI config to check if branch is master before skipping (#9140)
Related to: https://github.com/influxdata/telegraf/pull/9076

In order to support skipping a job depending on file changes, only works on non-master branches. This pull requests updates the config to check the current branch.
2021-04-16 16:24:50 -05:00
David Bennett 1a86fd1a2d
Config Option to Enable Logging with Local Time (#9123)
* Configurable local time logging

* make timezone configurable

* Address linter feedback.

* update with example
2021-04-16 14:39:19 -04:00
Sebastian Spaink e9a69a0c6b
Only run CI for certain file changes (#9076)
Updated circle-ci config to check for certain patterns in the latest commit to see if the jobs should run. Credit to this blog post for the idea: https://dev.to/acro5piano/exit-circleci-jobs-if-changed-files-do-not-match-specific-pattern-mel
2021-04-16 13:35:13 -05:00
Gennady e5b7a094da
Gather all mysql channels (#5517) 2021-04-14 14:13:32 -05:00
Wilfried OLLIVIER 1fa9259392
Fix: sync nfsclient ops map with nfsclient struct (#9128) 2021-04-14 13:43:07 -05:00
Helen Weller 91690803d6
Add custom docker image info to nvidia plugin (#9124) 2021-04-14 09:48:56 -04:00
Thomas Casteleyn 4b2e2c5263
Log snmpv3 auth failures (#8917) 2021-04-13 17:46:34 -04:00
Tuan Nguyen Huy 7cbde183de
Support float64 in enum processor (#8911) 2021-04-13 17:31:07 -04:00
Dominic Tootell f3229f5ec1
Change to NewStreamParser to accept larger inputs from scanner (#8892)
* change to NewStreamParser to accept larger inputs from scanner

* fmt changes
2021-04-13 17:13:46 -04:00
Pontus Rydin 5f26582582
Added MetricLookback setting (#9045)
* Added MetricLookback setting

* Fixed go mod issue
2021-04-13 16:07:54 -05:00
Helen Weller 66e12e062d
remove deprecation warning (#9125) 2021-04-13 16:13:06 -04:00
David Bennett 842a788022
Remove error return type from metric.New method (#9116)
* Remove error return type from metric.New method.

* Formatting changes for linter + gofmt

* Additional linter fixes.

* More linter fixes.

* Linter fix.

* address comments
2021-04-13 14:40:03 -04:00
Samantha Wang 411df7d763
update promremotewrite readme
make influxdb 1.x alignment a header
2021-04-13 08:04:10 -07:00
R290 114e4c2f68
Fix opcua integration test (#9107) 2021-04-09 14:23:32 -04:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Nicolas Filotto c66ccee46f
Allow to specify nanoseconds to timestamp in Starlark Processor (#9105) 2021-04-08 14:02:29 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Patryk Małek 2b41a1e1f4
Carbon2 serializer: sanitize metric name (#9026) 2021-04-08 10:31:31 -04:00
David Reimschussel f0c85492c3 Update changelog
(cherry picked from commit dc4fa5dd9aa5876b6ba5022aab3d5453fecc7b2b)
2021-04-07 13:19:36 -06:00
David Bennett 14f428d2fd
Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater) (#9082)
* Add ability to handle 'binary logs' mySQL query with 3 columns, in case 3 columns are sent (MySQL 8 and greater)

* Update mysql.go

* Update mysql.go
2021-04-06 17:45:36 -04:00
David Bennett ef2def20dc
Delete log.Fatal calls and replace with error returns. (#9086)
* Delete log.Fatal calls and replace with error returns.

* Update opcua_util.go

* Update opcua_util.go
2021-04-06 17:35:54 -04:00
David Bennett 868befcb5f
Add support for Logstash 7 'queue' stats from the Pipelines API (#9080)
* LAdd support for logstash 7 'queue' stats for its pipelines stats API

* appease the linter

* Update samples_logstash7.go
2021-04-06 17:33:35 -04:00
Sven Rebhan 5524acfb78
Remove deprecated and unused SetAggregate() and IsAggregate() functions. (#8994) 2021-04-06 10:14:06 -06:00
LEDUNOIS Simon 0b0fc087c4
feat: Add external Big blue button plugin (#9090) 2021-04-05 14:07:02 -05:00
Helen Weller 885bf273a9
Starlark script for renaming prometheus remote write metrics (#9074) 2021-03-31 15:08:34 -04:00
David Bennett 78d67ba87b
Add configurable option for the 'path' tag override in the Tail plugin. (#9069)
* Add configurable option for the 'path' tag override in the Tail plugin.

* get test cases to pass

* update default config

* convert to configurable string field
2021-03-31 12:06:13 -04:00
Sebastian Spaink 071fef78ef
inputs.nfsclient: use uint64, also update error handling (#9067)
* Use uint64
Fix error handling

* update comment

* More detail to error
2021-03-30 21:43:08 -05:00
Thomas Casteleyn 66c639668c
Fix inputs.snmp init when no mibs installed (#9050) 2021-03-30 13:08:14 -06:00
Steven Soroka 9c54c8e233
new linter commands (#9020) 2021-03-30 13:11:31 -05:00
Sebastian Spaink 7d665904fc
inputs.ping: Always SetPrivileged(true) in native mode (#9072)
* Always SetPrivileged(true)

* Improve error message
2021-03-30 13:08:54 -05:00
David Bennett 470628e5db
Add ~200 more Couchbase metrics via Buckets endpoint (#9032)
* Couchbase new metrics for buckets

* updated

* update to simplify two different modes.

* cleanup code

* linter telling me to fix things I didn't do

* add include/exclude filter

* update sample config

* appease the linter

* Update README.md

* make all metrics configurable, defaults as just 'basic bucket metrics'

* check error in test
2021-03-30 11:17:58 -04:00
Thomas Casteleyn ffe92a7658
Don't walk the entire interface table to just retrieve one field (#9043) 2021-03-29 17:05:19 -06:00