Commit Graph

832 Commits

Author SHA1 Message Date
Joshua Powers deb0c6e207
test: update mongodb output to use test containers (#11137) 2022-05-19 14:14:02 -06:00
Sebastian Spaink 256caede89
chore(outputs): migrate sample configs into separate files (#11131) 2022-05-18 11:30:06 -05:00
Joshua Powers d0476898e5
test: remove unecessary flag in sql input (#11115) 2022-05-17 20:30:18 +00:00
Joshua Powers c8796a71ae
fix: elasticsearch output float handling test (#11120) 2022-05-17 20:28:05 +00:00
Joshua Powers b4b52d1a6f
test: remove unused riemann from docker-compose (#11118) 2022-05-17 20:26:27 +00:00
Felix Edelmann 1d659f5fbe
test: add test for mysql gatherGlobalVariables using sql-mock (#10987) 2022-05-16 15:11:25 -06:00
lambdaq 09a863bd3d
docs: fix socket_writer output format link (#11101) 2022-05-16 13:49:35 -06:00
Joshua Powers 0d18847f59
fix: check net.Listen() error in tests (#11093) 2022-05-16 13:37:53 -06:00
Farukh Ali 906b24e31d
fix(outputs.Wavefront): If no "host" tag is provided, do not add "telegraf.host" tag (#11078)
Co-authored-by: ffaroo1 <svc-registry-github@intuit.com>
2022-05-12 10:46:28 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
M.D fed88fcb44
feat(exec, execd): add an option to pass a custom environment to their child process (#11049) 2022-05-10 15:34:05 -06:00
Joshua Powers e28793cff1
fix: re-init azure monitor http client on context deadline error (#11030) 2022-05-10 15:24:01 -06:00
Jimmy Rimmer eb791360c4
fix: datadog count metrics (#10979) 2022-04-27 17:04:34 -05:00
RaviKiran K 5a71d03e63
feat(outputs.http): Support configuration of `MaxIdleConns` and `MaxIdleConnsPerHost` (#10954) 2022-04-27 15:24:27 -05:00
reimda 6ba3b1e91e
chore: Fix readme linter errors for output plugins (#10951) 2022-04-21 09:45:47 -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
Eng Zer Jun c3d176029d
test: use `T.TempDir` to create temporary test directory (#10988) 2022-04-18 13:27:59 -06: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
Joshua Powers 22bc23d79b
chore: add logging to graylog tests (#10896) 2022-04-12 15:00:49 -06:00
Jacob Marble 3a3802e02f
fix: update opentelemetry from v0.2.10 to v0.2.17 (#10963) 2022-04-12 09:00:27 -06:00
Joshua Powers 66daef2f0c
fix: update influxdb_v2 error message (#10958) 2022-04-11 14:45:48 -06:00
Sebastian Spaink a7df6c6aa6
feat: migrate output plugins to new sample config format (#10910) 2022-04-07 15:55:03 -06:00
Arati Kulkarni 6a0311c24f
feat: (outputs.elasticsearch) Add healthcheck timeout (#10853) 2022-03-30 08:10:03 -06:00
Joshua Powers f975f4269e
fix: include body in error message (#10866) 2022-03-24 15:03:26 -06:00
Joshua Powers e4b9924625
chore: switch HTTP 100 test case values (#10858) 2022-03-24 11:56:09 -06:00
Joshua Powers eafde73ece
chore: reduce timeouts and sleeps (#10861) 2022-03-24 11:54:58 -06:00
Jim Hagan 2b817f1b81
docs: Improve language related to the New Relic license key. (#10796) 2022-03-10 12:48:34 -07:00
keep94 bb2e709b37
docs: update wavefront docs for clearer proxy server use (#10774) 2022-03-07 09:25:48 -07:00
Joshua Powers 008e43b7c8
fix: sql unsigned settings (#10673) 2022-03-03 08:21:39 -07:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Joshua Powers ffe0b7e184
docs: add info on Graylog GELF spec (#10745)
Fixes: #10724
2022-02-28 09:20:08 -07:00
Michael Hoffmann 7715b84773
feat: socks5 proxy support for websocket (#10672) 2022-02-22 11:52:25 -07:00
Joshua Powers 855e23d978
fix: include influxdb bucket name in error messages (#10706)
Fixes: #10690
2022-02-22 10:42:37 -07:00
Thomas Casteleyn 906c71481b
fix: Set NextCheckTime to LastCheckTime to avoid GroundWork to invent a value (#10623) 2022-02-22 09:28:22 -07:00
Zachary Priddy a60027a7de
feat[elastic output]: add elastic pipeline flags (#10505) 2022-02-17 16:00:26 -07:00
Alexander Olekhnovich 0d529d89ea
feat: add socks5 proxy support for kafka output plugin (#8192) 2022-02-16 08:33:03 -07:00
Joshua Powers c1a41383c6
docs: override reported OpenSearch version (#10586)
Fixes: #9414
2022-02-16 07:25:31 -07:00
Joshua Powers 0c4df85c2d
fix: check for nil client before closing in amqp (#10635) 2022-02-15 10:21:20 -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
AsafMah b60b8d3382
fix(outputs/azure_data_explorer): Added azureBlob controls to lower RAM usage (#10179) 2022-02-01 09:31:40 -07:00
Anatoly Laskaris 531d7bb741
feat: Add ClickHouse driver to sql inputs/outputs plugins (#9671) 2022-01-28 13:35:03 -07:00
Pavlo Sumkin e4f040a2df
feat: process group tag for groundwork output plugin (#10499)
Co-authored-by: Pavlo Sumkin <pavlo@bluesunrise.com>
2022-01-27 11:25:28 -06:00
Sebastian Spaink 0ca1cd64b4
fix: address flaky tests in cookie_test.go and graylog_test.go (#10326) 2022-01-18 16:55:47 -06:00
Conor Evans 48b981bd4e
feat: support headers for http plugin with cookie auth (#10404) 2022-01-11 15:31:28 -07:00
Joshua Powers bccecef13b
fix: correctly set ASCII trailer for syslog output (#10393) 2022-01-11 15:15:13 -07:00
Todd Persen 90563c9af3
feat: add bearer token support to elasticsearch output (#10399) 2022-01-11 09:22:00 -07:00
Joshua Powers c2c15e8b3e
chore: update mqtt documentation (#10394) 2022-01-10 07:45:32 -07:00
Jeremy Yang 1e04157c52
feat: add compression to Datadog Output (#9963) 2022-01-07 10:38:19 -06:00
Nirmesh ad1694b1d8
fix: Fix batching logic with write records, introduce concurrent requests (#8947) 2022-01-06 15:28:23 -07:00
stitch cula 0b96d40b60
fix(outputs/amqp): Close the last connection when writing error to avoid connection leaks (#10360) 2022-01-06 16:04:46 -06:00
Joshua Powers 1b7e8c90e9
chore: sql readme with more details on data types (#10378)
Fixes: #9562
2022-01-05 08:18:28 -07:00
Vladislav 1d6d01a6db
fix: update GroundWork SDK and improve logging (#10255) 2021-12-23 10:43:34 -07:00
Nathan J Mehl 697855c98b
fix: cumulative interval start times for stackdriver output (#10097) 2021-12-22 13:11:28 -07:00
Nico Vinzens c6faf3d3b4
feat: adds optional list of non retryable http statuscodes to http output plugin (#10186) 2021-12-20 10:16:23 -07:00
Joshua Powers de6e421dd0
fix: run gofmt (#10274) 2021-12-14 15:43:37 -07:00
Mikołaj Przybysz 91cf764eff
fix: flush wavefront output sender on error to clean up broken connections (#10225) 2021-12-14 15:07:10 -07:00
Arthur Gautier 8976483471
feat: support aws managed service for prometheus (#10202) 2021-12-10 13:06:33 -07:00
Sven Rebhan ec26975dec
fix: Implement NaN and inf handling for elasticsearch output (#10196) 2021-12-08 10:56:54 -07:00
Joshua Powers 7049967fa9
fix: ensure graylog spec fields not prefixed with '_' (#10209) 2021-12-06 11:06:02 -07:00
reimda df6bf48f8d
feat: Implement deprecation infrastructure (#10200) 2021-12-01 12:38:43 -07:00
Robert Thein 7b6ff69ce7
fix: register bigquery to output plugins #10177 (#10178) 2021-12-01 09:07:08 -07:00
Vladislav 27dea9bd8f
feat: add new groundwork output plugin (#9891) 2021-11-30 14:25:21 -07:00
Mya 9bd0c6121e
fix: failing ci on master (#10175) 2021-11-24 13:57:14 -07:00
Paweł Żak 020b77b239
fix: Linter fixes for plugins/outputs/[g-m]* (#10127)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:40:25 -07:00
Paweł Żak 64bc0ae9c0
fix: Linter fixes for plugins/outputs/[p-z]* (#10139)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-24 12:33:45 -07:00
Joshua Powers de6c2f74d6
feat: add retry to 413 errors with InfluxDB output (#10130) 2021-11-24 12:03:55 -07:00
Joshua Powers 0d8d118319
chore: clean up all markdown lint errors in output plugins (#10159) 2021-11-24 11:47:33 -07:00
Paweł Żak 3dc5281632
fix: Linter fixes for plugins/outputs/[a-f]* (#10124) 2021-11-18 09:26:24 -07:00
Sebastian Spaink 4e4a33003b
fix(outputs/graylog): fix failing test due to port already in use (#10074) 2021-11-16 16:17:23 -06:00
Dane Strandboge ddeb6ec890
build: move to new protobuf library (#10019) 2021-11-09 08:51:14 -06:00
AlphaAr e73ffe56c4
fix: Add metric name is a label with name "__name" to Loki output plugin (#10001) 2021-11-08 14:47:32 -07:00
Jacob Marble 9871b676a5
chore: update OpenTelemetry plugins (#10010) 2021-11-08 14:41:50 -07:00
Heiko Schlittermann 8552c1187a
feat: Add use_batch_format for HTTP output plugin (#8184) 2021-10-29 08:05:28 -06:00
bustedware 7d6672c53a
feat: add mongodb output plugin (#9923) 2021-10-28 14:42:49 -06:00
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
Daniel Nelson a4eb9c2205
Use the product token for the user agent in more locations (#7378) 2020-04-21 10:02:18 -07:00
Daniel Nelson eb8d805370
Fix exclude database and retention policy tags is shared (#7323) 2020-04-14 12:15:35 -07:00
reimda 9413291064
Fix error in docs about exclude_retention_policy_tag (#7311) 2020-04-13 12:44:03 -07:00
Andrés Álvarez df145c7e56
Fix export timestamp not working for prometheus on v2 (#7289) 2020-04-06 16:21:01 -04:00
Ilya Antipov 0cad343de7
Support multiple templates for graphite serializers (#7136) 2020-03-31 11:30:21 -07:00
Daniel Nelson c7146be2f2
Add support for setting retention policy using tag (#7141) 2020-03-10 15:20:03 -07:00
Daniel Nelson b6de4da41f
Add topic tag options to kafka output (#7142) 2020-03-10 13:38:26 -07:00
Daniel Nelson 7b03a6f4ab
Update stackdriver plugins to reflect new product naming (#7098) 2020-03-05 10:36:36 -08:00
reimda a0276385b1
Refactor InfluxDB listener (#6974)
Use streaming parser in InfluxDB listener
2020-03-04 11:13:44 -07:00
Rick van de Loo 0103691eb6
Fix typo in exec input readme (#7086) 2020-02-26 09:33:24 -08:00
Daniel Nelson b5e0577d6b
Use add time for prometheus expiration calculation (#7056) 2020-02-24 15:53:16 -08: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 0cc71dbd51
Document the behavior of an unset routing key (#6983) 2020-02-04 16:40:00 -08:00
Daniel Nelson e8d9add2d1
Expire metrics on query in addition to on add (#6981)
Ensures that expired metrics are removed even when no new data is sent
to the output.
2020-02-04 16:12:23 -07:00
Daniel Nelson c6f8b273c0
Allow a user defined field to be used as the graylog short_message (#6700) 2020-01-21 10:49:01 -08:00
Daniel Nelson 5f1f4b9e8d
Use Go modules for dependency management (#6912) 2020-01-16 14:38:06 -08:00
Daniel Nelson f6b302621e
Do not add invalid timestamps to kafka messages (#6908) 2020-01-15 15:26:50 -08:00
Daniel Nelson 7faf05023d
Update Warp10 docs and uint64 and timestamp handling (#6885) 2020-01-09 13:57:14 -08:00
Aurélien HÉBERT ce02bebf30 Add output plugin for Warp10 (#1923) 2020-01-09 11:29:16 -08:00
Daniel Nelson 2486006495
Add kafka SASL version control to kafka_consumer (#6350) 2020-01-02 16:27:26 -08:00
Daniel Nelson aabc7e7d4f
Replace colon chars in prometheus output labels with metric_version=1 (#6781) 2019-12-10 12:59:16 -08:00
Daniel Nelson eb00f41905
Use actual database name in db creation failed log (#6780) 2019-12-10 12:58:59 -08:00
Daniel Nelson 317c823bfc
Set message timestamp to the metric time in kafka output (#6746) 2019-12-03 11:48:53 -08:00
Daniel Nelson 10db774db3
Add prometheus round trip unit tests (#6720) 2019-11-26 17:31:36 -08:00
Daniel Nelson 80c5edd48e
Add prometheus serializer and use it in prometheus output (#6703) 2019-11-26 15:46:31 -08:00
Marc Ruiz 4e8aa8ad1b Fix README.md and improve example config description (#6707) 2019-11-22 10:32:39 -08:00