Rohit Jnagal
e5200948f5
Add a disk map to machine info.
...
This is read once at start of cAdvisor. We can use this to report
machine state as well as return logical name for block devices in UI.
Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-12-17 00:15:50 +00:00
Rohit Jnagal
124c08f82a
Add a validation handler to check cadvisor's underlying dependencies.
2014-12-15 18:51:00 +00:00
Dipankar Sarkar
d7b01e8994
Added log info for auth and digest file
2014-12-11 23:48:11 +05:30
Dipankar Sarkar
8d3ea25764
Ran gofmt and made the various changes suggested
2014-12-11 23:18:03 +05:30
Dipankar Sarkar
f9b1546367
Cleanup and minor fix for digest
2014-12-11 17:48:08 +05:30
Dipankar Sarkar
6798f193fd
Added HTTP Auth and HTTP Digest authentication #302
2014-12-11 17:25:43 +05:30
Victor Marmol
18e9394dbc
Adding runtime options docs.
...
Also some cleanups of other docs.
2014-12-04 09:16:30 -08:00
Craig Wickesser
195ad227c4
Updated description of version flag
...
Updated description of version flag per a [comment](https://github.com/google/cadvisor/pull/330#discussion-diff-20919796 ).
2014-11-26 05:10:57 -05:00
Craig Wickesser
d5e9528604
Added a version flag to print the version of cAdvisor per #329 .
2014-11-25 21:56:26 -05:00
Victor Marmol
2dac0d5c58
Merge pull request #300 from rancherio/configure-ip
...
Make the listen IP address configurable
2014-11-13 08:20:05 -08:00
Darren Shepherd
bed887ffb6
Make the listen IP address configurable
2014-11-12 16:47:45 -07:00
Victor Marmol
6e89bdef9f
Add /docker/ UI endpoint.
...
Fixes #294
2014-11-07 08:53:52 -08:00
Victor Marmol
6393bfbd40
Also handle SIGTERM.
2014-09-23 14:49:36 -07:00
Victor Marmol
6f35cf8e6c
Supporting graceful signal shutdown.
...
Adding a signal handler and gracefully shutting down all threads.
2014-09-23 14:13:58 -07:00
Vishnu Kannan
7ed645f004
Avoid compiling cadvisor statically for the docker image by deriving the image from a stripped down busybox image.
...
Log failures encountered while dumping to influxdb
Handle critical failures in cadvisor gracefully without getting stuck.
2014-09-19 17:23:45 +00:00
Victor Marmol
1c085a302d
Adding the pprof HTTP service to cAdvisor.
...
This does not consume any resources unless the resources are queried.
2014-09-12 08:40:29 -07:00
Victor Marmol
fd784cbca2
Remove memory storage driver and make empty the default.
...
This fixes the current cAdvisor HEAD.
2014-09-09 16:57:45 -07:00
Victor Marmol
b80a7481b9
Add string format for port being logged.
2014-09-03 21:38:42 -07:00
Victor Marmol
cf725b2173
Add a /healthz endpoint to cAdvisor.
...
Fixes #181
2014-08-30 00:52:25 -07:00
Rohit Jnagal
505a8a9138
Merge remote-tracking branch 'upstream/master' into bigquery
...
storagedriver.go
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-20 23:29:05 +00:00
Rohit Jnagal
cfe839a0cd
First version of bigquery backend.
...
Lot of TODOs. But it should be good enough for anyone who wants to try
it out. Marked experimental.
Docker-DCO-1.1-Signed-off-by: Rohit Jnagal <jnagal@google.com> (github: rjnagal)
2014-08-20 23:04:05 +00:00
Victor Marmol
eeea467d66
Allow cAdvisor to use as many cores as exist on the machine.
...
We scale with the number of containers (and cores on the machine) so we
should be able to use more than just one core (the default).
2014-08-11 17:31:05 -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
Victor Marmol
d2397e5ab7
Refactor API http handlers to prepare for versioning.
2014-08-01 10:13:58 -07:00
Victor Marmol
e951d03be6
Implement GeSpec() in the simple raw driver.
2014-07-22 13:51:24 -07: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
1edb798de5
Features:
...
Added Network Stats to Container Info. It still not exposed via the HTTP UI.
Bug fixes:
1. Modified docker handler to use libcontainer.GetStats instead of quering the fs package.
2. cAdvisor will not stall if any of its core operations fail.
3. cAdvisor will safely ignore any inactive or leaked docker containers. When containers are leaked cgroup state exists but docker is not aware of them.
2014-07-22 18:58:16 +00:00
Victor Marmol
a187d74e5b
Enable the simple raw driver.
...
It doesn't yet get the spec, but it is functional enough to use.
This removed the registration of lmctfy, the code will be removed in a
future PR once raw GetSpec() is complete.
2014-07-21 19:02:07 -07: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
Nan Monnand Deng
bfab17c299
use lmctfy when it is allowed
2014-07-11 18:30:31 -04:00
Victor Marmol
069cff84e2
Merge pull request #79 from monnand/query-parameter
...
User specified parameters for container info.
2014-07-10 12:36:33 -07:00
Nan Deng
d5037d162e
flags
2014-07-09 11:55:12 -07:00
Nan Deng
135ddd8f01
s/db/storage_driver/
2014-07-08 18:15:36 -07:00
Nan Deng
d18ca6fddd
storage constructor
2014-07-08 18:02:37 -07:00
Nan Deng
e384a1044e
influxdb: Add flags for databases
2014-07-08 16:18:37 -07:00
Nan Deng
4d0b365d43
let users decide how many stats/samples they want to retrieve
2014-07-07 22:04:30 -07:00
Victor Marmol
bb26ed8e8a
Adding allow_lmctfy flag to enable running without lmctfy.
2014-06-20 15:29:38 -07:00
Nan Deng
3718b139b3
remove StatsPercentiles in container handler
2014-06-17 12:55:51 -07:00
Nan Deng
a8401c422e
stats writers
2014-06-16 14:49:59 -07:00
Victor Marmol
e8ab941730
Add version information for cAdvisor
2014-06-14 15:59:18 -07:00
Nan Monnand Deng
fa0f3efab7
fix the memory leak problem mentioned in #26
2014-06-13 14:02:26 -04:00
Victor Marmol
712f9fb32f
Migrating cAdvisor code from lmctfy
2014-06-09 12:12:07 -07:00