Commit Graph

74 Commits

Author SHA1 Message Date
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -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
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
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
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -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
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
Daniel Nelson c73ed8ca6c
Export internal/tls package for use in execd plugins (#7697) 2020-06-25 11:44:22 -07: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
kden416 169fd64788 Add list of possible container states to docker docs (#6099) 2019-07-15 17:10:42 -07:00
George 3f424b88c9
Add docker_devicemapper measurement to docker input plugin (#6084) 2019-07-15 10:24:47 +01: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
Chris Goller 80089c7caf Add better user-facing errors for API timeouts (#6016) 2019-06-19 18:02:51 -07:00
George c52e7d88d7 Add container uptime_ns in docker input plugin (#5996) 2019-06-19 15:37:10 -07:00
Evan Baker dfb83778ea Add ecs/fargate input plugin (#5121) 2019-05-26 20:01:02 -07:00
Jon McKenzie 633a468ff9 Improve Docker image identifier parsing (#5838) 2019-05-17 11:02:22 -07:00
Greg 723d8f0104 Fix panic in docker input with bad endpoint (#5226) 2019-01-03 15:57:39 -08:00
Daniel Nelson 27bd51b9ac
Use container name from list if no name in container stats (#4854) 2018-10-12 14:36:55 -07:00
Mathevet julien 4c2786298d Exclude cached memory on docker input plugin (#4383) 2018-07-17 17:02:03 -06: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 de355b76d6
Simplify testing with TLS (#4095) 2018-05-04 16:33:23 -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
Jacob McCann 7ab0d50116 Add container health metrics to docker input (#3666) 2018-01-12 17:43:51 -08:00
Daniel Nelson cbbdf1043b
Use current time if container read time is zero value (#3437) 2017-11-07 11:41:53 -08: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 b762546fa7
docker: check type when totalling blkio & net metrics
closes #2027
2016-12-21 12:18:38 +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
Cameron Sparr c7834209d2 Major Logging Overhaul
in this commit:

- centralize logging output handler.
- set global Info/Debug/Error log levels based on config file or flags.
- remove per-plugin debug arg handling.
- add a I!, D!, or E! to every log message.
- add configuration option to specify where to send logs.

closes #1786
2016-10-03 17:13:03 +01:00