Commit Graph

126 Commits

Author SHA1 Message Date
Sergio c0b3dd489e
feat(inputs.docker): Support swarm jobs (#16292) 2024-12-16 10:06:22 -06:00
Paweł Żak b4fdd52ff3
chore: Fix linter findings for `revive:enforce-slice-style` in `plugins/inputs/[a-d]*` and `plugins/common` (#16161) 2024-11-11 11:33:45 +01:00
Sven Rebhan dcec9d1cea
docs(inputs): Add plugin metadata and update description for a* to f* (#16097) 2024-10-31 16:15:21 -05:00
Paweł Żak 6c48fbb1f2
chore: Fix linter findings for `revive:enforce-map-style` in `plugins/inputs/[a-m]*` (#16042) 2024-10-21 13:11:11 +02:00
Paweł Żak e8c19d9987
chore: Fix linter findings for `revive:exported` in `plugins/inputs/d*` (#16016) 2024-10-16 12:38:11 +02:00
Paweł Żak 9415d8e7e9
chore(linters): Enable `import-alias-naming` and `redundant-import-alias` rules for revive (#15836) 2024-10-01 13:49:53 -05:00
Thomas Casteleyn 0febb7e588
chore(inputs): Remove deprecated options from sample config (#15872) 2024-09-23 11:34:25 -05:00
Paweł Żak e6d82bd996
chore: Fix linter findings for `revive:enforce-repeated-arg-type-style` in `plugins/inputs/[a-g]*` (#15849) 2024-09-16 10:56:55 -05:00
dependabot[bot] a978110b2c
chore(deps): Bump github.com/docker/docker from 25.0.5+incompatible to 27.1.1+incompatible (#15681) 2024-07-31 10:54:08 -05:00
Joshua Powers 71718fba7d
chore: Update removal dates to either v1.35.0 or v1.40.0 (#15452) 2024-06-05 15:19:47 -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 98ec91478a
chore(linters): replace 'fmt.Sprintf' with string addition (#14699) 2024-02-08 15:46:22 -05:00
dependabot[bot] 4a05bef582
chore(deps): Bump github.com/docker/docker from 24.0.7+incompatible to 25.0.0+incompatible (#14607)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Josh Powers <powersj@fastmail.com>
2024-01-23 17:54:50 +01:00
Damian Szczepanik 0e1f3f8b86
docs(inputs.docker): Add help message about permissions for container (#14094) 2023-10-12 08:40:19 -06:00
R290 705176b8d5
feat(inputs.docker): Add disk usage (#13894) 2023-09-27 14:28:36 -06:00
Joshua Powers 54b1009a9f
fix(inputs.docker): Add restart count (#13646) 2023-07-24 09:25:31 +02:00
r3inbowari 19c4316694
chore: Update README.md (#12989) 2023-04-04 13:43:49 +02:00
Paweł Żak 312fb04b68
chore: Fix linter findings for errorlint (part4) (#12723)
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 21:38:06 +01:00
Thomas Casteleyn 61523bd4b9
feat(tools/readme_linter): Check for global configuration section (#12426) 2023-01-12 16:55:21 +01:00
Paweł Żak b9bba638b1
chore: Wrap long lines in plugins/inputs/[a-d]* (#12185) 2022-11-08 18:41:17 +01:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
reimda 1b1482b5eb
chore: Fix readme linter errors for input plugins A-D (#10964) 2022-06-07 15:10:18 -06:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 6b697db11e
chore(inputs_a-l): migrate sample configs into separate files (#11132) 2022-05-18 11:31:52 -05:00
Eng Zer Jun 81090be35d
refactor: replace strings.Replace with strings.ReplaceAll (#11079) 2022-05-11 09:53:34 -06:00
Sebastian Spaink 8e2b4988fe
feat: migrate input plugins to new sample config format (A-L) (#10924) 2022-04-07 16:01:21 -06:00
Sebastian Spaink 80d66dfed9
fix(inputs.docker): keep field type of tasks_desired the same (#10711) 2022-03-08 09:00:48 -06:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Jason Heard ac65eb6325
fix: update docker memory usage calculation (#10491) 2022-01-28 14:03:50 -07:00
Joshua Powers c353bace3a
feat: update docker client API version (#10382) 2022-01-06 07:30:42 -07:00
Joshua Powers 0c02f245d6
fix: markdown: resolve all markdown issues with d-f (#10171) 2021-11-24 11:56:26 -07:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Dmitry Alimov 285cae2b64
Fix typo in perDeviceIncludeDeprecationWarning (#9442) 2021-07-06 17:04:06 -04:00
Paweł Żak 9a794919e3
Linter fixes for plugins/inputs/[de]* (#9379) 2021-06-21 10:07:52 -05:00
Vyacheslav Stepanov 905b22cac9
Closing all idle connections in docker input plugin (#9243)
This prevents error "too many open files" in most cases
2021-06-14 23:23:39 -05:00
Adam Dobrawy 26e791f1c8 Add docs for docker-compose labels in docker input (#9173) 2021-05-03 16:15:35 -04:00
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -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
Aladex dc8e4ef62e
check for length of perusage for stat gathering and removed not used function (#9009) 2021-03-22 15:01:25 -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 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Andrés Álvarez 786dca2d5e
[plugins/input/docker] Make perdevice affect also cpu and add class granularity through perdevice_include/total_include (#7312) 2021-03-03 14:02:04 -05:00
Patrick Koenig 6bc731be92
Use consistent container name in docker input plugin (#8703) 2021-03-02 14:19:08 -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 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00