### 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>
* 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
* 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
* Accept standard unix glob matching rules
* comply with indentation
* update readme
* move globing expand and url parsing into Init()
* chore: rebase branch on upstream master
* rename refreshFilePaths to expandFilePaths
* expandFilePaths handles '/path/to/*.pem' and 'files:///path/to/*.pem'
* update sample config
* fix: recompile files globing pattern at every gather tic
* add var globFilePathsToUrls to stack files path
* add var globpaths to stack compiled globpath
* rework sourcesToURLs to compile files path and stack them
* rename expandFilePaths to expandFilePathsToUrls
* rework expandFilePathsToUrls to only match compiled globpath
* rework the `Gather` ticker to match globpath at each call
* fix: comply with requested changes
* add specifics regarding relative paths in sample config
* add logger and use it in expandFilePathsToUrls()
* precompile glob for `files://`, `/` and `://`
* fix: update README to match last changes
* fix: comply with last requested changes
* rename expandFilePathsToUrls() to collectCertURLs()
* collectCertURLs() now returns []*url.URL to avoid extra field
globFilePathsToUrls in structure
* update the Gather() ticker accordingly
* fix(windows): do not try to compile glopath for windows path as it's not supposed to be supported by the OS
* fix(ci): apply go fmt
* fix(ci): empty-lines/import-shadowing
Co-authored-by: Anthony LE BERRE <aleberre@vente-privee.com>
* 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>
* 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>
* Add query_clients_online to the teamspeak input plugin
* Update readme for teamspeak input plugin following introduction of new query_clients_online field
* 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
* 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
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>
* Fix the issue
* Remove test I was using for replication
* Accidentally removed test.
* Add lock only where it is necessary.
* eliminate unnecessary space
* 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]
* 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
* 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
* improve mntr regex to match user specific keys.
* Update plugins/inputs/zookeeper/zookeeper.go
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
Co-authored-by: guoxu <guoxu@chinatelecom.cn>
Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
* 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