Tristan Colgate
227bb3a79d
Add udp and udp6 network statistics
2017-04-10 20:41:51 +01:00
NickrenREN
a248c34528
optimize NewRealSysFs()
...
remove second return value since it will never return err
2017-03-15 12:11:50 +08:00
David Ashpole
a9b9dbe6be
Revert "Merge pull request #1503 from dashpole/configure_root_path"
...
Undo this commit
This reverts commit 719df516db
, reversing
changes made to cae5bfaee6
.
2016-10-19 13:47:01 -07:00
David Ashpole
9e47be7bdf
Cadvisor allows the RootPath to be configured. The RootPath is used to determine which filesystem is the RootFs.
2016-10-19 10:39:35 -07:00
mwringe
b8b541d86a
Update collectors to use a customized httpClient.
2016-07-21 16:00:21 -04:00
Tim St. Clair
4c3454ad6f
Inline storageDriver usage & fix error message
2016-05-05 17:13:41 -07:00
Tim St. Clair
85d2668128
Clean up -storage_driver flag
...
Fix storage driver flag to show all the registered drivers as
options. Result:
```
-storage_driver driver
storage driver to use. Data is always cached shortly
in memory, this controls where data is pushed besides
the local cache. Empty means none. Options are:
<empty>, bigquery, elasticsearch, influxdb, kafka,
redis, statsd, stdout
```
2016-05-04 19:26:44 -07:00
Tim St. Clair
c8d9cc16dc
Fixes for --disable_metrics flag
...
1. Fix for writing to nil map when value is non-empty.
2. Fix the usage string: go flag package uses backticks for the flag
name.
3. Render the flag default value in the same format as the flag accepts.
2016-05-02 22:47:37 -07:00
Vishnu kannan
a663e835c4
Fix --disable_metrics parsing to accept empty string as input.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-06 11:52:44 -07:00
Vishnu kannan
e2717d8bb7
Avoid collecting network stats for non root cgroups in raw handler.
...
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-03-15 12:16:11 -07:00
Seth Jennings
8aa6164192
allow ignoreMetrics in new manager
2016-03-14 17:16:56 -05:00
Allison Richardet
80ba7e7db7
Add the support for kafka in cAdvisor's storage, including output of container id and labels
...
Addressing PR Feedback
Addressing PR Feedback
2016-01-27 21:33:57 -06:00
Lei Xue
c54f9d3758
make profiling tunable
2015-12-04 18:35:05 +08:00
Lei Xue
dbbe38dfed
re-order the import package
2015-11-30 16:43:22 +08:00
mqliang
ce001dcd4e
Fix imported package names to not use mixedCaps or under_scores
2015-10-22 12:10:57 +08:00
Vish Kannan
a38832f31f
Merge pull request #906 from jimmidyson/prometheus-container-name-to-labels
...
Registration of custom function to map container name to prometheus labels
2015-10-08 11:46:58 -07:00
Jimmi Dyson
5db9f8674e
Registration of custom function to map container name to prometheus labels
2015-10-07 11:30:58 +01:00
Jimmi Dyson
cf43fd2556
Expose git revision as well as version in version info, add Makefile
2015-10-02 10:26:33 +01:00
Piotr Szczesniak
90ca5f9286
Moved max_housekeeping and allow_dynamic_housekeeping flags to cadvisor.go
2015-07-21 20:26:57 +02:00
Johannes 'fish' Ziemke
822d60ba8a
Provide cadvisor stats as prometheus metrics
2015-03-11 20:51:06 +01:00
Victor Marmol
d357c34f22
Refactor and centralize HTTP registration.
2015-03-10 18:00:10 -07:00
Victor Marmol
563ead3cce
Use mux to register HTTP handlers.
...
This will allow us to register handlers on the non-default HTTP handler.
2015-03-10 15:37:16 -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
7e7c433307
Register container handler factories in manager.New().
...
This lets us simplify the startup of the manager.
2015-03-02 17:31:20 -08:00
Victor Marmol
99a48d8310
Make explicit the use of InMemoryStorage in Manager.
...
The current structure is a remnant of when the in memory storage was one
of the options for backing store. Today, we always have the memory
storage with an optional "backend storage" plugin. This commit makes the
InMemoryStorage use explicit.
2015-02-18 14:09:59 -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
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