Steven Soroka
2e32f894b6
Fix inconsistency with input error counting ( #7077 )
2020-02-25 10:40:29 -08:00
Steven Soroka
5023df08d8
resolves issues where failed api calls lead to obscure errors ( #7051 )
2020-02-19 21:46:08 -05:00
Daniel Nelson
38bc81e746
Fix atomic usage in tests ( #6964 )
2020-01-31 14:14:44 -08:00
dbutler-starry
2156a6242e
Add support for per output flush jitter ( #6603 )
2019-11-12 16:43:39 -08:00
Daniel Nelson
2397c53d7d
Exclude alias tag if unset from plugin internal stats ( #6571 )
2019-10-23 12:40:31 -07:00
Greg
817c9a69a9
Document and add support to input plugins for logging alias ( #6357 )
2019-09-23 15:39:50 -07:00
Daniel Nelson
94f68c06d7
Use alias name in output metric buffer stats
2019-08-21 18:06:04 -07:00
Daniel Nelson
3cdc6c32dd
Fix measurement name for write errors
2019-08-21 18:06:04 -07:00
Greg
5c8d0e3ac9
Add ability to label inputs for logging ( #6207 )
2019-08-21 16:49:07 -07:00
pberlowski
dc292b73a9
Add grace period for metrics late for aggregation ( #6049 )
2019-07-31 12:52:12 -07:00
Daniel Nelson
0ff9c8ef88
Add call to optional Init function for all plugins ( #5899 )
2019-06-14 15:12:27 -07:00
Daniel Nelson
77cac557ba
Log a warning on write if the metric buffer has overflowed ( #5959 )
2019-06-05 12:34:45 -07:00
Daniel Nelson
4e3244c575
Fix aggregator window and shutdown of multiple aggregators ( #5644 )
2019-03-29 15:40:33 -07:00
Daniel Nelson
99a390b8e6
Fix open error handling in file output ( #5540 )
2019-03-22 13:59:30 -07:00
Daniel Nelson
0b5811e193
Fix panic when rejecting empty batch ( #5524 )
2019-03-04 12:36:19 -08:00
Daniel Nelson
c57f2d9d48
Ignore tracking for metrics added to aggregator ( #5508 )
2019-03-01 11:21:31 -08:00
Daniel Nelson
b34c5e0d04
Update the buffer_size internal metric after writes ( #5314 )
2019-01-22 13:43:51 -08:00
Daniel Nelson
da80276802
Use lifo order in metric buffer ( #5287 )
2019-01-15 11:48:52 -08:00
Daniel Nelson
0fd08dd65a
Add a copy of the input metric when adding to aggregator ( #5266 )
2019-01-08 11:56:44 -08:00
Daniel Nelson
544262a23a
Apply global and plugin level metric modifications before filtering ( #5152 )
2018-12-18 14:20:43 -08:00
Greg
74d8523db6
Aggregate early metrics, rather than ignore ( #5085 )
2018-12-10 16:07:08 -08:00
Daniel Nelson
0a506a93fe
Remove metrics from the buffer on write ( #5052 )
2018-11-29 12:58:48 -08:00
Daniel Nelson
6e5c2f8bb6
Remove outputs blocking inputs when output is slow ( #4938 )
2018-11-05 13:34:28 -08:00
Trevor Pounds
ee056278f5
Enable gofmt code simplification ( #4887 )
2018-10-19 13:32:54 -07:00
Daniel Nelson
7553c8fd13
Remove metric recreation when filtering ( #4767 )
2018-09-28 14:48:20 -07:00
Daniel Nelson
1aa969aabc
Use separate mutexes for write and aggregation in running_output
2018-09-12 00:23:50 -07:00
Daniel Nelson
23a8498963
Fix locking if output is an AggregatingOutput
2018-09-10 15:14:14 -07:00
Gunnar
f70d6519e7
Add Azure Monitor output plugin ( #4089 )
2018-09-05 14:50:32 -07:00
Daniel Nelson
886d8cc840
Drop message batches in kafka output if too large ( #4565 )
2018-08-17 13:51:21 -07:00
Shanshi Shi
e538433959
Preserve metric type when using filters in output plugins ( #4481 )
2018-08-01 16:39:54 -06:00
Piotr Popieluch
dfe7b5eec2
Don't skip metrics during startup in aggregate phase ( #4230 )
2018-06-05 16:30:53 -07:00
Daniel Nelson
beeab2c509
Sort field names when running --test
2018-04-04 16:30:22 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Daniel Nelson
8147d60973
Fix metric buffer limit in internal plugin after reload
2018-02-19 20:55:28 -08:00
Piotr Popieluch
601dc99606
Align aggregator period with internal ticker to avoid skipping metrics ( #3693 )
...
By the time the aggregator.run() was called about 600ms already passed since setting now which was skewing up the aggregation intervals and skipping metrics.
2018-01-18 17:37:53 -08:00
Daniel Nelson
28d16188b3
Fix panic when handling string fields with escapes ( #3188 )
2017-08-30 21:16:37 -07:00
Daniel Nelson
573bd4aa32
Start first aggregator period at startup time ( #3050 )
...
Fixes issue where metrics collected immediately after startup would not
be aggregated.
2017-07-24 18:25:05 -07:00
DanKans
d903a9142d
Fix filtering when both pass and drop match an item ( #3036 )
...
Adjust logic in functions responsible for passing metrics in order to be able
to process them correctly in case where pass and drop are defined together.
2017-07-21 10:53:57 -07:00
DanKans
34c042c7dc
Fix combined tagdrop/tagpass filtering ( #3031 )
2017-07-19 13:08:40 -07:00
Daniel Nelson
b165ce4cd5
Prevent possible deadlock when using aggregators ( #3016 )
...
Looping the metrics back through the same channel could result in a
deadlock, by using a new channel and locking the processor we can ensure
that all stages can make continual progress.
2017-07-13 15:34:21 -07:00
Daniel Nelson
5d2c093105
Prevent Write from being called concurrently ( #3011 )
2017-07-12 12:03:23 -07:00
Daniel Nelson
1388e2cf92
Do not allow metrics with trailing slashes ( #3007 )
...
It is not possible to encode a measurement, tag, or field whose last
character is a backslash due to it being an unescapable character.
Because the tight coupling between line protocol and the internal metric
model, prevent metrics like this from being created.
Measurements with a trailing slash are not allowed and the point will be
dropped. Tags and fields with a trailing a slash will be dropped from
the point.
2017-07-11 15:54:38 -07:00
Cameron Sparr
06176ef410
Only set the buffer size once
...
fixes #2380
2017-02-17 14:11:15 +00:00
Cameron Sparr
e87ce22af9
running output: Drop nil metrics
...
fixes #2317
2017-02-01 08:55:22 +00:00
Cameron Sparr
7279018cfe
readme fixup & test output fixup
2017-01-09 12:28:13 +00:00
Cameron Sparr
12db3b9120
Check if metric is nil before calling SetAggregate
...
fixes #2146
2016-12-13 12:27:10 +00:00
Cameron Sparr
d71a42cd1b
Implement telegraf collecting stats on itself
...
closes #1348
2016-12-05 18:56:54 +00:00
Cameron Sparr
e5c7a71d8e
Fix unit tests for new metric implementation
2016-12-01 18:17:02 +00:00
Cameron Sparr
db7a4b24b6
Implement telegraf's own full metric type
...
main reasons behind this:
- make adding/removing tags cheap
- make adding/removing fields cheap
- make parsing cheaper
- make parse -> decorate -> write out bytes metric flow much faster
Refactor serializer to use byte buffer
2016-12-01 18:17:02 +00:00
Cameron Sparr
a84ce5d5cb
drop metrics outside of the aggregators period
2016-10-12 14:56:03 +01:00