Sven Rebhan
18cdb1a99e
chore(serializers)!: Remove old-style creation ( #15971 )
2024-12-05 08:32:10 -06:00
Joshua Powers
7f83b7aae9
feat(serializers.influx): Add option to omit timestamp ( #15220 )
2024-05-02 13:50:50 -05:00
Joshua Powers
02473069f4
chore: Add metric and batch benchmark to serializers ( #14277 )
2023-11-13 09:30:19 +01:00
Paweł Żak
34ae468a8c
chore(linters): Fix findings found by testifylint: len ( #14203 )
2023-10-31 10:29:53 +01:00
Sven Rebhan
9bb2d1562d
chore(serializers): Add new-style framework and migrate influx ( #12920 )
2023-04-11 21:52:42 +02:00
Paweł Żak
4201f24020
chore: Fix linter findings for errorlint (part2) ( #12702 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Paweł Żak
86cd0c0c24
chore: Fix linter findings for makezero (part4) ( #12410 )
2022-12-20 11:42:09 +01:00
Paweł Żak
743e023f84
chore: Fix linter findings for makezero (part1) ( #12254 )
2022-11-21 21:07:07 +01:00
Paweł Żak
236af553a3
chore: wrap long lines in other locations ( #12219 )
2022-11-11 06:32:11 -07: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
59eeddb41e
fix: Linter fixes for plugins/serializers/[a-z]* ( #10181 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-30 14:50:00 -06:00
Joshua Powers
c172df21a4
chore: clean up all markdown lint errors in serializer plugins ( #10158 )
2021-11-24 11:47:23 -07: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
099ccda3f9
Linter fixes - gosimple ( #9046 )
2021-03-25 13:57:01 -04: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
Daniel Nelson
643fb7decc
Remove trailing backslash from tag keys/values ( #7652 )
2020-06-12 17:54:49 -07:00
Daniel Nelson
f91261d7fe
Add basic benchmark for influx serializer reader ( #7078 )
2020-02-25 18:58:23 -08: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
4197426a73
Ignore errors serializing single metrics ( #5943 )
2019-06-03 17:34:48 -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
Olli-Pekka Lehto
5dfa3fa769
Fix InfluxDB output UDP line splitting ( #5439 )
2019-02-19 15:08:54 -08:00
Daniel Nelson
41d528c8ce
Split parser/serializer docs ( #4690 )
2018-09-17 11:45:08 -07:00
Daniel Nelson
fa30f568ec
Skip unserializable metric in influxDB UDP output ( #4534 )
2018-08-14 14:36:29 -06:00
Daniel Nelson
73c22a8189
Add SerializeBatch method to the Serializer interface ( #4107 )
2018-05-04 18:27:31 -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
29b37e67c2
Allow metrics to be unserializable in influx.Reader ( #4047 )
...
Metrics that are unserializable will be logged at debug level, but the
rest of the batch will be sent. Unserializable metrics can occur during
normal operation such as if you remove all fields from a metric or the
metric cannot fit within the line size limit.
2018-04-19 16:24:31 -07:00
Daniel Nelson
e4f8a82ee6
Fix newline escaping in line protocol ( #3992 )
2018-04-09 15:29:52 -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
ef112e6ee7
Revert to 'f' formatting for floats in line protocol
...
Using 'g' with -1 precision switches over to scientific notation for too
small of numbers, and setting a larger precision results in larger than
desired representations.
2018-03-28 14:38:39 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07: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
a9c135488e
Add Serializer plugins, and 'file' output plugin
2016-02-12 14:13:49 -07:00