Commit Graph

56 Commits

Author SHA1 Message Date
Paweł Żak c4dbe65732
chore(linters): Bump golangci-lint to v1.56.1 (#14759) 2024-02-12 23:26:10 +01: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
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
Sven Rebhan e2578462a5
fix(inputs): Linter issues (#11576) 2022-08-02 13:52:17 +02:00
Sebastian Spaink 80d66dfed9
fix(inputs.docker): keep field type of tasks_desired the same (#10711) 2022-03-08 09:00:48 -06:00
Jason Heard ac65eb6325
fix: update docker memory usage calculation (#10491) 2022-01-28 14:03:50 -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
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
Sven Rebhan 03b2daeb1b
Linter fixes (unhandled errors) -- Part 2 (#9122) 2021-04-22 16:08:03 -05: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 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
Paweł Żak 3efec1a10c
Fix vulnerabilities found in BDBA scan (#8199) 2020-09-30 13:24:10 -04:00
Daniel Nelson ce3ae58ad9
Fix uptime_ns calculation when container has been restarted (#6649) 2019-11-12 11:58:13 -08:00
Randy Coburn a5294fde32 Add container id as optional source tag to docker and docker_log input (#6473) 2019-10-07 17:27:32 -07:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
George 3f424b88c9
Add docker_devicemapper measurement to docker input plugin (#6084) 2019-07-15 10:24:47 +01:00
Daniel Nelson f405bca034
Fix docker input unit tests 2019-06-21 14:45:56 -07:00
masuyama-ascade e6d71bdb65 Add container_id field to docker_container_status metrics (#6019) 2019-06-21 12:20:35 -07:00
Daniel Nelson a0c739eec7
Follow up work on docker_log input (#6008) 2019-06-20 11:54:12 -07:00
George c52e7d88d7 Add container uptime_ns in docker input plugin (#5996) 2019-06-19 15:37:10 -07:00
Jon McKenzie 633a468ff9 Improve Docker image identifier parsing (#5838) 2019-05-17 11:02:22 -07:00
Trevor Pounds ee056278f5 Enable gofmt code simplification (#4887) 2018-10-19 13:32:54 -07:00
Daniel Nelson 27bd51b9ac
Use container name from list if no name in container stats (#4854) 2018-10-12 14:36:55 -07:00
Greg 0da94a1b3c Fix incorrect container name gathered in docker input (#4391) 2018-07-12 18:41:49 -07:00
prashanthjbabu 98d86df797 Add container status tag to docker input (#4259) 2018-06-18 15:33:14 -07:00
Daniel Nelson 9f4752ba12
Add docker input server version (#4035) 2018-04-23 15:09:04 -07:00
Daniel Nelson 971debb582
Add filters for container state to docker input (#3950) 2018-03-30 13:17:48 -07:00
Daniel Nelson fa25e123d8 Fix container name filters in docker input (#3331) 2017-10-12 15:50:09 -07:00
Aditya C S dd4299e925 Collect Docker Swarm service metrics in docker input plugin (#3141) 2017-10-03 14:36:26 -07:00
Daniel Nelson f0bd69d904 Add tls options to docker input (#3063) 2017-07-27 17:18:44 -07:00
Daniel Nelson d6cf9f4f30 Fix docker memory and cpu reporting in Windows (#3043) 2017-07-27 15:12:29 -07:00
Yann Cézard 681d20083a Only report cpu usage for online cpus in docker input (#3035) 2017-07-21 14:25:17 -07:00
Matteo Cerutti 4b3b16ef1a Add wildcard support for container inclusion/exclusion (#2793) 2017-06-08 13:17:31 -07:00
rsingh2411 93e638d63e Add Docker container environment variables as tags. Only whitelisted #2580 (#2581) 2017-05-18 16:58:34 -07:00
Patrick Hemmer 06baf7cf78 use AddError everywhere (#2372) 2017-04-24 11:13:26 -07:00
Shakeel Sorathia 35e4390168 Docker: optionally add labels as tags (#2425) 2017-04-03 13:43:15 -07:00
Cameron Sparr 81408f9da7
switch out deprecated docker client library
closes #2071
2017-02-22 10:55:00 +00:00
Cameron Sparr 285be648c4
Godeps update
closes #2356
2017-02-02 09:52:06 +00:00
Alex Sherwin 3a45d8851d fixes #1987 custom docker repos with non-standard port (#2018)
* fixed parsing of docker image name/version

now accounts for custom docker repo's which contain a colon for a non-default port

* 1978: modifying docker test case to have a custom repo with non-standard port

* using a temp var to store index, ran gofmt

* fixes #1987, renaming iterator to 'i'
2016-12-16 13:53:16 +00:00
Ross McDonald 6b25a73629 Add container state metrics to docker plugin (#1791)
* Add container state metrics to docker plugin.

* Update changelog.
2016-09-21 10:37:49 +01:00
aaron jheng 49ea4e9f39 [Docker Plugin] add server hostname for each docker measurements (#1599)
* add server hostname for each docker measurements

* update CHANGELOG

* move feature to v1.1

* tweak docker_engine_host tag
2016-09-06 08:37:46 +01:00
Pierre Fersing 0462af164e Added option "total/perdevice" to Docker input (#1525)
Like cpu plugin, add two option "total" and "perdevice" to send network
and diskio metrics either per device and/or the sum of all devices.
2016-07-21 16:50:12 +01:00
Cameron Sparr 191608041f Strip container_version from container_image tag
closes #1413
2016-07-19 17:57:40 +01:00
Jörg Thalheim 5deb22a539 docker: add container_id also to per cpu stats
currently this field exists only for total cpu usage

closes #1168
2016-05-09 16:43:27 -07:00
Jörg Thalheim 219bf93566 docker: add container_id to blkio metrics
all container metrics except blkio have this field

closes #1150
2016-05-04 09:28:13 -06:00
Cameron Sparr 7828bc09cf Fixup docker blkio container name & docker doc 2016-04-18 16:20:46 -06:00