Rohit Jnagal
e43ada2e00
Add 'bytes available' to fs info.
...
The current capacity and usage numbers are insufficient to figure out
actual bytes available for a non-root user for the fs. Available is the
value used by df and the one we need to track to detect low diskspace
condition.
2015-05-11 19:27:40 +00:00
Rohit Jnagal
3b13df3c6c
Remove spec info from container creation event data.
2015-05-05 22:14:15 +00:00
Victor Marmol
1e09f9012d
Adding container labels
2015-04-30 23:09:03 -07:00
Victor Marmol
aa6e9a3d5b
Use strings for EventType enum
2015-04-20 09:16:00 -07:00
Victor Marmol
fd1ff04f7f
Split OOM event into OOM and OOM Kill.
...
This will allow to watch and differentiate that the OOM victim may not
equal the OOM'd container.
2015-04-15 13:30:08 -07:00
Victor Marmol
a21bf2555e
Make EventData a concrete type.
...
Having this as an interface was giving us a lot of problems with
unmarshaling. Made into a union of concrete types.
2015-04-09 15:21:24 -07:00
Victor Marmol
4cb69036f8
Move Event to info since it is a public API object.
2015-04-01 09:17:43 -07:00
Victor Marmol
814c65059a
Document and specify defaults for ContainerRequestInfo.
2015-03-25 13:15:10 -07:00
Federico Simoncelli
9d41787b62
machine: collect node boot id if available
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-23 10:45:03 -04:00
Rohit Jnagal
6db3717426
Add recursive and type options (raw/docker) to spec and summary endpoints.
...
spec, stats, and summary now all support the same options (except count,
which is only parsed for stats).
2015-03-18 18:44:59 +00:00
Rohit Jnagal
9df3ea740e
Add /machine endpoint for 2.0
...
Only difference from v1 /machine is that both h/w and s/w state is included.
2015-03-13 23:26:10 +00:00
Vish Kannan
588b1498ac
Merge pull request #587 from rjnagal/docker
...
Add alias and namespace information to /spec endpoint
2015-03-13 14:22:56 -07:00
Rohit Jnagal
53d25cc90e
Add alias and namespace information to /spec endpoint
2015-03-13 21:13:23 +00:00
Victor Marmol
b28b26ca30
Merge pull request #584 from juliusv/prometheus-tests
...
Add Prometheus tests and fix metric type bug.
2015-03-13 08:43:21 -07:00
Julius Volz
bac3a5d839
Add Prometheus tests and fix metric type bug.
2015-03-13 01:25:20 +01:00
Victor Marmol
05b16c6063
Merge pull request #578 from rjnagal/docker
...
WIP: Add stats API for 2.0.
2015-03-12 15:08:16 -07:00
Rohit Jnagal
2e2a31bea2
WIP: Add stats API for 2.0.
...
First cut on 2.0 stats API. Main change in returned stats is that presence checks (eg. HasCPU) are embedded in each stat.
Added support to handle querying container with name.
Current syntax:
/stats?name=/&count=1,
/stats?name=docker/928c058ce260ac2a55972b18cb991fa0475fbbb7bc15bd295e62b76964d05fe6 [default count: 64]
Other handlers to include: dockerid, dockeralias. We can make subcontainers inclusion as an option too.
2015-03-12 21:42:40 +00:00
Julius Volz
661b174c1d
Fix Uinterruptible -> Uinterruptible typo.
2015-03-12 22:09:49 +01:00
Rohit Jnagal
a0a419614f
Add /storage endpoint to 2.0 API.
...
/storage returns {device, mountpoint, capacity, usage} for all filesystems.
In addition, it also detect and applies label for each filesystem - currently two - "root", "docker-images".
/storage/<label> returns info about the filesystem with specific label. eg. /storage/root returns info for root filesystem.
2015-03-11 01:49:58 +00:00
Victor Marmol
f0521ffd29
Adding Equal() for ContainerInfoReq
2015-03-05 10:43:23 -08:00
Rohit Jnagal
d3db8503f4
Move derived stats to v2. Add v2 container spec.
2015-03-04 18:27:57 +00:00
Federico Simoncelli
02a3e46996
Add system uuid and machine id information
...
Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-03-01 15:06:19 -05:00
Rohit Jnagal
872546ba3a
Bulk move current info api to info/v1. Making room for info/v2.
2015-03-04 00:47:28 +00:00
Victor Marmol
ef7dddf438
cAdvisor 0.10.1
2015-02-27 09:47:20 -08:00
Victor Marmol
c5b301f420
cAdvisor 0.10.0.
2015-02-24 18:42:08 -08:00
Victor Marmol
e9eb9ea128
Merge pull request #524 from rjnagal/summary
...
Add instant stat to derived result.
2015-02-23 23:37:40 -08:00
Rohit Jnagal
ed38123221
Add instant stat to derived result.
...
Before this change, we do not return anything meaningful till cadvisor has been up
for a minute. Also, having instant usage in the same stat gives a more complete
picture.
2015-02-24 07:31:09 +00:00
Rohit Jnagal
23642688af
Merge pull request #532 from vmarmol/fix
...
Sort subcontainers in ContainerSpec.
2015-02-23 15:02:09 -08:00
Victor Marmol
94cd7114f8
Sort subcontainers in ContainerSpec.
...
Fixes #531 .
2015-02-23 14:28:02 -08:00
Victor Marmol
63f5714db8
Add Start and End to ContainerInfoRequests.
...
This will allow querying a certain time range.
2015-02-22 19:07:40 -08:00
Rohit Jnagal
2406b6c55b
Add derived stats tracking to containers.
2015-02-16 20:44:34 +00:00
Victor Marmol
ed04bb896e
cAdvisor 0.9.0
2015-02-09 15:16:55 -08:00
Victor Marmol
45ba276ae8
Add container creation time to ContainerSpec.
2015-02-05 09:52:10 -08:00
Vish Kannan
621045b4d0
Merge pull request #481 from rjnagal/summary
...
Initial types for stats summary.
2015-02-04 09:36:39 -08:00
Rohit Jnagal
e94ccbc5e8
Initial types for stats summary.
2015-02-04 00:49:20 +00:00
Rohit Jnagal
f9c6329af0
Remove stale comments.
...
We already added memory hierarchy.
2015-02-01 03:08:39 +00:00
Rohit Jnagal
667a8e0fd1
Rename load to load average.
...
Load is now LoadAverage. Also added comments about smoothing interval.
2015-01-28 00:37:45 +00:00
Rohit Jnagal
33c2cac71d
Compute smoothed cpu load for containers.
2015-01-27 20:21:53 +00:00
Victor Marmol
8f0f2299ab
Make network fields signed integers.
...
The kernel reports -1 in case of errors so it should be an allowable
returned value.
Fixes #454 .
2015-01-20 22:34:10 -08:00
Vishnu Kannan
aedf42ba8c
Adding 'HasDiskIo' to Container Spec to indicate if diskio stats are available for a given container.
2015-01-20 05:06:57 +00:00
Victor Marmol
90e5dc9b08
Merge pull request #446 from rjnagal/diskinfo
...
Add scheduler type to disk info.
2015-01-16 16:10:52 -08:00
Rohit Jnagal
aa398c800a
Add scheduler type to disk info.
...
Type can be one of "none", "noop", "deadline", "cfq".
For block devices that don't use scheduler (like dm), the type will be "none".
We'll also report "none" for partitions when we start reporting those.
2015-01-17 00:09:07 +00:00
Rohit Jnagal
cbdd96a554
Add task load stats to containers.
...
The stats are only populated when cAdvisor is running outside network namespaces.
We'll add a different backend to retrieve the same data from within namespaces.
2015-01-16 23:25:22 +00:00
Victor Marmol
ea8806070d
cAdvisor 0.8.0
2015-01-12 08:41:33 -08:00
Victor Marmol
643d647761
Gofmt all files.
2015-01-05 11:26:23 -08:00
Rohit Jnagal
04fef734d2
Merge pull request #402 from rjnagal/diskinfo
...
Add ethernet devices information to machine endpoint.
2014-12-26 09:47:11 -08:00
Rohit Jnagal
496ee65cc2
Add ethernet devices information to machine endpoint.
2014-12-25 21:15:21 +00:00
Vishnu Kannan
8064a13cb4
Release 0.7.1.
2014-12-24 02:36:12 +00:00
Rohit Jnagal
5994c17b1e
Add cache info to machine topology
2014-12-22 17:54:36 +00:00
Rohit Jnagal
8fa6389c64
Add per-node memory information to machine endpoint.
2014-12-21 01:37:13 +00:00