Sebastian Spaink
5843b27d75
Update procstat to support cgroup globs & include systemd unit children (Copy of #7890 ) ( #9488 )
2021-07-27 16:51:56 -05:00
Sven Rebhan
80829b3b5a
Fix attempt to connect to an empty list of servers. ( #9503 )
2021-07-27 15:39:43 -06:00
Roger Coll Aumatell
837eb31b3f
Suricata alerts ( #9322 )
2021-07-27 16:31:24 -05:00
Paweł Żak
87c94e4ac3
Linter fixes for plugins/inputs/[fg]* ( #9387 )
2021-07-27 15:28:26 -06:00
Martin Molnar
1a42c7d289
For Prometheus Input add ability to query Consul Service catalog ( #5464 )
2021-07-27 17:23:01 -04:00
bhsu-ms
27b98083f4
Change the timeout from all queries to per query ( #9471 )
2021-07-27 16:14:49 -05:00
Raphael Yu
51720f3bd7
Attach the pod labels to the `kubernetes_pod_volume` & `kubernetes_pod_network` metrics. ( #9438 )
2021-07-27 17:13:12 -04:00
Dominik Rosiek
348c18db75
feat(http_listener_v2): allows multiple paths and add path_tag ( #9529 )
2021-07-27 16:10:50 -05:00
Mark Wilkinson - m82labs
57ecd1d21b
Worktable workfile stats ( #8587 )
2021-07-26 20:55:03 -05:00
Sven Rebhan
754b7ff4c1
Example input plugin ( #9409 )
2021-07-26 12:36:09 -05:00
Alexander Krantz
32d4234ae4
Prevent x509_cert from hanging on UDP connection ( #9323 )
2021-07-22 17:44:36 -07:00
Alexander Krantz
cae338814b
Switch MongoDB libraries ( #9493 )
2021-07-22 14:50:23 -06:00
Imran Ismail
8965291f29
Fix prometheus cadvisor authentication ( #9497 )
2021-07-20 17:08:29 -04:00
Mya
ff8ed37762
fixed percentiles not being able to be ints ( #9447 )
2021-07-19 08:53:07 -06:00
Jacob Hochstetler
4591c62cfc
Http plugin add cookie auth ( #9395 )
2021-07-13 15:58:49 -06:00
Madhushree Sreenivasa
2267733a04
Provide detailed error message in telegraf log ( #9466 )
2021-07-13 15:08:41 -06:00
Russ Savage
55a27bb62d
chore: fixing link in influxdb_listener plugin ( #9431 )
2021-07-09 21:24:44 -05:00
Andre Nathan
59e79fa8d4
Allow multiple keys when parsing cgroups ( #8108 )
2021-07-08 16:54:22 -04:00
Mat Wood
f69b37b759
Adding RFC3164 support to inputs.syslog ( #8454 )
2021-07-08 14:39:46 -06:00
reimda
537ac63c68
Sqlserver input: require authentication method to be specified ( #9388 )
2021-07-07 13:09:52 -06:00
Dmitry Alimov
285cae2b64
Fix typo in perDeviceIncludeDeprecationWarning ( #9442 )
2021-07-06 17:04:06 -04:00
Alexander Krantz
a0ec75a62b
Fix segfault in kube_inventory ( #9456 )
2021-07-06 13:57:52 -06:00
Alexander Krantz
17e86ab4ca
Add include_nodes filter for jenkins ( #9351 )
2021-07-01 14:54:53 -06:00
Alexander Krantz
e0ac5078bb
Fix Couchbase regression ( #9448 )
2021-07-01 14:50:35 -06:00
Niek Bruins
9b22161d92
Fix nil pointer error in knx_listener ( #9444 )
2021-07-01 14:42:48 -06:00
Sven Rebhan
e2ab2188db
Fix RabbitMQ regression in #9383 ( #9443 )
2021-06-29 16:01:46 -05:00
Sven Rebhan
e4bd01e0c7
Exclude read-timeout from being an error ( #9429 )
2021-06-24 14:50:24 -06:00
Brian Lamar
c6c3efdb97
Don't stop parsing after statsd parsing error ( #9423 )
2021-06-24 14:43:23 -06:00
Russ Savage
314bc0ff7f
chore: readme updates ( #9367 )
2021-06-23 11:26:13 -05:00
Mya
b846c5069d
added a check for oid and name to prevent empty metrics ( #9366 )
2021-06-22 15:59:02 -05:00
Sven Rebhan
d63a7010d9
Fix messing up the 'source' tag for https sources. ( #9400 )
2021-06-22 13:45:03 -05:00
Jarno Huuskonen
ac9bf5a0ec
Fix x509_cert input plugin SNI support ( #9289 )
2021-06-22 11:41:45 -05:00
Leandro Piccilli
81f882a271
Add Elasticsearch query input plugin ( #3536 )
2021-06-21 16:35:26 -05:00
Jörg Thalheim
cf616939f1
kube_inventory: expand tls key/tls certificate documentation ( #9357 )
2021-06-21 11:56:16 -05:00
Jack Henschel
5f6c37bb86
Adjust link to ceph documentation ( #9378 )
2021-06-21 10:50:19 -05:00
Paweł Żak
9a794919e3
Linter fixes for plugins/inputs/[de]* ( #9379 )
2021-06-21 10:07:52 -05:00
Mya
28fbdd8fba
Use gosmi for SNMP traps ( #9343 )
...
Use gosmi for snmp_trap plugin
Co-authored-by: Logan McNaughton <logan@bacoosta.com>
Co-authored-by: reimda <reimda@users.noreply.github.com>
2021-06-16 10:20:33 -06:00
Sven Rebhan
ee0a86c4ae
Fix import of sqlite and ignore it on all platforms that require CGO. ( #9359 )
2021-06-15 16:46:53 -06:00
Alexander Krantz
d7afebf7e6
Fix connecting to the wrong url ( #9329 )
2021-06-15 16:04:22 -05:00
Sven Rebhan
908ad2f6ce
Generic SQL input ( #8735 )
2021-06-15 13:10:52 -06:00
Vyacheslav Stepanov
905b22cac9
Closing all idle connections in docker input plugin ( #9243 )
...
This prevents error "too many open files" in most cases
2021-06-14 23:23:39 -05:00
Sebastian Spaink
1d4b8d62f5
Support new Suricata JSON format which includes arrays and strings ( #9338 )
2021-06-14 10:07:36 -05:00
Mya Longmire
f6a9d104f8
Feature powermode smartctl ( #9306 )
...
Co-authored-by: Steven Soroka <ssoroka@influxdata.com>
2021-06-10 15:51:33 -05:00
Pascal Zimmermann
3ad40df311
Update pgx to v4 ( #9182 )
2021-06-02 21:28:16 -06:00
Sven Rebhan
2e7b232073
Modbus refactor ( #9141 )
2021-05-27 16:58:46 -04:00
Russ Savage
467ab87912
chore: update prometheus input readme to match config options ( #9270 )
2021-05-25 15:11:14 -06:00
Samantha Wang
8eec159871
update HTTP v2 listener readme ( #9250 )
2021-05-20 16:48:12 -06:00
Chris Dagenais
60bb676730
vSphere input: need to be able to configure the historical interval duration ( #9276 )
2021-05-20 13:50:40 -07:00
Victor Marinsky
0e55eedd7e
Improve eventhub_consumer input documentation ( #8731 )
2021-05-20 16:37:01 -04:00
Rajiv Kushwaha
8c73370e50
inputs.ping: Add an option to specify packet size ( #9274 )
2021-05-20 14:21:20 -05:00
Russ Savage
e8ae01921b
Set user agent when scraping prom metrics ( #9271 )
2021-05-20 08:36:36 -06:00
Giovanni Luisotto
ae7d31996b
SQL Server - SQL Requests - added s.[login_name] ( #8351 )
2021-05-13 23:59:02 -05:00
Erikas
760ad3e366
Update kafka.conf ( #9263 )
2021-05-13 16:36:46 -04:00
Sebastian Spaink
5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp ( #9203 )
2021-05-13 15:00:57 -05:00
maxuntr
741e3884e6
Kinesis_consumer input plugin - fix repeating parser error ( #9169 )
2021-05-11 17:16:58 -04:00
Giovanni Luisotto
8b9883e2ec
SQL Server - sqlServerRingBufferCPU - removed whitespaces ( #9130 )
...
### Required for all PRs:
- [ ] Updated associated README.md.
- [ ] Wrote appropriate unit tests.
Removed a pair of whitespace chars from the **sqlServerRingBufferCPU** SQL statement and added some formatting.
This query exists only for the on-prem version of SQL Server (`database_type = "SQLServer"`)
If you were unlucky enough to have some SQL 2008 the query wouldn't work as the whitespace char is not allowed inside the statement.
2021-05-11 16:08:25 -05:00
Josef Johansson
537bc9d21d
plugins/inputs/dovecot: Add support for unix domain sockets ( #9223 )
...
It's safer for dovecot to export metrics via a UDS instead of tcp port,
this will add support for that option.
### Required for all PRs:
<!-- Complete the tasks in the following list. Change [ ] to [x] to
show completion. -->
- [x] Updated associated README.md.
- [x] Wrote appropriate unit tests.
resolves #9215
dovecot: Add support for unix domain sockets as well
2021-05-04 16:09:55 -05:00
Sebastian Spaink
175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs ( #9235 )
2021-05-04 11:15:47 -05:00
Adam Dobrawy
26e791f1c8
Add docs for docker-compose labels in docker input ( #9173 )
2021-05-03 16:15:35 -04:00
SomKen
09faa32043
Document using group membership to allow access to /dev/pf for pf input plugin ( #9232 )
2021-05-03 13:35:04 -06:00
Jacob Marble
6977121aed
OpenTelemetry Input Plugin ( #9077 )
2021-04-30 10:36:48 -04:00
i-prudnikov
e3ae7caaf0
Fix for #9135 ( #9156 )
2021-04-29 11:06:36 -05:00
Paweł Żak
ff2992ed21
New DPDK input plugin ( #8883 )
2021-04-28 09:54:22 -06:00
David Bennett
d181b4338f
Fix apcupsd 'ALARMDEL' bug via forked repo ( #9195 )
...
* add oauth2 to http input
* switch APC UPSD dependency to forked version with bug fixed.
* fix branch discrepancies
* fix branch discrepancies
* fix branch discrepancies
* fix branch discrepancies
* fork to influxdata repo
2021-04-28 09:43:19 -04:00
Paweł Żak
1fabc5f1fe
Linter fixes for plugins/inputs/[c]* ( #9194 )
...
* Linter fixes for plugins/inputs/[c]*
* Linter fixes for plugins/inputs/[c]*
Co-authored-by: Pawel Zak <Pawel Zak>
2021-04-27 20:41:52 -05:00
Paweł Żak
e058f3641c
Linter fixes for plugins/inputs/[ab]* ( #9191 )
2021-04-26 15:57:05 -05: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
Sven Rebhan
03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 ( #9122 )
2021-04-22 16:08:03 -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
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
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
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
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
Sven Rebhan
8e7da355b3
Linter fixes (unhandled errors) -- Part 1 ( #8992 )
2021-04-08 11:43:39 -05: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
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
Mattias Jiderhamn
871447b22c
input/sqlserver: Add service and save connection pools ( #8596 )
2021-03-29 11:22:36 -04:00
Paweł Żak
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04:00
Samantha Wang
5423e7a049
update: inputs.sqlserver support version in readme ( #9040 )
2021-03-24 13:42:58 -07: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
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
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