Paweł Żak
743e023f84
chore: Fix linter findings for makezero (part1) ( #12254 )
2022-11-21 21:07:07 +01:00
Paweł Żak
6816aefcd5
chore: fix linter findings for unparam and revive.unused-parameter ( #12150 )
2022-11-08 12:04:12 -07:00
Paweł Żak
7807847356
chore: Wrap long lines in plugins/parsers ( #12180 )
2022-11-08 18:47:35 +01:00
Joshua Powers
173d32a201
fix(inputs.influxdb_listener): error on invalid precision ( #11866 )
2022-10-03 07:23:06 -06:00
Sebastian Spaink
9744c3a6a2
feat: Migrate influx and influx_upstream parsers to new style ( #11432 )
2022-07-06 15:23:13 -05:00
reimda
34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins ( #10960 )
2022-06-06 17:04:28 -06:00
Alexander Kapshuna
18980772a9
docs: correct influx parser type setting in README ( #11004 )
2022-04-20 07:14:03 -06:00
Joshua Powers
40ed7fb693
feat(parsers.influx): New influx line protocol via feature flag ( #10749 )
2022-03-10 15:09:58 -07:00
Paweł Żak
8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* ( #10145 )
2021-11-24 11:52:51 -07:00
Joshua Powers
779c1f0a59
chore: clean up all markdown lint errors in parser plugins ( #10153 )
2021-11-24 11:45:25 -07:00
Patrick Hemmer
128ed8849b
fix: memory leak in influx parser ( #9787 )
2021-10-07 15:35:44 -05:00
Sebastian Spaink
3a7d9b6d98
fix: support 1.17 & 1.16.7 Go versions ( #9642 )
2021-08-23 15:37:44 -05: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
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
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
Paweł Żak
ba66d4facb
Revive fixes - part 1 ( #8797 )
...
* Revive fixes regarding following set of rules:
[rule.blank-imports]
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
[rule.error-return]
[rule.error-strings]
[rule.indent-error-flow]
[rule.errorf]
2021-02-08 11:18:40 -05:00
Adrian Thurston
4462b172f3
fix: remove ambiguity on '\v' from line-protocol parser ( #8720 )
2021-01-20 18:33:59 -05:00
Helen Weller
9f31184e20
Fix readme link for line protocol in influx parser ( #8610 )
2020-12-21 14:37:50 -05:00
Roger Peppe
9ee87ab7c3
fix: plugins/parsers/influx: avoid ParseError.Error panic ( #8177 )
2020-09-30 13:26:00 -04:00
Steven Soroka
7ba226a00b
fix issue with stream parser blocking when data is in buffer ( #7631 )
2020-06-05 18:30:25 -04:00
Steven Soroka
a438678d5b
make sure parse error includes offending text ( #7561 )
2020-05-27 14:58:58 -04:00
Josh Soref
2c56d6de81
Fix spelling errors in comments and documentation ( #7492 )
2020-05-14 00:41:58 -07:00
Daniel Nelson
cf3d48bb68
Allow CR and FF inside of string fields and fix parser panic ( #7427 )
2020-04-28 14:42:37 -07:00
reimda
a0276385b1
Refactor InfluxDB listener ( #6974 )
...
Use streaming parser in InfluxDB listener
2020-03-04 11:13:44 -07:00
Marc Venturini
4b6e791908
Fix sensor read error stops reporting of all sensors in temp input ( #5941 )
2019-06-14 11:27:24 -07:00
Daniel Nelson
c283e5992a
Fix tags applied to wrong metric on parse error ( #5650 )
2019-04-02 11:14:56 -07:00
Daniel Nelson
04f3c4321c
Fix several influx parser issues ( #5484 )
...
- Add line/column position
- Allow handlers to return errors
- Fix tag value escaping
- Allow newline in string fields
2019-02-26 10:48:41 -08: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
Greg
e9eeda555e
Reset/flush saved contents from bad metric ( #4646 )
2018-09-06 18:45:40 -06:00
Daniel Nelson
0af40a8a5d
Fix dropwizard parsing error for metrics that need escaped ( #4142 )
...
If the dropwizard parser cannot convert the metric name into a valid
line protocol series then we will accept the name as is.
2018-05-14 11:00:03 -07:00
Daniel Nelson
a3500cc33a
Fix handling of floats with multiple leading zeroes ( #4065 )
2018-04-23 13:29:49 -07:00
Daniel Nelson
fe4d3cd117
Fix ints being capped at 32-bits on 32-bit archs ( #4054 )
2018-04-20 14:56:28 -07:00
Daniel Nelson
e4f8a82ee6
Fix newline escaping in line protocol ( #3992 )
2018-04-09 15:29:52 -07:00
Daniel Nelson
bcaaeda49c
Fix precision truncation when no timestamp included ( #3961 )
2018-04-02 14:32:33 -07:00
Daniel Nelson
64b239663c
Add mutex to influx parser
2018-04-02 12:52:23 -07:00
Daniel Nelson
38ec968b0b
Move Handler interface into machine where it is used
2018-03-30 11:11:12 -07:00
Daniel Nelson
b99cd14129
Add influx uint support as a runtime option ( #3948 )
2018-03-29 13:31:43 -07:00
Matt
a320f91516
Add line protocol uint64 support ( #3946 )
2018-03-28 16:43:25 -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
4f42d8a298
Add benchmark test for single metric
2017-12-08 13:23:08 -08:00
faye-sama
a411306fba
Fail metrics parsing on unescaped quotes ( #3409 )
...
Before this change Fields() method on a metric parsed from a line with
unescaped quotes could panic. This change makes such line unparseable.
Fixes #3326
2017-11-13 15:06:47 -08:00
Daniel Nelson
62b5c1f7e7
Add support for precision in http_listener ( #2644 )
2017-04-10 16:39:40 -07:00
Cameron Sparr
54cfbb5b87
metric: Fix negative number handling
...
closes #2324
2017-02-01 10:07:31 +00:00
Cameron Sparr
22340ad984
Add newline to influx line-protocol if not present
...
closes #2297
2017-01-23 13:52:20 -08: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
5c32521a07
Add benchmarks for metric parsing and creating
2016-11-23 17:23:08 +00:00
Cameron Sparr
097b1e09db
http listener refactor
...
in this commit:
- chunks out the http request body to avoid making very large
allocations.
- establishes a limit for the maximum http request body size that the
listener will accept.
- utilizes a pool of byte buffers to reduce GC pressure.
2016-10-24 18:17:49 +01:00