Commit Graph

117 Commits

Author SHA1 Message Date
Joshua Powers ca7c8f7005
chore: update removal and deprecations for v1.30.0 (#13351) 2023-06-02 12:36:19 +02:00
Povilas Versockas 92b6d96486
feat(inputs.statsd): Add optional temporality and start_time tag for statsd metrics (#13087) 2023-05-02 19:19:30 +02:00
Paweł Żak 30b603626c
chore: Enable G404 rule for gosec (#13095) 2023-05-02 06:31:50 -06:00
Paweł Żak c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible (#13008) 2023-04-03 07:19:43 -06:00
Paweł Żak 9608d118bd
chore: Don't use all default exclude patterns for golangci-lint (#12969)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-29 09:50:00 +02:00
Joshua Powers 5e7c5c84e9
docs: Explain and note service inputs (#12870) 2023-03-27 14:12:35 +02:00
Joshua Powers dfe8b43e20
fix(inputs.statsd): On close, verify listener is not nil (#12778) 2023-03-03 06:45:33 -07:00
Paweł Żak e2a510f157
chore: Fix linter findings for errorlint (part7) (#12772)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-03-03 10:11:54 +01:00
Thomas Casteleyn 6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf (#12722) 2023-02-23 06:49:36 -07:00
Sven Rebhan c2854204ae
feat(inputs.statsd): add pending messages stat and allow to configure number of threads (#12318) 2023-02-17 13:46:23 -07:00
Joshua Powers 2aa57f00ad
docs: Update all readme to pass linter (#12615) 2023-02-09 11:04:41 +01:00
Paweł Żak 9a0cecc788
chore: Fix linter findings for nolintlint (part3) (#12613)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-07 17:06:12 +01:00
Paweł Żak 257083dba8
chore: bump go to 1.20 for golangci-lint-action (#12614) 2023-02-03 14:35:29 -07:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Joshua Powers 4f7717b4fd
test(inputs.statsd): increase sleep + expiration on test (#12354) 2022-12-09 12:55:10 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Joshua Powers a915d2c20c
test: add integration test for recovering after invalid data (#11994) 2022-10-12 13:59:47 -06:00
Paweł Żak 9ff5cda6e8
chore: Resolve linter issues for plugins/common package (#11964)
Co-authored-by: Pawel Zak <Pawel Zak>
2022-10-11 11:31:44 -05:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Sven Rebhan 3d2b7bd210
fix: Do not error out for parsing errors in datadog mode. (#11777) 2022-09-08 13:55:24 -06:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Amarinder Cheema d84bf9a949
feat(inputs.statsd): add median timing calculation to statsd input plugin (#11518) 2022-07-22 07:52:11 -06:00
Sven Rebhan e710192dc9
feat: Migrate graphite parser to new style (#11405) 2022-06-29 23:08:05 +02:00
reimda f7aab29381
chore: Fix readme linter errors for input plugins M-Z (#11274) 2022-06-08 15:22:56 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
Peter (Stig) Edwards 2cad990e10
docs: correct copy-and-paste of udp to tcp (#11080) 2022-05-11 09:54:36 -06:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
Joshua Powers 3e60bc1d4b
fix: do not error when closing statsd network connection (#11043) 2022-05-10 15:24:34 -06:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Joshua Powers 39e065fd78
fix: sanitize stasd names (#10466) 2022-03-01 15:01:08 -07:00
Mya 837465fcd5
chore: clean up all errors for markdown lint input plugins s through v (#10167) 2021-11-24 11:50:13 -07:00
rentiansheng cd0a7cd52f
fix: input plugin statsd bug (#10116) 2021-11-23 15:05:23 -07:00
Paweł Żak 2a0c3059a1
fix: Linter fixes for plugins/inputs/s* (#10104)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07:00
Mya ff8ed37762
fixed percentiles not being able to be ints (#9447) 2021-07-19 08:53:07 -06:00
Brian Lamar c6c3efdb97
Don't stop parsing after statsd parsing error (#9423) 2021-06-24 14:43:23 -06:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Paweł Żak 099ccda3f9
Linter fixes - gosimple (#9046) 2021-03-25 13:57:01 -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
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
David Bennett 25aa0eeb21
Fix statsd concurrency bug (#8885)
* Fix the issue

* Remove test I was using for replication

* Accidentally removed test.

* Add lock only where it is necessary.

* eliminate unnecessary space
2021-02-25 17:17:46 -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
Sreejith Pp f888136333
Add support for datadog distributions metric (#8179)
* Add support for datadog distributions in statsd

* Parse metric distribution correctly

* Add tests to check distributions are parsed correctly

* Update Statsd plugin Readme with details about Distributions metric

* Refactor metric distribution initialization code

* Update distribution metric interface to replace fields with value

* Refactor statsd distribution metric test code

* Fix go formatting errors

* Add tests to parse only when DataDog Distributions config is enabled

* Add config to enable parsing DataDog Statsd Distributions

* Document use of datadog_distributions config in Readme
2021-02-16 11:50:01 -06:00
Steven Soroka 9814d3d84d fix some annoying tests due to ports in use 2021-01-08 17:30:43 -05:00
David Bennett 2187baceea
Add configurable Max TTL duration for statsd input plugin entries (#8509)
* Adding max TTL duration for all metric caches in the statsd input plugin

* Update README.md

was missing type in readme
2020-12-04 14:39:00 -05:00
Russ Savage 40c6d189fe
fix(readmes): standarize first line of readmes (#7973) 2020-08-11 16:10:41 -04:00