Paweł Żak
39a5ca27ef
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/aggregators`, `plugins/common`, `plugins/parsers`, `plugins/processors`, `plugins/secretstores` and `plugins/serializers` ( #16039 )
2024-10-18 09:10:58 -05:00
Paweł Żak
c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 ( #14759 )
2024-02-12 23:26:10 +01:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
Sven Rebhan
7ced2606b2
chore(parsers)!: Remove old-style creation ( #13310 )
2023-05-23 14:17:11 -06:00
Thomas Casteleyn
6a2f6f301f
chore: eliminate unnecessary use of quoted strings in printf ( #12722 )
2023-02-23 06:49:36 -07: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
Joshua Powers
8c49ddccc3
chore: update to go1.19.1 ( #11776 )
2022-09-08 12:49:36 -06:00
Sven Rebhan
e710192dc9
feat: Migrate graphite parser to new style ( #11405 )
2022-06-29 23:08:05 +02:00
Paweł Żak
8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* ( #10145 )
2021-11-24 11:52:51 -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
Hítalo Silva
f6e2d451cd
Graphite tags parser ( #8564 )
2020-12-15 13:41:51 -05:00
Daniel Nelson
8d96dd71c7
Allow graphite parser to create Inf and NaN values ( #6420 )
2019-09-19 20:03:10 -07:00
Charlie Vieth
b35beb2fba
Reduce the cpu/memory used by the graphite parser ( #5841 )
2019-06-14 12:45:07 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Noah Crowley
87830a1c38
Ignore empty lines in Graphite plaintext ( #3684 )
2018-01-16 13:44:56 -08:00
atzoum
317de40ac4
Add support for dropwizard input format ( #2846 )
2018-01-08 15:11:36 -08: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
e96f7a9b12
graphite parser, handle multiple templates empty filter
...
Previously, the graphite parser would simply overwrite any template that
had an identical filter to a previous template. This included the empty
filter.
Now we will still overwrite, but first we will sort to make sure that
the most "specific" template always matches.
closes #1731
2016-10-11 15:22:51 +01:00
Cameron Sparr
9144f9630b
graphite parser: support multiple tag keys
...
closes #1272
2016-05-25 17:11:28 +01:00
Chris H (CruftMaster)
20b4e8c779
GREEDY field templates for the graphite parser, and support for multiple specific field names
...
closes #789
2016-03-21 13:32:51 -06:00
Cameron Sparr
8d0f50a6fd
MQTT Consumer Input plugin
2016-02-12 11:13:32 -07:00
Cameron Sparr
e619493ece
Implementing generic parser plugins and documentation
...
This constitutes a large change in how we will parse different data
formats going forward (for the plugins that support it)
This is working off @henrypfhu's changes.
2016-02-08 21:08:44 -07:00