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
Stephen Solka
6580c6a597
prefer testify error funcs over nil checks ( #7857 )
2020-07-20 10:34:46 -04: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
9243ae9f51
Add udp internal metrics for the statsd input ( #6921 )
2020-01-22 15:28:41 -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
Cristofer Gonzales
b15fe4a28e
Initialize accumulator in statsd during Start ( #6121 )
2019-07-15 18:23:56 -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
Daniel Nelson
22ab649261
Listen before leaving start in statsd ( #5628 )
2019-03-26 18:11:56 -07:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Daniel Nelson
41d528c8ce
Split parser/serializer docs ( #4690 )
2018-09-17 11:45:08 -07:00
Daniel Nelson
e2b1a6bc89
Add read_buffer_size option to statsd input ( #4598 )
2018-08-27 14:47:04 -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
Jorge Canha
cd620ac144
Add keep alive support to the TCP mode of statsd ( #3781 )
2018-02-15 20:04:49 -08:00
Jacob McCann
666eb47613
Listen on localhost interface in tests ( #3667 )
2018-01-12 12:08:19 -08:00
Maximilien Richer
5f215c22fe
Fix typos in comments ( #3415 )
2017-10-31 17:00:06 -07:00
Craig Wickesser
246ffab3e0
Add UDP IPv6 support to statsd input ( #3344 )
2017-10-16 14:18:36 -07:00
Daniel Nelson
4fab572b6b
Release buffer back to pool earlier
2017-10-05 12:12:14 -07: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
73372872c2
Fix panic in statsd p100 calculation ( #3230 )
2017-09-14 15:27:42 -07:00
Trevor Pounds
171332c579
Add support for timing sums in statsd input ( #3234 )
2017-09-14 15:21:54 -07:00
Trevor Pounds
fa1982323a
Fix counter and gauge metric types. ( #3232 )
2017-09-14 13:05:37 -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
200237a515
Do not create a global statsd "previous instance"
...
this basically reverts #887
at some point we might want to do some special handling of reloading
plugins and keeping their state intact, but that will need to be done at
a higher level, and in a way that is thread-safe for multiple input
plugins of the same type.
Unfortunately this is a rather large feature that will not have a quick
fix available for it.
fixes #1975
fixes #2102
2016-12-20 17:55:04 +00:00
Cameron Sparr
9866146545
Support negative statsd counters
...
closes #1898
2016-12-20 13:21:51 +00:00
Cameron Sparr
f39db08c6d
Set default values for delete_ configuration options
...
closes #1893
2016-12-13 20:00:52 +00:00
Cameron Sparr
e2f9617228
Support strings in statsd set measurements
...
closes #2068
2016-12-13 15:42:22 +00:00
Cameron Sparr
ca55c4a55d
Remove COMING SOON: multiple statsd fields
2016-10-11 10:57:34 +01:00
Cameron Sparr
c7834209d2
Major Logging Overhaul
...
in this commit:
- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.
closes #1786
2016-10-03 17:13:03 +01:00
Vinh Quốc Nguyễn
1d10eda84e
Fix crash when allow pending messgae wasn't set ( #1785 )
...
The default is 0 so we hit a division by 0 error and crash. This checks
ensure we will not crash and `log` and continue to let telegraf run
Also we set default allow pending message number to 10000
2016-09-23 11:37:47 +01: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
e999298078
speed up statsd parser
2016-09-15 08:11:06 -04: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
06cb5a041e
statsd, udp, tcp: do not log every dropped metric.
...
also applying this change to the udp_listener and tcp_listener input
plugins
closes #1340
2016-06-10 13:47:33 +01:00
Cameron Sparr
b59266249d
README fixups for udp_listener, statsd inputs
...
closes #1119
2016-04-28 13:11:41 -06:00
Cameron Sparr
07f0d561dc
Eliminate byte buffer, copy scanner.Bytes directly
2016-04-08 09:50:03 -06:00
Cameron Sparr
be379f3dac
Refactor UDP & TCP input buffers
...
closes #991
2016-04-08 09:50:03 -06:00