Commit Graph

628 Commits

Author SHA1 Message Date
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