Commit Graph

27 Commits

Author SHA1 Message Date
DasSkelett 163060b3fa
Update runc to 1.1.0 to get newer x/sys and fix Go 1.18 build (#292)
* Update runc to 1.1.0 to get newer x/sys

...to fix building on Darwin with Go 1.18.

This required some code changes as opencontainers unfortunately introduced breaking changes in a minor revision.
However, those changes were to simpify the libcontainer factory initialization.

* Switch CircleCI image to cimg/go, update remote Docker version to 20.10
2022-03-23 13:46:40 -04:00
Florian Vahl 350cb09338
Fix cpu count estimation (#281)
* Fix query for the number of cpu cores.

* Fix formating

* Fix formating again...
2021-12-29 11:56:22 -05:00
Frol Kryuchkov 99be3b979e #254-handling-with-wrong-log-format 2021-06-11 17:22:34 +03:00
Sergey Ponomarev 948e7cc9d0 docker_logs.go use SplitN(2) 2020-11-26 12:08:36 +02:00
Sergey Ponomarev b4a63f8c60 docker_logs.go: use time.RFC3339Nano constant 2020-11-24 22:19:29 +02:00
Sergey Ponomarev f377dcaee2 #207 Replace scaleCpu option with dedicated column CPU Scaled
The new column is disabled by default.
2020-11-20 23:08:19 +02:00
Bradley Cicenas 99d9aeec98
set running = false when mock,runc collectors stopped 2020-11-13 21:43:11 +00:00
bradley 44600fca45
Merge pull request #201 from vcmkrtchyan/master
Fix freeze when container is started/stopped multiple times
2020-11-13 16:42:16 -05:00
Sergey Ponomarev 3a29c94833 Use percent() function to calc CPU usage 2020-11-13 11:02:14 +02:00
Bradley Cicenas c5038e2edd
aggregate io r/w across all reported stats volumes 2020-10-25 17:42:20 +00:00
Bradley Cicenas 03a0da3230
update go version, deps for runc v1.0.0-rc92 2020-10-25 14:22:47 +00:00
Vahe Mkrtchyan 4a0e80ffdf Fix freeze when container is started/stopped multiple times 2020-07-23 15:23:19 +04:00
Bradley Cicenas 4b391e900c use raw log stream in docker log collector 2019-11-06 07:32:29 -05:00
bartfokker 4d247f5272 replace unkeyed fiels with keyed fields when instantiating log struct 2018-10-25 22:17:05 +02:00
bartfokker 6bee1b7f31 remove unneeded select for simple channel receive 2018-10-25 22:11:17 +02:00
Bradley Cicenas 10b9a6c013 include windows build 2018-01-31 17:05:54 +00:00
Bradley Cicenas d785b263f4 add scale-cpu switch 2018-01-11 12:19:00 -03:00
Bradley Cicenas 1c8f4b3a35 add logging for log reader start/stop 2017-11-28 09:38:32 -05:00
Bradley Cicenas 3e5176a79c add NewDockerLogs constructor method 2017-11-28 09:36:28 -05:00
Bradley Cicenas 55a356bbec omit cache from memory usage stat 2017-08-11 16:44:52 +02:00
Bradley Cicenas 79a3f361a7 add container log struct to models, collectors 2017-07-04 12:32:25 +00:00
Bradley Cicenas 17e2c2df8e add LogCollector interface, docker, mock log collectors 2017-06-27 14:18:17 -03:00
Bradley Cicenas 240345d527 add StreamLogs() to collector interface 2017-06-26 15:35:57 +00:00
Bradley Cicenas 2d284d9277 rename metrics subpackage 2017-06-26 15:35:57 +00:00
Bradley Cicenas 617b1b2863 omit runc connector from darwin build 2017-06-14 10:11:40 -03:00
Bradley Cicenas 400d9471b6 add pidcount,io to mock collector 2017-06-13 17:25:58 -03:00
Bradley Cicenas 1be452d7c0 refactor collectors into subpackage 2017-06-12 11:12:03 -03:00