Commit Graph

271 Commits

Author SHA1 Message Date
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
reimda 431d06acc0
Add XML parser using XPath queries (#8931) 2021-03-03 13:26:09 -07:00
oofdog ee09a39de5
Add CSGO SRCDS input plugin (#8525) 2021-03-03 14:05:14 -05:00
David Bennett 600816826d
Adding a new directory monitor input plugin. (#8751) 2021-03-02 17:30:59 -05:00
Jason Kim (Jun Chul Kim) 9075ae5175
Add MessagePack output data format (#8828) 2021-03-02 14:48:58 -05:00
Ben Keith 2cf4b751be
SignalFx Output (#6714)
* [outputs.signalfx] Add output plugin for SignalFX

This output plugin converts the `telegraf.Metrics` into signalfx
`datapoint`s and then transmits them to the ingest servers using
signalfx golang client lib.

As of this commit, the client lib is allowed to pick sane defaults
and none of its fields are overridable via telegraf config. This
can be changed in the future if needed.

The unit tests only test for conversion of `telegraf.Metric`s to
the `datapoint` structs. All code that executes after that is
assumed to be tested in the signalfx client lib itself (and not
worth writing end-to-end tests for).

Further enhancements:

 - Custom ingest urls
 - Better batching
 - More extensive tests
 - Support for events, sent by whitelist only

Co-authored-by: Ben Keith <benkeith@splunk.com>
Co-authored-by: Akshay <akshay.moghe@gmail.com>
Co-authored-by: Jay Camp <jcamp@splunk.com>
2021-02-25 15:30:01 -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
Helen Weller f3a208ee28
Fix reconnection issues mqtt (#8821) 2021-02-11 11:45:13 -05:00
Patryk Małek 7e78a08eba
AWS EC2 metadata processor Using StreamingProcessor (#8707) 2021-02-04 17:02:27 -05:00
Helen Weller cbe99ef596
add line about measurement being specified in docs (#8734) 2021-01-27 16:02:37 -05:00
Sebastian Spaink c237989631
Use go-ping for "native" execution in Ping plugin (#8679)
* 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
2021-01-26 16:02:43 -06:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Samantha Wang baa658a4bb
update data formats output docs (#8674) 2021-01-12 09:44:59 -08:00
Dušan Pajin 9ee6e034fb
Input SNMP plugin - upgrade gosnmp library to version 1.29.0 (#8588) 2021-01-07 08:44:33 -07:00
Helen Weller 4608620924
remove redundant reference to docs in data formats docs (#8652) 2021-01-05 14:47:13 -05:00
Ted Timmons b75221e6c6
update influxdb_v2 config documentation in main (#8618)
[Per the v2 output readme](https://github.com/influxdata/telegraf/blob/master/plugins/outputs/influxdb_v2/README.md) and trial/error the fields aren't arrays, and "org" is actually "organization".
2020-12-29 14:37:19 -05:00
Andreas Fuchs 3c9c013f4b
common/tls: Allow specifying SNI hostnames (#7897)
* tls_config: Allow specifying SNI hostnames

Add a new configration field `tls_server_name` that allows specifying
the server name that'll be sent in the ClientHello when telegraf makes
a request to TLS servers. This allows checking against load balancers
responding to specific hostnames that otherwise wouldn't resolve to
their addresses.

Add the setting to the documentation of common TLS options, as well as
to the http_response plugin.

Fixes #7598.

* Adjust the x509_cert to allow usage of tls_server_name

This plugin has been using ServerName previously, and will have to
deal with the new setting, too: Extract the server-name choosing into
a method & add a test to ensure we choose the right value (and error
under the right circumstances). Also document that the two settings
are mutually exclusive.

* Improve documentation on what we try to accomplish in the nil return

Also get rid of the TODO, as I am fairly certain this behavior is the
correct one.

* Remove unused struct field in tests
2020-12-23 13:39:43 -06:00
Anthony Arnaud 045c3c18b8
Add prometheus remote write serializer (#8360) 2020-12-16 14:11:05 -05:00
Kush 945b556330
Typo in INPUTS.md (#8573) 2020-12-16 13:23:50 -05:00
Steven Soroka d79a2464d3 docs update 2020-12-10 13:21:58 -05:00
Dmitry Senin 0ccb134ae4
Add a parser plugin for prometheus (#7778) 2020-12-02 12:48:44 -07:00
Vipin Menon d536f610cd
Support Riemann-Protobuff Listener (#8163) 2020-11-27 11:30:45 -05:00
Samantha Wang e0938382b1
fix links in external plugins readme (#8307)
* fix awsalarms link in readme

* fix links
2020-11-12 09:21:47 -08:00
Steven Soroka e83a165635
kafka sasl-mechanism auth support for SCRAM-SHA-256, SCRAM-SHA-512, GSSAPI (#8318) 2020-10-28 12:16:59 -04:00
Paweł Żak 14a73055f4
New input plugin for RAS with fixed GLIBC issue (#8293) 2020-10-20 17:59:05 -04:00
reimda 5a5f6fbd47
Update sarama library to 1.27.1 (#8289) 2020-10-20 11:42:37 -04:00
Steven Soroka f7f0c7324b remove unused dependency from list 2020-10-16 15:21:56 -04:00
Steven Soroka ac8f4c1e15 add plugin documentation 2020-10-14 12:27:16 -04:00
Steven Soroka 392ef9b9c0
change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
Paweł Żak fa32975d0f
New input plugin for RAS (Reliability, Availability and Serviceability) (#8114) 2020-10-01 16:54:51 -04:00
Paweł Żak b88f05592e
Missing ServiceNow metrics in DATA_FORMATS_OUTPUT.md (#8205) 2020-09-30 11:52:43 -06:00
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Sebastian 0eb65029a4
Doc update: Fix main.go shim example link (#8123) 2020-09-15 14:22:11 -04:00
Patryk Małek 4f3325e999
Fix external plugin docs links (#8081) 2020-09-04 13:27:30 -06:00
Samantha Wang b1bce91345
add tagpass/tagdrop note in docs (#8053) 2020-09-03 13:32:20 -07:00
Samantha Wang 45a87a1753
add guidelines run to external plugins with execd (#8054)
* docs - add guidelines run to external plugins with execd
2020-09-03 13:31:29 -07:00
Chris Hayles 160e1d11c7
Add OPC UA input plugin (#8009) 2020-09-02 16:52:46 -06:00
Samantha Wang 8cc08a6363
Create external plugins doc file and update contributing guide (#8001) 2020-08-26 16:43:35 -06:00
Samantha Wang 389c5380ed
Fix configuration.md formatting (#7965)
* fix configuration.md formatting

* include cloud url comments
2020-08-19 19:24:58 -04:00
Al Sargent df93825112
Add details to connect to InfluxDB OSS 2 and Cloud 2 (#7953) 2020-08-06 16:43:21 -04:00
Samantha Wang 72aa771891 edit docs 2020-07-28 12:13:26 -07:00
Samantha Wang 2344a01e73 add external plugins in docs 2020-07-28 11:54:44 -07:00
Daniel Nelson 5efce718e1
Update docker FAQ (#7868) 2020-07-21 11:54:39 -07:00
Steven Soroka 8350a6aa12
streaming processors docs update (#7786) 2020-07-06 14:23:44 -04:00
Daniel Nelson 0fbe0b3968
Allow overriding the collection_jitter and precision per input (#7762) 2020-06-30 23:15:11 -07:00
Daniel Nelson a3aaa2f7bb
Fix license check 2020-06-23 17:03:56 -07:00
Daniel Nelson c7cce961c3
Add starlark processor (#7660) 2020-06-23 14:15:14 -07:00
Daniel Nelson 1c292d00ca
Fail check-deps when differences are found (#7694) 2020-06-16 14:07:06 -07:00
Steven Soroka e00424d7b2
link to glob pattern docs (#7657) 2020-06-09 14:55:47 -04:00
kelseiv 573f144607
Update AGGREGATORS_AND_PROCESSORS.md (#7599) 2020-05-29 15:32:46 -07:00
Daniel Nelson 7b06624885
Update docs for newrelic output 2020-05-27 11:52:21 -07:00
Daniel Nelson d27f676091
Update to Go 1.14.3 with testing using 1.13.11 (#7564) 2020-05-26 15:40:25 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Daniel Nelson fd76c8bf21
Rework plugin tickers to prevent drift and spread write ticks (#7390) 2020-05-06 11:59:16 -07:00
Steven Soroka 819481b195
add support for SIGUSR1 to trigger flush (#7366) 2020-04-20 13:49:10 -04:00
Daniel Nelson 3380471e18
Adjust heading level in the filtering examples to allow linking 2020-04-15 10:51:31 -07:00
Daniel Nelson ccdd3cd245
Update github.com/prometheus/client_golang to latest (#7200) 2020-03-18 16:09:53 -07:00
Daniel Nelson 4e28e5721b
Update google.cloud.go to latest (#7199) 2020-03-18 15:30:49 -07:00
Daniel Nelson 9fbf288518
Remove init checks for valid label and field selectors (#7198)
Importing k8s.io/klog starts a long running goroutine at init time.
2020-03-18 13:48:29 -07:00
R290 f69b639aa9
Add Azure IoT Hub / Event Hub input plugin (#6928) 2020-03-16 10:54:21 -07:00
M0rdecay da9f19ca9d
Allow using name_* modificators for output plugins (#7174) 2020-03-13 15:04:23 -07:00
Daniel Nelson d5df7666d8
Update changelog 2020-03-12 17:01:07 -07:00
Daniel Nelson 389723c08a
Update changelog, readme, licenses 2020-03-10 15:47:05 -07:00
Steven Soroka 830a922a41 fix deps 2020-03-10 10:21:23 -04:00
Steven Soroka a76d10a44e sort lines 2020-03-10 09:59:37 -04:00
Steven Soroka 595c8b6075 update list of dependencies 2020-03-10 09:47:26 -04:00
Steven Soroka 874804a2ad update changelog 2020-03-09 18:46:55 -04:00
Daniel Nelson 318a963a89
Check license of dependencies file for changes (#7108) 2020-03-09 14:47:28 -07:00
R.I.Pienaar 79ff743064
Add support for credentials file to nats_consumer and nats output (#7022) 2020-02-20 14:30:04 -08:00
Daniel Nelson adb156c185
Remove quantile example from aggregators docs
Avoid confusion since we don't yet have an aggregator for quantiles.
2020-02-03 18:13:45 -08:00
Daniel Nelson 17c165391b
Update documentation for infiniband plugin 2020-01-16 13:56:23 -08:00
Daniel Nelson 1498f8addf
Add cardinality tips to FAQ and sqlserver input (#6852) 2020-01-08 10:52:58 -08:00
Daniel Nelson 05cefe61bd
Document --service-display-name flag for Windows service 2019-12-10 13:13:03 -08:00
likerj 3e46768578 Update supported environment variables (#6747) 2019-12-06 16:43:39 -08:00
Daniel Nelson 10dd367faa
Update changelog and dependency licences 2019-11-27 11:00:28 -08:00
Daniel Nelson 80c5edd48e
Add prometheus serializer and use it in prometheus output (#6703) 2019-11-26 15:46:31 -08:00
dbutler-starry 2156a6242e Add support for per output flush jitter (#6603) 2019-11-12 16:43:39 -08:00
Daniel Nelson 6cbaf890d9
Use github.com/gofrs/uuid 2.1.0 (#6636) 2019-11-07 17:39:19 -08:00
Daniel Nelson 80e93af25b
Add gomock to dependency licenses 2019-11-07 11:00:31 -08:00
Daniel Nelson e4170339b1
Document alias option on output, processor, aggregator plugins 2019-11-06 16:05:11 -08:00
The Dale 6881c64431 Add punctuation to CONFIGURATION.md (#6600) 2019-11-05 15:50:07 -08:00
Daniel Nelson b3f20f69f5
Default logtarget to file for backwards compatibility (#6555) 2019-10-22 13:32:03 -07:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Daniel Nelson 5dcd0daa42
Document the pros and cons of increasing the metric_buffer_limit 2019-09-09 17:50:46 -07:00
Daniel Nelson 80f38ae352
Update readme and changelog 2019-08-29 16:32:43 -07:00
Mattias Jiderhamn 4f54b11973 Add azure_storage_queue input plugin (#5323) 2019-08-29 16:29:25 -07:00
Vlasta Hajek 7ec54d4be9 Improve startup error reporting when ran as Windows service (#4291) 2019-08-28 14:34:44 -07:00
Daniel Nelson 139fcc5805
Update changelog and dependency licenses 2019-08-21 10:04:43 -07:00
Daniel Nelson d5b41cfc9a
Update TLS documentation 2019-08-19 17:42:39 -07:00
Stanislav Putrya 149d221191 Add capability to limit TLS versions and cipher suites (#6246) 2019-08-19 16:01:01 -07:00
pberlowski dc292b73a9 Add grace period for metrics late for aggregation (#6049) 2019-07-31 12:52:12 -07:00
Daniel Nelson aea09b3a20
Use sarama built in support for consumer groups (#6172) 2019-07-29 20:41:12 -07:00
Daniel Nelson 0ff9c8ef88
Add call to optional Init function for all plugins (#5899) 2019-06-14 15:12:27 -07:00
Steven Barth e18393fabf Add Cisco model-driven telemetry & GNMI inputs (#5852) 2019-06-04 14:39:46 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -07:00
Daniel Nelson 74c9d7ace2
Update logfile documentation 2019-05-03 10:55:11 -07:00
javicrespo bcf7516a23 Add in process log rotation (#5778) 2019-05-03 10:25:28 -07:00
Daniel Nelson 0aa25e2b6c
Use struct tags in plugin tutorials 2019-04-30 18:14:31 -07:00
Daniel Nelson 2faf37e5c1
Fix docs for metric buffer limit to reflect current behavior (#5741) 2019-04-17 15:46:20 -07:00
Pierre Tessier 267a9f182b Add wavefront serializer plugin (#5670) 2019-04-05 14:46:12 -07:00