Commit Graph

56 Commits

Author SHA1 Message Date
Paweł Żak 5af100d96b
chore: Fix linter findings for `revive:exported` in `plugins/inputs/s*` (#16363) 2025-01-16 09:47:14 -06:00
Paweł Żak d9254c210f
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[p-z]*` (#16043) 2024-10-24 11:03:31 +02:00
Paweł Żak b029889212
chore(linters): Fix findings found by `testifylint`: `go-require` for `plugins/common` and `plugins/inputs` (#15991) 2024-10-08 15:55:27 -05:00
Calin Don 5d996ac0a2
feat(inputs.statsd): Allow reporting sets and timings count as floats (#15853) 2024-09-12 14:24:19 -05:00
Paweł Żak 1422c09294
test(linters): Enable `testifylint`: `blank-import`, `float-compare`, `negative-positive`, `nil-compare` and `useless-assert` (#15566) 2024-07-01 15:00:13 +02:00
Hristo Voyvodov 495df4a72e
feat(inputs.statsd): Add support for DogStatsD v1.2 (#12991) (#15380) 2024-05-21 11:02:26 +02:00
Joshua Powers 1e6eed54c2
feat(inputs.statsd): Allow counters to report as float (#15371) 2024-05-17 12:57:50 -05:00
Paweł Żak 6506eecc9b
chore(linters): Bump golangci-lint to v1.56.0 (#14742) 2024-02-12 08:47:15 -06:00
Sven Rebhan 57fbc73814
fix(processors.starlark): Avoid negative refcounts for tracking metrics (#14395) 2023-12-07 08:45:09 -07:00
Paweł Żak 8fbea28ab3
chore(linters): Fix findings found by testifylint: expected-actual (#14229) 2023-11-01 14:09:55 -06:00
Paweł Żak 97f47c11dd
chore(linters): Fix findings found by testifylint: empty (#14179) 2023-10-25 15:09:13 -06: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
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 4f7717b4fd
test(inputs.statsd): increase sleep + expiration on test (#12354) 2022-12-09 12:55:10 -07: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
Amarinder Cheema d84bf9a949
feat(inputs.statsd): add median timing calculation to statsd input plugin (#11518) 2022-07-22 07:52:11 -06:00
Joshua Powers 39e065fd78
fix: sanitize stasd names (#10466) 2022-03-01 15:01:08 -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
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
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
Josh Soref 2c56d6de81
Fix spelling errors in comments and documentation (#7492) 2020-05-14 00:41:58 -07:00
josephpeacock ab8438dcc6
Add threaded parsing in statsd input plugin (#6922) 2020-03-03 14:47:33 -08:00
Daniel Nelson 10db774db3
Add prometheus round trip unit tests (#6720) 2019-11-26 17:31:36 -08:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Pitxyoki 72c2ac9648 Support floats in statsd percentiles (#5572) 2019-07-09 16:50:20 -07:00
Daniel Nelson 5dea2175d2
Fix panic with empty datadog tag string (#6088) 2019-07-08 14:44:36 -07:00
Daniel Nelson a231b3e79d
Fix parsing of remote tcp address in statsd input (#6031) 2019-06-25 12:04:39 -07:00
Jorge Landivar 8f3ed45797 Add support for datadog events to statsd input (#5791) 2019-05-14 16:20:35 -07:00
Trevor Pounds ee056278f5 Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
Daniel Nelson 78d4a95ce6
Test using Go 1.8-1.10; official builds with 1.10 (#4041) 2018-04-18 16:14:06 -07:00
Jacob McCann 666eb47613 Listen on localhost interface in tests (#3667) 2018-01-12 12:08:19 -08:00
Agniva De Sarker 063f3f68df Improve statsd plugin perf by using a byte buffer pool (#3254) 2017-09-25 10:55:02 -07:00
Daniel Nelson 52393582d2 Unlock Statsd when stopping to prevent deadlock (#3258) 2017-09-22 11:45:45 -07:00
Trevor Pounds 171332c579 Add support for timing sums in statsd input (#3234) 2017-09-14 15:21:54 -07:00
Slawomir Skowron f3435f1c59 Add TCP listener for statsd input (#2293) 2017-08-08 11:41:26 -07:00
Daniel Nelson 82a04d904d Use strings.Join in statsd input (#2947) 2017-06-21 16:24:23 -07:00
Cameron Sparr 9866146545
Support negative statsd counters
closes #1898
2016-12-20 13:21:51 +00:00
Cameron Sparr e2f9617228
Support strings in statsd set measurements
closes #2068
2016-12-13 15:42:22 +00:00
Rikaard Hosein 100501ba72 statsd input plugin correctly handles colons in data-dog tag values now (#1794)
* Code correctly handles colons in tag values now

* Modified existing datadog tag test to include a tag value containing a colon
2016-09-21 14:37:42 +01:00
David Norton aaddbd153e add statsd parsing benchmarks 2016-09-14 11:12:02 -04:00
Cameron Sparr ca8fb440cc Fix statsd scientific notation parsing
closes #1733
2016-09-09 15:13:11 +01:00
Cameron Sparr 07f0d561dc Eliminate byte buffer, copy scanner.Bytes directly 2016-04-08 09:50:03 -06:00
Cameron Sparr b1cfb1afe4 Deprecate statsd convert_names option, expose separator
closes #876
2016-03-28 12:13:15 -06:00
Adam Argo 59085f072a adds ability to parse datadog-formatted tags in the statsd input 2016-03-28 10:43:26 -06:00