Katie Knister
141b9f3809
Added container_name field to event API
2015-04-15 16:51:15 -07:00
Victor Marmol
11462d80bc
Lowering log levels.
...
Reduce common logging using Kubernetes logging standards.
2015-04-13 15:05:41 -07:00
Katie Knister
ee4bdc2698
Improvements to events integration test
2015-04-10 13:33:22 -07:00
Katie Knister
766e7556f6
Preliminary integration tests for getting events
2015-04-08 10:20:03 -07:00
Rohit Jnagal
0d6d1d8077
Add a v2 client library, starting with machine information.
2015-04-03 18:16:41 +00:00
Rohit Jnagal
14f3fcb005
Fix build. change []Event to EventSlice.
2015-04-01 18:51:43 +00:00
Katie Knister
18e51f00f8
Added client for api events handler
2015-03-31 12:14:26 -07: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
63f5714db8
Add Start and End to ContainerInfoRequests.
...
This will allow querying a certain time range.
2015-02-22 19:07:40 -08:00
Victor Marmol
21bdea3dcc
Add integration test runner.
...
Runner builds a cAdvisor, prepares it on a remote machine, and executes
the integration tests targetting the remote machines.
Script builds the runner and runs it.
2015-01-23 10:57:29 -08:00
Victor Marmol
eb6f9a9982
Adding extra logging to cAdvisor client errors
2015-01-22 14:59:41 -08:00
Victor Marmol
643d647761
Gofmt all files.
2015-01-05 11:26:23 -08:00
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
Victor Marmol
65b39c1ba9
Check HTTP error code in the cAdvisor client.
...
This will provide more meaningfull errors than the cryptic unmarshalling
ones we've gotten today.
Fixes #362 .
2014-12-16 11:28:42 -08:00
Victor Marmol
e3ab15417c
Ignore update errors for dead containers.
...
This adds an Exists() interface to detect when the container is dead.
Before reporting an update error we check is Exists() is true.
Some documentation was added as well.
2014-11-22 05:31:11 +08:00
Victor Marmol
181e12dda2
Refactoring and fixes of /docker API endpoint.
...
This canges the output of the Docker endpoint to be a map so that it is
more consistent from single to multiple returns. It also refactors
internally how we handle both types of requests.
Without this PR the /docker API endpoint is broken completely so this
change in format has no effect anyways.
These changes are tested by the upcoming integration tests.
2014-11-19 03:36:18 -08:00
Kevin McCarthy
803a288a62
Made changes to client docs as recommended by @vmarmol
2014-10-20 08:42:03 -10:00
Kevin McCarthy
52b2f837af
Document client
2014-10-20 08:39:39 -10:00
Kevin McCarthy
83a4472d4e
Put client inside its own package
...
This will let me do things like import "github.com/google/cadvisor/client"
without needing to include all of cadvisor in my project
2014-10-20 02:05:52 +00:00
Victor Marmol
33ccd0949e
Adding Subcontainers to cAdvisor client.
...
Also refactoring and improvements.
2014-10-01 11:51:30 -07:00
Satnam Singh
bae82a583d
A few minor Go style suggestions.
2014-09-24 10:53:52 -07:00
Satnam Singh
fde48d5124
Fix yet another typo in the comment for TestGetMachineInfo.
2014-09-22 16:39:28 -07:00
Satnam Singh
6259778f75
Fix typo for comment on TestGetMachineInfo.
2014-09-22 16:32:44 -07:00
Satnam Singh
6daa23d9a3
Some Go style suggestions for client.go and client_test.go
2014-09-22 16:25:06 -07:00
Victor Marmol
9dd8621686
Remove remaining parts of samples and percentiles.
2014-09-15 14:38:51 -07:00
Dan McPherson
0897eb4df3
Fixing typos
2014-07-29 10:35:01 +02:00
monnand
a7bb41305c
Merge pull request #125 from dchen1107/master
...
Create cAdvisor client without querying machine information.
2014-07-24 19:53:36 -04:00
Dawn Chen
60ed60faf9
cleanup
2014-07-24 16:48:27 -07:00
Dawn Chen
80f19664e4
Create cAdvisor client without querying machine information.
2014-07-24 16:35:44 -07:00
Nan Deng
9401d35ce2
gofmt -r "MemoryUsagePercentages->MemoryUsagePercentiles"
2014-07-23 17:58:50 -07:00
Nan Deng
95889f3c99
change client's unit test to use ContainerInfo.Eq()
2014-07-15 13:24:21 -07:00
Nan Deng
6818ac9b9f
gofmt -r "ContainerInfoQuery->ContainerInfoRequest"
2014-07-08 18:04:57 -07:00
Nan Deng
6a5a395fbd
fix typo
2014-07-08 18:04:13 -07:00
Nan Deng
f2a0365766
gofmt -r "CpuUsagePercentages->CpuUsagePercentiles"
2014-07-08 17:20:04 -07:00
Nan Deng
115b132e5f
stats time precesion affects the test results
2014-07-08 13:55:09 -07:00
Nan Deng
6efeaf6b87
Heisenbug?
2014-07-08 13:35:05 -07:00
Nan Deng
a3d9f2d094
better error message for unit test
2014-07-08 13:22:30 -07:00
Nan Deng
18f531b5fb
smaller data set
2014-07-08 13:12:29 -07:00
Nan Deng
d6c5b6a64e
client test
2014-07-08 13:01:20 -07:00
Nan Deng
d932d351ef
test on client library
2014-07-08 12:49:40 -07:00
Nan Monnand Deng
0a12173b7d
fix test
2014-06-29 20:22:13 -07:00
Nan Deng
ce06d5c0ce
pass unit tests in client
2014-06-12 18:13:58 -07:00
Victor Marmol
712f9fb32f
Migrating cAdvisor code from lmctfy
2014-06-09 12:12:07 -07:00