Commit Graph

453 Commits

Author SHA1 Message Date
Joshua Powers 9329123ea4
docs: update ms sql dsn example (#11704) 2022-08-19 07:45:25 -06:00
dependabot[bot] 93121f3894
chore(deps): Bump go.mongodb.org/mongo-driver from 1.9.1 to 1.10.1 (#11676)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mya <mlongmire@influxdata.com>
2022-08-17 13:53:02 -05:00
yahaa 4f4d168e74
fix(inputs.prometheus): plugin run outside k8s cluster error (#11673) 2022-08-17 08:27:46 -06:00
reimda 07179c466b
chore: Use build tags to select plugins (#11654) 2022-08-15 22:44:59 +02:00
Joshua Powers 64c85eb4f8
docs: explain PowerShell 5 encoding (#11662) 2022-08-11 15:46:02 -06:00
橘子 5d669e2724
feat(outputs.iotdb): Add new output plugin to support Apache IoTDB (#11557) 2022-08-10 13:00:41 -06:00
niasar b80d34a422
feat: Supervisord input plugin (#9015) 2022-08-08 12:25:26 -06:00
reimda f001c99184
docs: Add source tag best practices to the metric schema docs (#11620) 2022-08-03 15:27:21 -06:00
dependabot[bot] e7e3926710
chore(deps): Bump github.com/eclipse/paho.mqtt.golang from 1.3.5 to 1.4.1 (#11347)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2022-08-01 14:03:48 -05:00
Sven Rebhan fd84042220
feat: Add license checking tool (#11398) 2022-07-28 09:21:07 -05:00
Cole Mackenzie af43d0183c
feat(output.mqtt): Add support for MQTT protocol version 5 (#11284) 2022-07-27 09:36:57 -06:00
Sven Rebhan 9f3a7414a9
feat(parsers.json): Allow JSONata based transformations in JSON serializer (#11251) 2022-07-21 18:37:36 +02:00
Joshua Powers e2c2f29f0c
chore: update to go1.18.4 (#11526) 2022-07-20 07:28:41 -06:00
Joshua Powers 5802df7659
chore: cleanup go.mod and dependency licences (#11503) 2022-07-14 07:59:43 -06:00
asaleh b0819baeec
feat: add Stomp (Active MQ) output plugin (#7995) 2022-07-14 07:14:41 -06:00
Anton Malinskiy fbccc71abb
feat(input): add upsd implementation (#9890) 2022-07-06 13:09:18 -06:00
Sven Rebhan 48fa1990ee
feat: Add CSV serializer (#11307) 2022-06-22 21:06:50 +02:00
dependabot[bot] b58ae75b08
chore(deps): Bump github.com/Shopify/sarama from 1.32.0 to 1.34.1 (#11319) 2022-06-21 16:41:25 -05:00
Alexander Krantz d8f2b38b27
feat(redis): add Redis 6 ACL auth support (#9333) 2022-06-21 15:13:18 -05:00
dependabot[bot] 4a4d9d97e0
chore(deps): Bump google.golang.org/api from 0.74.0 to 0.84.0 (#11338)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: MyaLongmire <myalongmire05@gmail.com>
2022-06-21 11:20:33 -05:00
dependabot[bot] f8672d8486
chore(deps): Bump k8s.io/client-go from 0.23.3 to 0.24.1 (#11223) 2022-06-16 16:18:58 -05:00
Sebastian Spaink 412be64088
feat: Make the command "config" a subcommand (#11282)
* feat: make the command "config" a subcommand

* fix: backwards compatible
support telegraf *filters* config
2022-06-15 21:28:18 +02:00
Joshua Powers af409da924
test: add install go for linux, use in integration tests (#11281) 2022-06-13 09:27:03 -05:00
Joshua Powers c6ed8bb807
chore: update go from v1.18.1 to v1.18.3 (#11248) 2022-06-02 14:19:18 -06:00
Joshua Powers 7fa2797c8e
docs: update test-container docs (#11244) 2022-06-02 11:33:51 -06:00
Joshua Powers 6699e114a4
docs: Initial update of integration test docs (#11210) 2022-06-02 09:59:43 +02:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Eng Zer Jun d51634a613
fix(plugins/amqp): move from `streadway/amqp` to `rabbitmq/amqp091-go` (#11192) 2022-05-25 13:16:13 -06:00
Sven Rebhan 1b0bf3579b
chore: Embed sample configurations into README for aggregators (#11190) 2022-05-25 10:25:51 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Joshua Powers db3beab38b
test: add generic test-container code for re-use, migrate mysql (#11157) 2022-05-23 11:08:53 -06:00
Sven Rebhan 49137dd267
docs: update review docs (#11147) 2022-05-20 08:23:25 -06:00
Jacob Marble 3c79acbd80
chore: update opentelemetry plugins (#11085) 2022-05-12 10:34:52 -05:00
Joshua Powers 23bb23d981
feat: create and push nightly docker images to quay.io (#11000) 2022-04-26 14:11:01 -06:00
bewing a6f278a5ea
fix: use external xpath parser for gnmi (#11024) 2022-04-26 07:38:02 -06:00
Jacob Marble bf99a726f5
fix: update go.opentelemetry.io/collector/pdata from v0.48.0 to v0.49.0 (#10984) 2022-04-19 07:28:01 -06:00
Sebastian Spaink 4ab7253bc8
chore: Update Go to 1.18.1 (#10961) 2022-04-13 16:50:39 -05:00
AsafMah 47113efc5a
fix: update github.com/Azure/azure-kusto-go from 0.5.0 to 0.60 (#10966) 2022-04-12 15:07:15 -06:00
Sebastian Spaink 5d6748fcb5
feat: generate the plugins sample config (#10886) 2022-04-05 17:11:09 -05:00
Aleksei Larkov 9d3d5b9414
feat: add ANSI color filter for tail input plugin (#10880) 2022-03-30 09:00:16 -06:00
Samantha Wang 93a2202e73
docs: update license of dependencies (#10914) 2022-03-29 13:49:04 -06:00
reimda d8bd44abe1
fix: change name of snmp translator setting (#10872) 2022-03-23 09:27:58 -06:00
Joshua Powers 40ed7fb693
feat(parsers.influx): New influx line protocol via feature flag (#10749) 2022-03-10 15:09:58 -07:00
Sven Rebhan 5479df2eb5
feat: collection offset implementation (#10545) 2022-02-15 10:39:12 -07:00
dependabot[bot] 1445a17e47
fix: bump github.com/denisenkom/go-mssqldb from 0.10.0 to 0.12.0 (#10503)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2022-02-14 09:21:27 -06:00
Sebastian Spaink 023dfd43b0
fix: license doc outdated causing CI failure (#10630) 2022-02-10 17:28:17 -06:00
Joshua Powers 99d2d2b6a9
docs: update quay docs for auth (#10612) 2022-02-10 07:51:55 -07:00
dependabot[bot] c3b831649f
fix: bump github.com/aws/aws-sdk-go-v2/service/kinesis from 1.6.0 to 1.13.0 (#10601) 2022-02-07 09:29:07 -07:00
Zachary Priddy 5c8751f97c
fix[elasticsearch output]: add scheme to fix error in sniffing option (#10513) 2022-02-03 15:02:02 -07:00
R290 48682ff5f9
feat: Add autorestart and restartdelay flags to Windows service (#10559) 2022-02-03 09:23:52 -07:00
Anatoly Laskaris 531d7bb741
feat: Add ClickHouse driver to sql inputs/outputs plugins (#9671) 2022-01-28 13:35:03 -07:00
Sven Rebhan bf447f4488
docs: Update deprecation readme (#10529) 2022-01-27 09:59:33 -06:00
dependabot[bot] 5ab466464d
fix: bump github.com/shirou/gopsutil/v3 from 3.21.10 to 3.21.12 (#10451) 2022-01-19 19:48:55 -06:00
Christian a6b998f9b8
feat: Add noise plugin (#10057) 2022-01-12 08:20:33 -07:00
dependabot[bot] 0dc64b83fe
fix: bump github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs from 1.5.2 to 1.12.0 (#10415) 2022-01-11 09:53:37 -07:00
Martin Reindl 0e1031356e
fix: re-enable OpenBSD modbus support (#10385) 2022-01-07 07:19:19 -07:00
Josef Johansson 876d19081e
feat: add systemd notify support (#10340) 2022-01-05 08:21:14 -07:00
Sebastian Spaink f88b873fca
fix: update go-ldap to v3.4.1 (#10343) 2021-12-23 11:51:35 -06:00
Joshua Powers a9670bc5d8
feat: add builds for riscv64 (#10262) 2021-12-22 13:51:11 -07:00
Sebastian Spaink da1ddd53a4
fix: update djherbis/times and fix dependabot (#10332) 2021-12-22 13:30:42 -06:00
Mya 082c7a552b
feat: support darwin arm64 (#10239) 2021-12-15 16:26:59 -07:00
Sven Rebhan 526dcb4bc8
fix: Print loaded plugins and deprecations for once and test (#10205) 2021-12-07 15:56:18 -07:00
reimda df6bf48f8d
feat: Implement deprecation infrastructure (#10200) 2021-12-01 12:38:43 -07:00
Vladislav 27dea9bd8f
feat: add new groundwork output plugin (#9891) 2021-11-30 14:25:21 -07:00
Joshua Powers 97826bdc73
chore: clean up all markdown lint errors in second half of docs directory (#10156) 2021-11-24 11:45:44 -07:00
Joshua Powers 0036757afe
chore: clean up all markdown lint errors in first half of docs directory (#10152) 2021-11-24 11:45:19 -07:00
bkotlowski 9480e49eee
feat: add intel_pmu plugin (#9724)
Co-authored-by: ktrojan <kuba.trojan@intel.com>
2021-11-23 10:32:19 -06:00
singamSrikar a288bc0bf8
feat: Openstack input plugin (#9236) 2021-11-09 08:32:07 -07:00
Paweł Żak 5ac9f418ca
fix: Markdown linter fixes for LICENSE_OF_DEPENDENCIES.md (#10065) 2021-11-05 07:55:16 -06:00
Sebastian Spaink 79dadd3da8
chore: add Super Linter Github Action (#10014) 2021-11-02 14:03:24 -06:00
reimda 0ebd2f388d
chore: remove unused dockerfiles, add link in docs (#10013) 2021-10-29 13:43:38 -06:00
bustedware 7d6672c53a
feat: add mongodb output plugin (#9923) 2021-10-28 14:42:49 -06:00
Josef Johansson 76251d34f3
feat: plugins/common/tls/config.go: Filter client certificates by DNS names (#9910) 2021-10-25 08:47:26 -06:00
Joshua Powers 76d5e3e4c8
docs: update nightlies links (#9989) 2021-10-22 15:14:26 -06:00
Alexander Krantz 06f2a37b4a
chore: Update to AWS SDK v2 (#9647) 2021-10-21 16:32:10 -05:00
Samantha Wang d729c0a6e4
docs: fix broken link (#9812) 2021-10-18 13:52:04 -05:00
Sebastian Spaink b7988d83d7
chore: stop testing with two versions of Go (#9909) 2021-10-13 13:18:33 -05:00
Sven Rebhan 15d868586d
Fix: Update snowflake database driver to 1.6.2 (#9866) 2021-10-12 11:42:25 -05:00
Joshua Powers 60211f0f1a
Fix/jaeger version (#9893) 2021-10-11 08:34:30 -06:00
Sebastian Spaink 82bdbce498
chore: "makefile help" output, but still support building based on arch for CI (#9579) 2021-09-20 12:26:10 -05:00
Samantha Wang 9ecf6040af
docs: document telegraf commands and flags (#9635) 2021-09-20 09:13:39 -06:00
Alan Pope 81eed8d436
docs: Move nightly builds (#9747) 2021-09-16 12:22:24 -05:00
Sanyam Arya 40fa10ba0b
feat: Internet Speed Monitor Input Plugin (#9623) 2021-09-14 15:26:49 -06:00
dependabot[bot] 317ee71c32
fix: bump github.com/Azure/go-autorest/autorest/adal from 0.9.10->0.9.15 2021-09-13 12:38:59 -05:00
Samantha Wang 7ca2ba7f9e Revert "Merge branch 'master' into master"
This reverts commit 98d061753a, reversing
changes made to 95ef674456.
2021-09-09 12:37:50 -07:00
Samantha Wang 98d061753a
Merge branch 'master' into master 2021-09-09 12:32:30 -07:00
Alexander Krantz 7de9c5ff27
fix: bump thrift to 0.14.2 and zipkin-go-opentracing 0.4.5 (#9700) 2021-09-02 10:23:30 -06:00
Sebastian Spaink a86f5997b9
fix: migrate dgrijalva/jwt-go to golang-jwt/jwt/v4 (#9699) 2021-09-02 09:08:24 -06:00
Samantha Wang 9ac5ae72d2
docs: update links (#9632) 2021-08-24 14:18:08 -06:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
dependabot[bot] ee5c50988a
fix: Bump github.com/aws/aws-sdk-go-v2 from 1.3.2 to 1.8.0 (#9636) 2021-08-18 15:20:17 -06:00
Jacob Marble bfcd0f6bb1
feat: OpenTelemetry output plugin (#9228) 2021-08-04 16:11:55 -04:00
Germán Jaber 3f9643dd7e
[Docs] Clarify tagging behavior (#9461) 2021-07-27 16:16:53 -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
Minni Walia f57ffa2a9b
Add new output plugin for Azure Data Explorer(ADX) (#9426) 2021-07-13 17:25:24 -04:00
Thomas Casteleyn c56a652b4d
Improve documentation (#9457) 2021-07-06 17:20:53 -04:00
Sven Rebhan 25413b2b6d
XPath parser extension to allow parsing of JSON, MessagePack and Protocol-buffers (#9277) 2021-07-01 16:48:16 -04:00
Mya eba6191239
nat-server upgrade to v2.2.6 (#9369) 2021-06-28 13:50:37 -05:00
Sebastian Spaink 5be079c272
Update couchbase dependencies to v0.1.0 (#9412) 2021-06-22 16:40:40 -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 908ad2f6ce
Generic SQL input (#8735) 2021-06-15 13:10:52 -06:00
Daniel Dyla 298670ae18
Use dynatrace-metric-utils (#9295) 2021-06-08 15:27:39 -06:00
reimda e289612ff3
Add SQL output plugin (#9280) 2021-06-03 22:49:55 -06:00
Pascal Zimmermann 3ad40df311
Update pgx to v4 (#9182) 2021-06-02 21:28:16 -06:00
Steven Soroka b1d6730c9b
fix link 2021-06-02 11:45:32 -04:00
Steven Soroka dfed0e8bb7
Clarify Init errors 2021-06-02 11:34:50 -04:00
Samantha Wang aa837476d7
update github maintainer docs (#9311) 2021-06-01 17:09:37 -04:00
Sven Rebhan 2e7b232073
Modbus refactor (#9141) 2021-05-27 16:58:46 -04:00
Sven Rebhan 9ab2ea5ee2
Document inactivity procedure. (#9259) 2021-05-25 17:20:30 -04:00
Sebastian Spaink 5330a74fea
Migrate soniah/gosnmp import to gosnmp/gosnmp (#9203) 2021-05-13 15:00:57 -05:00
Helen Weller 1ea5c20aad
Update packaging.md (#9258) 2021-05-11 16:24:05 -05:00
Samantha Wang 3e9f191142
Redirect former wiki links (#9183)
* fix docs links

* redirect links

* redirect links

* redirect links

* redirect links
2021-05-07 12:26:11 -07:00
Sebastian Spaink 175cd16f19
Migrate ipvs library from docker/libnetwork/ipvs to moby/ipvs (#9235) 2021-05-04 11:15:47 -05:00
Jacob Marble 6977121aed
OpenTelemetry Input Plugin (#9077) 2021-04-30 10:36:48 -04:00
Sebastian Spaink 4fc849d73f
Upgrade gopsutil to v3.21.3 (#9224)
Co-authored-by: John Blesener <jblesener@reactivelabs.com>
2021-04-29 15:58:35 -05:00
Thomas Casteleyn ba05724918
Remove outdated milestones info from FAQ (#9213) 2021-04-28 11:57:01 -04:00
Sebastian Spaink 5256f916eb
Make microsoft lowercase (#9209) 2021-04-27 17:01:45 -05:00
Samantha Wang 1bc87ccc3c
Move wiki information to docs (#9126) 2021-04-22 16:51:21 -07:00
reimda 916ac99675
Add doc on supported platforms (#9100) 2021-04-19 16:21:06 -06: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
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
dependabot[bot] d5b4c3e148
Bump github.com/Azure/go-autorest/autorest/azure/auth from 0.4.2 to 0.5.6 (#8746)
* Bump github.com/Azure/go-autorest/autorest/azure/auth

Bumps [github.com/Azure/go-autorest/autorest/azure/auth](https://github.com/Azure/go-autorest) from 0.4.2 to 0.5.6.
- [Release notes](https://github.com/Azure/go-autorest/releases)
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/azure/cli/v0.4.2...autorest/azure/auth/v0.5.6)

Signed-off-by: dependabot[bot] <support@github.com>

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-25 12:07:21 -05: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
dependabot[bot] d8b28bc609
Bump collectd.org from 0.3.0 to 0.5.0 (#8745)
* Bump collectd.org from 0.3.0 to 0.5.0

Bumps [collectd.org](https://github.com/collectd/go-collectd) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/collectd/go-collectd/releases)
- [Commits](https://github.com/collectd/go-collectd/compare/v0.3.0...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix license doc

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Spaink <sspaink@influxdata.com>
2021-03-24 17:26:02 -05: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
Helen Weller 67f588cbce
New prometheus remote write parser (#8967) 2021-03-18 11:33:58 -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
Daniel Moran 1b09a9f3dc
chore: remove references to outdated InfluxDB settings. (#8754) 2021-03-16 16:02:59 -04:00
Steven Soroka 67904b07ee
update external plugin docs 2021-03-11 16:32:28 -05:00
helenosheaa ba8452d61d resolved conflicts 2021-03-11 16:19:23 -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
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