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 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
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
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
Mattias Jiderhamn
871447b22c
input/sqlserver: Add service and save connection pools ( #8596 )
2021-03-29 11:22:36 -04:00
Steven Soroka
e6165ecd18
readme fix ( #9064 )
...
closes #9060
2021-03-29 10:40:28 -04:00
peter-volkov
61ea585533
use correct compute metadata url to get folder-id ( #9056 )
2021-03-26 13:27:53 -04:00
i-prudnikov
fdde9084c1
AWS Cloudwatch log output ( #8639 )
...
* Cloudwatch log output
* Fixes based on @sspaink review
* Make linter happy
* iMake LGTM happy, add new tests
2021-03-26 11:02:42 -05:00
Helen Weller
565336280a
moved samara config out of init into connect ( #9051 )
2021-03-25 18:06:03 -04:00
Samantha Wang
f26084acf1
add xpath testers to xml readme ( #9049 )
...
* add xpath testers to xml readme
* fix linking
2021-03-25 13:15:33 -07:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04: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
David Bennett
e4bbcc447d
Handle error when initializing the auth object in Azure Monitor output plugin. ( #9048 )
2021-03-25 09:20:41 -04:00
Samantha Wang
5423e7a049
update: inputs.sqlserver support version in readme ( #9040 )
2021-03-24 13:42:58 -07:00
Nicolas Filotto
991efd5e12
Add the math module to the Starlark Processor ( #9042 )
2021-03-24 14:51:15 -04:00
Jeff Ashton
8564d928df
Simplifying the kinesis output tests ( #8970 )
2021-03-24 14:29:22 -04: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
Paweł Żak
5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter ( #9036 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Cláudio Silva
9aaaf72a96
SQLServer - Fixes sqlserver_process_cpu calculation ( #8549 )
2021-03-23 17:45:27 -04:00
jaroug
b2b361356e
Wildcard support for x509_cert files ( #6952 )
...
* 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>
2021-03-23 17:31:15 -04:00
Nicolas Filotto
f267f342ae
Add support of the time module in Starlark Processor ( #9004 )
2021-03-23 13:45:29 -04:00
Helen Weller
f4a51a4c33
Fix ipmi panic ( #9035 )
2021-03-23 10:09:51 -04:00
Aladex
dc8e4ef62e
check for length of perusage for stat gathering and removed not used function ( #9009 )
2021-03-22 15:01:25 -04:00
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
Kodai Sakabe
30c933cd68
Update README.md ( #9016 )
2021-03-18 16:42:06 -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
Samantha Wang
d5f79093f4
update bigquery readme ( #9017 )
2021-03-18 12:30:24 -07:00
Peter (Stig) Edwards
67e8d766c5
Add a starlark example showing how to obtain IOPS ( #8996 )
2021-03-18 11:39:29 -04:00
Helen Weller
67f588cbce
New prometheus remote write parser ( #8967 )
2021-03-18 11:33:58 -04: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
Sven Rebhan
808b7c1ba5
Improve xml parser's handling of missing values ( #8971 )
2021-03-16 16:15:18 -04:00
Daniel Moran
1b09a9f3dc
chore: remove references to outdated InfluxDB settings. ( #8754 )
2021-03-16 16:02:59 -04:00
Rene Kaufmann
4e9bc06eb2
nats_output: use the configured credentials file ( #8986 )
2021-03-15 11:09:10 -05: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
gkatzioura
5085f595ac
Bigquery output Plugin ( #8634 )
2021-03-12 12:16:45 -05: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
Steven Soroka
b263c1fedf
accurate state documentation for Starlark
2021-03-11 16:35:26 -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
Jeff Ashton
06e97756c8
Writing unit tests for Kinesis output plugin Write method ( #8930 )
2021-03-10 11:39:09 -05:00
Todd Campbell
ed468f4aa7
Fix output name to match directory name for sensu output plugin ( #8960 )
...
Signed-off-by: Todd Campbell <todd@sensu.io>
2021-03-09 14:39:57 -08:00
Samantha Wang
60e86a914b
New plugins readme cleanup ( #8956 )
...
* New plugins readme cleanup
* update signalfx output readme
2021-03-09 12:21:46 -08:00
Sam Dillard
380911ffb3
Add Starlark parsing example of nested JSON ( #8675 )
...
* Add Starlark parsing example of nested JSON
* add correct Example Input and Output fields to make script testable
* removed logging from script
* remove logging.star load statement
2021-03-09 10:24:57 -06: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
Helen Weller
372004a993
Fix max open requests to one if idempotent writes is set to true ( #8954 )
2021-03-08 11:38:35 -05: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
Peter (Stig) Edwards
1b7f445ee5
Correct Q+A about state ( #8918 )
2021-03-05 10:25:45 -05:00
Sam Dillard
858bcd4bba
Add field key length output by field type in schema_sizing Starlark script ( #8934 )
2021-03-05 10:20:24 -05: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
reimda
431d06acc0
Add XML parser using XPath queries ( #8931 )
2021-03-03 13:26:09 -07: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
Karsten Schnitter
927d34f66c
Add Derivative Aggregator Plugin ( #3762 )
...
Calculate derivatives based on time or fields.
2021-03-03 14:33:21 -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
Caleb Hailey
cc61251cc9
Sensu Go Output Plugin for Telegraf ( #8398 )
2021-03-03 13:56:42 -05:00
Jeff Ashton
d50a52ff2f
Switching kinesis output plugin to use telegraf.Logger ( #8929 )
2021-03-03 09:49:05 -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
Sam Dillard
30a0fd04cd
Add Starlark script for estimating Line Protocol cardinality ( #8852 )
2021-03-02 16:55:27 -05:00
Thomas Schuetz
15d45ec0bf
Dynatrace Plugin: Make conversion to counters possible / Changed large bulk handling ( #8397 )
2021-03-02 15:55:38 -05:00
Labesse Kévin
c17cc8cabb
plugin: output loki ( #8450 )
2021-03-02 15:48:48 -05:00
Avinash Nigam
cf9ae34d03
SqlServer - fix for default server list ( #8655 )
2021-03-02 14:55:28 -05:00
Jason Kim (Jun Chul Kim)
9075ae5175
Add MessagePack output data format ( #8828 )
2021-03-02 14:48:58 -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
Jeff Ashton
a65a3052a9
outputs.kinesis - log record error count ( #8817 )
2021-03-01 10:56:17 -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