Jimmi Dyson
7e10398a50
Use proc fs to get network stats.
...
Reasons discussed in
https://github.com/google/cadvisor/issues/822#issuecomment-135811901 &
following.
2015-08-29 00:20:07 +01:00
Victor Marmol
0525d40a4a
Add DebugInfo() API and put the information on /validate
2015-05-21 14:46:35 -07:00
Rohit Jnagal
d0424eca0f
Add --docker_only flag to enable tracking for only docker containers and root.
...
This reduces unnecessary load on the system and also cleans up the UI clutter.
Currently defaulted to false.
2015-04-30 23:34:44 +00:00
Victor Marmol
11462d80bc
Lowering log levels.
...
Reduce common logging using Kubernetes logging standards.
2015-04-13 15:05:41 -07:00
Victor Marmol
ffdb6f5c7d
Start() exits gracefully when there are no factories.
...
This allows us to handle the case where there are no factories as
happens when testing in a non-container environment. We will still serve
the machine information that is available.
2015-03-11 21:22:16 -07:00
Victor Marmol
ff9a4995a1
Report error while fetching network stats.
2014-12-10 13:26:42 -08:00
Satnam Singh
7ddc75c41b
Squashed commit of the following:
...
commit 6bf9fe89f6
Author: Satnam Singh <satnam@google.com>
Date: Fri Sep 26 10:23:16 2014 -0700
Change error to warning during handling check.
commit c580907183
Author: Satnam Singh <satnam@google.com>
Date: Fri Sep 26 10:21:41 2014 -0700
Decapatalise fmt.Errorf error messages.
commit 3ecc5745d6
Author: Satnam Singh <satnam@google.com>
Date: Fri Sep 26 10:19:15 2014 -0700
Fix misunderstanding about when CanHandle fails.
commit adce0c5433
Author: Satnam Singh <satnam@google.com>
Date: Fri Sep 26 10:13:32 2014 -0700
Change the interface of CanHandle to return error information.
2014-09-26 18:06:58 -07:00
Vishnu Kannan
3e390e0f33
Use glog instead of 'log' library.
...
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
2014-08-07 18:38:58 +00:00
Vishnu Kannan
ef13440034
Addressed comments. Another series of bug fixes.
...
Modified the docker driver and lmctfy driver to skip containers they cannot handle.
2014-07-22 19:55:14 +00:00
Vishnu Kannan
5aae36726f
Fixed bugs introduced in previous patches.
2014-07-22 18:58:16 +00:00
Victor Marmol
1636c3e759
Change ContainerHandlerFactories to decide what containers they support.
...
This allows a ContainerHandlerFactory to register a CanHandle() function
which is called to determine whether the factory can handle a particular
container.
This commit disables being able to run cAdvisor without lmctfy. This
should be enabled again with a "no-op" global factory which I would like
to do in a separate PR.
2014-07-16 16:48:45 -07:00
Victor Marmol
410c27a84f
Track a container by all of its aliases
2014-06-13 18:24:59 -07:00
Victor Marmol
712f9fb32f
Migrating cAdvisor code from lmctfy
2014-06-09 12:12:07 -07:00