Paweł Żak
080e9a1338
chore(deps): Bump golangci-lint from v1.64.5 to v2.0.2 ( #16683 )
2025-03-31 13:52:09 +01:00
Paweł Żak
f8af593d33
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/parsers`, `plugins/processors`, `plugins/secretstores` and `plugins/serializers` ( #15980 )
2024-10-15 13:02:45 +02:00
Paweł Żak
0804ccef4e
chore(linters): Enable `string-format` rule for revive ( #15983 )
2024-10-09 09:07:46 +02:00
Sven Rebhan
b2967cb515
chore: Update go to v1.23.0 ( #15766 )
...
Co-authored-by: Pawel Zak <pawel.zak.pawel@gmail.com>
2024-08-30 14:23:51 -05:00
Paweł Żak
1422c09294
test(linters): Enable `testifylint`: `blank-import`, `float-compare`, `negative-positive`, `nil-compare` and `useless-assert` ( #15566 )
2024-07-01 15:00:13 +02:00
Dane Strandboge
28543bae7c
chore(linters): Fix non-input/output plugin errcheck warnings ( #15472 )
2024-06-12 07:52:42 -06:00
Viktor Szépe
31a1d34d99
chore: Fix typos throughout codebase ( #15338 )
2024-05-31 10:26:37 +02:00
Sven Rebhan
5d16330c08
test(parsers): Sort metrics to avoid flaky tests ( #14284 )
2023-11-13 12:38:47 -07:00
Joshua Powers
6fd41686d3
chore(parsers): Add additional parser benchmarks ( #14276 )
2023-11-13 09:34:22 +01:00
Sven Rebhan
7ced2606b2
chore(parsers)!: Remove old-style creation ( #13310 )
2023-05-23 14:17:11 -06:00
Paweł Żak
c76f319b84
chore: Remove `revive:unhandled-error` - `errcheck` is more flexible ( #13008 )
2023-04-03 07:19:43 -06: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
7807847356
chore: Wrap long lines in plugins/parsers ( #12180 )
2022-11-08 18:47:35 +01:00
Sebastian Spaink
9e50853ab8
feat: Migrate nagios parser to new style ( #11402 )
2022-06-30 13:20:32 -05:00
reimda
34eff493ae
chore: Fix readme linter errors for processor, aggregator, and parser plugins ( #10960 )
2022-06-06 17:04:28 -06:00
Sakerdotes
42f954fc88
fix(parsers/nagios): metrics will always return a supported status co… ( #11062 )
...
Co-authored-by: Morten Urban <morten.urban@sectornord.de>
2022-05-17 15:14:26 -05:00
Sakerdotes
83ab2b8bb5
fix(parsers.nagios): nagios parser now uses real error for logging #10472 ( #10473 )
2022-01-20 10:42:40 -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
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
scier
60027cf902
Add support for multiple line text and perfdata to nagios parser ( #5601 )
2019-03-25 16:24:42 -07:00
Greg
1d76343422
Enhance performance data for nagios parser ( #4691 )
2018-09-18 09:08:46 -07:00
Daniel Nelson
41d528c8ce
Split parser/serializer docs ( #4690 )
2018-09-17 11:45:08 -07:00
Daniel Nelson
1c0f63a90d
Add new line protocol parser and serializer, influxdb output ( #3924 )
2018-03-27 17:30:51 -07:00
Leandro Piccilli
5da40d56ad
Check if tag value is empty before allocation
...
closes #2390
closes #2404
2017-02-16 23:07:27 +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
Thibault Cohen
8f09aadfdf
Add nagios parser for exec input plugin
...
closes #762
2016-03-21 13:34:47 -06:00