Commit Graph

658 Commits

Author SHA1 Message Date
AsafMah 9d5eb7dd68
feat: add option to skip table creation in azure data explorer output (#9942) 2021-10-25 08:44:20 -06:00
Gerald Quintana 8265969f52
feat: Kafka Add metadata full to config (#9833) 2021-10-21 15:32:39 -06:00
Alexander Krantz 06f2a37b4a
chore: Update to AWS SDK v2 (#9647) 2021-10-21 16:32:10 -05:00
alespour e685f3be46
fix: Graylog plugin TLS support and message format (#9862) 2021-10-21 08:39:24 -06:00
Thomas Conté e324ef1985
feat: Azure Event Hubs output plugin (#9346) 2021-10-18 09:06:35 -05:00
Sebastian Spaink fde637464a
fix: migrate aws/credentials.go to use NewSession, same functionality but now supports error (#9878) 2021-10-07 15:47:56 -05:00
Sebastian Spaink 9de8c987f2
fix: mute graylog UDP/TCP tests by marking them as integration (#9881) 2021-10-07 15:41:59 -05:00
Sebastian Spaink 15753a6f7f
fix: migrate to cloud.google.com/go/monitoring/apiv3/v2 (#9880) 2021-10-07 14:47:59 -05:00
Minni Walia e0c45e4a76
docs: updated azure data explorer plugin documentation (#9816) 2021-10-05 16:51:45 -05:00
Helen Weller 021dedb792
fix: update toml tag to match sample config / readme (#9848) 2021-10-04 10:05:56 -04:00
Helen Weller 3990ab5eb9
fix: add keep alive config option, add documentation around issue with eclipse/mosquitto version combined with this plugin, update test (#9803) 2021-10-01 11:10:30 -04:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
alespour a9898f179b
feat: add graylog plugin TCP support (#9644) 2021-09-21 16:02:36 -05:00
Heiko Schlittermann b9aa9839fb
feat: Add json_timestamp_layout option (#8229) 2021-09-21 09:12:44 -06:00
Goutham Veeramachaneni 357959f087
fix: Add error message logging to outputs.http (#9727) 2021-09-14 17:04:34 -04:00
Jacob Marble a3454be2d8
chore: update influxdb-observability for OpenTelemetry plugins (#9718) 2021-09-14 13:07:28 -05: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
Daniel Dyla 95ef674456
feat(dynatrace-output): remove special handling from counters (#9675)
Co-authored-by: Armin Ruech <armin.ruech@dynatrace.com>
2021-09-08 13:31:42 -05:00
alrex 147e3d1389
fix: outputs.opentelemetry use attributes setting (#9588) 2021-09-07 16:15:13 -05:00
Samantha Wang 890508431c
docs: fix influxdb output readme (#9708) 2021-09-02 15:24:26 -06:00
alrex 5a71f761dc
fix: outputs.opentelemetry use headers config in grpc requests (#9587) 2021-09-02 11:09:05 -05:00
reimda 2370d39e89
fix: output timestamp with fractional seconds (#9625) 2021-08-30 09:13:08 -06:00
Daniel Dyla 0ce9c2e9f6
fix(dt-output): remove hardcoded int value (#9676) 2021-08-26 11:57:22 -05:00
Phil Bracikowski 8daba8aa19
chore(influxv2plugin): Increase accepted retry-after header values. (#9619) 2021-08-25 18:43:06 -04:00
Sebastian Spaink 3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions (#9642) 2021-08-23 15:37:44 -05:00
Nicolai Scheer 41c384a978
feat: add bool datatype for sql output plugin (#9598)
Co-authored-by: Nicolai Scheer <nicolai.scheer@check24.de>
2021-08-17 17:19:02 -04:00
Alexander Krantz eb41218fe0
fix: CrateDB replace dots in tag keys with underscores (#9566) 2021-08-10 17:48:02 -04:00
JC e6abb46d87
fix: sort logs by timestamp before writing to Loki (#9571) 2021-08-05 17:32:04 -04:00
Jacob Marble bfcd0f6bb1
feat: OpenTelemetry output plugin (#9228) 2021-08-04 16:11:55 -04:00
Alexander Krantz de01d37a36
feat: Support AWS Web Identity Provider (#9411) 2021-08-03 17:29:26 -04:00
Mya 8d2b1e8dc1
Fix metrics reported as written but not actually written (#9526) 2021-07-28 14:55:23 -06:00
Hwanjin Jeong f241f91112
Support Landing page on Prometheus landing page (#8641) 2021-07-27 17:17:42 -04:00
Daniel Dyla 403ce477c1
[output dynatrace] Initialize loggedMetrics map (#9491) 2021-07-21 10:53:23 -04:00
Jacob Hochstetler 4591c62cfc
Http plugin add cookie auth (#9395) 2021-07-13 15:58:49 -06:00
Minni Walia f57ffa2a9b
Add new output plugin for Azure Data Explorer(ADX) (#9426) 2021-07-13 17:25:24 -04:00
Mat Wood f69b37b759
Adding RFC3164 support to inputs.syslog (#8454) 2021-07-08 14:39:46 -06:00
Mya 84a37642d5
fixing insecure_skip_verify (#9413) 2021-06-22 15:56:29 -05: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
Harkamal Singh cc82c7ccf9
Added support to override metric_url in newrelic output plugin (#9342) 2021-06-15 17:15:31 -04:00
Daniel Dyla 769f582245
Update dynatrace output (#9363)
- export timestamps
- enrich dimensions with OneAgent data
- Add default dimensions feature
2021-06-15 17:13:34 -04:00
Mya Longmire da7f2c7a93
Bugfix outputs influxdb endless retires (#9296) 2021-06-10 16:05:43 -05:00
Daniel Dyla 298670ae18
Use dynatrace-metric-utils (#9295) 2021-06-08 15:27:39 -06:00
Alexander Emelin 0fd0ae0953
Add WebSocket output plugin (#9188) 2021-06-03 22:53:38 -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
Alexander Krantz db0b6de140
Add HTTP proxy to datadog output (#9297) 2021-06-01 17:18:31 -04:00
Greg Linton df47b41668
Allow more characters in graphite tags (#9249) 2021-05-18 12:29:30 -04:00
Tuan Nguyen Huy b56ffdc498
Add ability to enable gzip compression in elasticsearch output (#8913) 2021-05-08 13:17:44 -06:00
Sebastian Spaink 5256f916eb
Make microsoft lowercase (#9209) 2021-04-27 17:01:45 -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
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
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Patryk Małek 2b41a1e1f4
Carbon2 serializer: sanitize metric name (#9026) 2021-04-08 10:31:31 -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
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -04: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
Jeff Ashton 8564d928df
Simplifying the kinesis output tests (#8970) 2021-03-24 14:29:22 -04: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
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
Samantha Wang d5f79093f4
update bigquery readme (#9017) 2021-03-18 12:30:24 -07: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
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
Paweł Żak 17efd172b7
Clearing LGTM alerts and warnings (#8923) 2021-03-03 14:56:31 -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
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
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
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
Paweł Żak d9736d543f
Revive fixes - part 2 (#8835)
* 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]
2021-02-16 18:19:50 -05:00
Arnaud Lefebvre f09e551cbd
outputs/warp10: url encode comma in tags value (#8657) 2021-02-16 12:15:48 -05:00
David Bennett c25ae5295b
Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics/errors (#8775)
* Validate the response from InfluxDB after writing/creating a database to avoid json parsing panics.

* Testing windows signing - ignore

* Update config.yml

* adding signing to workflow - test

* Updated config.yml

* Updated config.yml

* Updated config.yml

* Updated config.yml

* revert circleci test changes

* Various updates
2021-02-10 14:45:07 -05:00
Paweł Żak ba66d4facb
Revive fixes - part 1 (#8797)
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Mike Summers c43de16bce
Add HTTP proxy setting to New Relic output plugin (#8749) 2021-02-01 12:54:42 -05:00
Steven Soroka 9c7cf99fa7
[outputs.influxdb_v2] add exponential backoff, and respect client error responses (#8662)
* [outputs.influxdb_v2] add exponential backoff, and respect client error responses

* add test

* Update to 60 seconds

* fix test
2021-01-27 16:07:42 -05:00
Steven Soroka 52aaadfd79
Fix issue with elasticsearch output being really noisy about some errors (#8748) 2021-01-27 16:01:06 -05:00
Helen Weller d41569caed
Integration test audit (#8725) 2021-01-26 11:06:12 -07:00
Steven Soroka 9814d3d84d fix some annoying tests due to ports in use 2021-01-08 17:30:43 -05:00
Sebastian Spaink c8584a7b3f
Upgrade circle-ci config to v2.1 (#8621)
* Upgrade to 2.1 circle-ci config

* new line
2021-01-06 16:23:29 -06:00
Yuri Grigorov c319e63a5a
outputs/http: add option to control idle connection timeout (#8055)
Co-authored-by: Yuri Grigorov <jurijs.grigorovs@corp.mail.ru>
2020-12-30 12:59:58 -06:00
Greg a7dff56dde
Add more verbose errors to influxdb output (#6061)
Looks like ear/959 has already been resolved, but these additional information for the errors still seems useful.
I just re-based the change and merging.
2020-12-21 10:14:10 -06:00
Olli-Pekka Lehto f5d5a51c21
Added "name" parameter to NATS output plugin (#8429) 2020-11-27 11:24:26 -05:00
Steven Soroka 8b30bb9534
Enable kafka zstd compression and idempotent writes (#8435) 2020-11-23 15:51:58 -05:00
Paweł Żak 0fcfee0caf
Fix tests for Windows - part 1 (#8414) 2020-11-23 10:40:32 -05:00
Aaron Griffin 2c346ed08b
#8405 add non-retryable debug logging (#8406)
Add debug level logging for metric data that is not retryable.
2020-11-16 09:54:58 -05:00
Yuxuan 'fishy' Wang 18460e1825
Wavefront output should distinguish between retryable and non-retryable errors (#8404) 2020-11-13 17:08:05 -05:00
Pontus Rydin 748af7f5d1
[output.wavefront] Introduced "immediate_flush" flag (#8165) 2020-11-02 23:12:48 -05:00
peter-volkov 38796f035b
#8295 Initial Yandex.Cloud monitoring (#8296) 2020-11-02 11:11:47 -05:00
Thomas Schuetz a49e37a2a6
#8328 Fixed a bug with the state map in Dynatrace Plugin (#8329) 2020-10-29 11:04:11 -04: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
Ido Halevi 9b23a04b69
A new Logz.io output plugin (#8202) 2020-10-22 11:53:08 -04:00
Patryk Małek 885d0affa6
Sumo Logic output plugin: fix unparsable config.Size from sample config (#8243) 2020-10-21 12:43:24 -06:00
simnv 1696cca283
Fix using empty string as the namespace prefix in azure_monitor output plugin (#8282)
* Fix using empty string as the namespace prefix

Fixes #8256

* Test using empty string as the namespace prefix
2020-10-20 10:16:22 -04:00
Steven Soroka 78cf0b7ea6
turn gzip on by default for InfluxDB v1 output (#8269) 2020-10-16 13:07:29 -04:00
Thomas Schuetz c85fb585ad
Dynatrace Output Plugin: Fixed behaviour when state map is cleared (#8251) 2020-10-16 11:55:35 -04:00
piotrwest 7c2c2c5d8b
Add the Timestream Output Plugin (#8239)
Co-authored-by: Piotr Westfalewicz <westpiot@amazon.com>
2020-10-15 13:51:17 -04:00
Patryk Małek 190fdd24fa
Sumo Logic output plugin: only support HTTP POST (#8262) 2020-10-14 12:11:23 -04:00
Paweł Żak c8e69aca3c
Fixed almost all bugs found by LGTM analysis platform (#8240) 2020-10-08 11:20:35 -04:00
Steven Soroka 392ef9b9c0
change influxdb port 9999 to 8086 (#8198) 2020-10-07 11:54:51 -04:00
Patryk Małek cc089e6eb6
Fix carbon2 serializer not falling through to field separate when carbon2_format field is unset (#8201) 2020-10-07 08:33:09 -06:00
Samantha Wang 660714b943
add min telegraf to plugin readme (#8223)
* add min telegraf versions to readme
* add new telegraf plugins to main readme
2020-10-06 14:44:00 -07:00
Thomas Schuetz f2a831c94e
Dynatrace Output: change handling of monotonic counters (#8159) 2020-09-30 13:30:48 -04:00
Patryk Małek a3a1224e58
Sumo Logic output plugin: carbon2 default to include field in metric (#8132) 2020-09-29 14:00:33 -04:00
Patryk Małek ca7252c641
Fix Sumo Logic output plugin not splitting requests properly (#25) (#8115) 2020-09-24 16:13:37 -04:00
Patryk Małek 5534b9955c
Carbon2 configuration option - include field in metric name (#8094) 2020-09-10 12:14:11 -04:00
Patryk Małek e9dcade0a8
Sumo Logic output plugin (#8023) 2020-09-10 10:56:35 -04:00
Steven Soroka 8cd0fe5e7b Revert "update influxdb v2 port"
This reverts commit 8c3ba65e77.
2020-09-09 14:07:10 -04:00
Samantha Wang 8c3ba65e77 update influxdb v2 port 2020-09-09 10:55:20 -07:00
Toni Moreno 9a06ac1d6a
added force_document_id option to ES output enable resend data and avoiding duplicated ES documents, fix #7891 (#8019) 2020-09-08 16:34:27 -04:00
Pontus Rydin 60d402d827
vSphere Fixed missing clustername issue 7878 (#8026) 2020-08-26 12:58:28 -04:00
Thomas Schuetz bf0b376fc7
Fix InsecureSkipVerify in Dynatrace Plugin (#8015) 2020-08-21 11:31:30 -04:00
DM a03555ec5a
[outputs.application_insights] Added the ability to set the endpoint url (#7134) 2020-08-19 18:04:24 -04:00
Thomas Schuetz 6e8255c644
Dynatrace Plugin - Updated Documentation (#7994) 2020-08-17 18:37:13 -04:00
Thomas Schuetz 780fbfecb2
Dynatrace output plugin (#7881) 2020-08-12 11:51:53 -04:00
Russ Savage 75e701c288
fix(readmes): adding code block annotations (#7963) 2020-08-10 15:50:48 -04:00
Steven Soroka 4d11d76bb1
cleanup cloudwatch plugin (#7928) 2020-08-07 10:12:14 -04:00
Aladex 2e751d0b54
JSON does not support values NaN and Inf (#7908) 2020-08-06 14:27:15 -04:00
Samuel Vandamme eb162ddaa4
Fixed title on New Relic README.md (#7948) 2020-08-06 12:29:15 -04:00
Steven Soroka de313fcde6 clarify docs and add warning if execd is misconfigured (#7866) 2020-07-20 22:38:00 -04:00
Labesse Kévin 4c4945fecc
documentation: typo outputs cloud_pubsub (#7817) 2020-07-10 11:50:52 -04:00
Daniel Nelson 413398d1a1
Add minimum version for new plugins (#7810) 2020-07-09 11:29:12 -07:00
Jakub Warczarek 31407141cf
Fix data race in plugin output pubsub tests (#7782) 2020-07-03 12:01:22 -04:00
Steven Soroka 0efcca3c33
execd output (#7761) 2020-07-02 11:59:29 -04:00
Daniel Nelson f2dded5b90
Allow histograms with no buckets and summary without quantiles (#7740) 2020-06-30 11:30:34 -07:00
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07:00
Daniel Nelson 8c017661dc
Document that string fields do not produce prometheus metrics (#7644) 2020-06-18 11:03:11 -07:00
weedees ea8192d2f3
Add 'batch' to mqtt output optional parameters (#7690) 2020-06-16 15:46:57 -07:00
Daniel Nelson 643fb7decc
Remove trailing backslash from tag keys/values (#7652) 2020-06-12 17:54:49 -07:00
Daniel Nelson 7b06624885
Update docs for newrelic output 2020-05-27 11:52:21 -07:00
hsinghkalsi 580ac61cf7
Add newrelic output plugin (#7019) 2020-05-27 11:24:49 -07:00
ihard 94c75b51a8
Add configurable separator graphite serializer and output (#7545) 2020-05-20 17:15:18 -07:00
Daniel Nelson edd8338180
Close HTTP2 connections on timeout in influxdb outputs (#7517) 2020-05-19 11:53:10 -07:00
Josh Soref bf1eb291f2
Fix assorted spelling mistakes (#7507) 2020-05-15 15:43:32 -07:00
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
Pontus Rydin 23756077a4
Add truncate_tags setting to wavefront output (#7503) 2020-05-13 12:02:39 -07:00
Daniel Nelson 283a16316a
Update datadog output documentation (#7467) 2020-05-06 11:25:21 -07:00
Steven Soroka b73a232a6a
Support Go execd plugins with shim (#7283) 2020-05-04 14:09:10 -04:00
William Austin 59acbd4f13
Add ContentEncoder to socket_writer for datagram sockets (#7417) 2020-04-30 13:21:34 -07:00
Daniel Nelson b77dac9fdf
Run create database query once per database (#7333) 2020-04-28 13:41:59 -07:00
Daniel Nelson 2799302142
Fix dimension limit on azure_monitor output (#7336) 2020-04-22 16:16:22 -07:00