Rohit Jnagal
7a2f508b50
Fix network info for docker containers running with --net=host.
...
Docker still reports a loop device for these. Need to check for
more than one device to mark network as available.
2015-08-24 02:58:03 +00:00
Rohit Jnagal
374e36d38e
Ignore NaN values in collection.
...
We'll re-enable it when we have a better way in UI to handle these.
2015-08-17 23:24:19 +00:00
Rohit Jnagal
ac85d8f8f6
Merge pull request #854 from anushree-n/promUI
...
UI changes
2015-08-14 23:41:53 -07:00
anushree-n
74767b8600
UI changes
2015-08-14 17:57:24 -07:00
Rohit Jnagal
9d94806f1b
Merge pull request #853 from anushree-n/prometheus
...
Add Prometheus Collector
2015-08-14 11:21:46 -07:00
anushree-n
4c67b21c1d
Add Prometheus Collector
2015-08-14 10:59:37 -07:00
Rohit Jnagal
e68e5052df
Merge pull request #850 from jimonreal/stdout-storage
...
Stdout storage
2015-08-14 10:28:40 -07:00
Jose I. Monreal Bailey
3f54f77f9e
Removing constant typed string. Handle fmt.Println error
2015-08-14 14:19:23 -03:00
Jose I. Monreal Bailey
6573abf96d
Fixing assignment of containerName and adding space between external imports and golibs
2015-08-14 12:12:44 -03:00
Rohit Jnagal
2a022a4a74
Merge pull request #852 from anushree-n/genericCollector
...
Modify generic collector
2015-08-12 22:00:38 -07:00
anushree-n
04a78502ca
Modify generic collector
2015-08-12 17:56:01 -07:00
Jose I. Monreal Bailey
96a7710a45
Adding new storage driver stdout
2015-08-11 15:39:23 -03:00
Victor Marmol
2a7218e03b
Merge pull request #846 from rjnagal/docker
...
Fix cgroup name parsing logic in ps output for centos6.
2015-08-07 21:53:39 -07:00
Rohit Jnagal
15664a6a0c
Fix cgroup name parsing logic in ps output for centos6.
...
Centos 6 uses a different ps lib resulting in different output.
2015-08-08 02:23:58 +00:00
Rohit Jnagal
b0684c2457
Merge pull request #840 from anushree-n/fix
...
Change X and Y axes labels in custom metrics
2015-07-31 21:56:22 -07:00
anushree-n
d1649b17d7
Change X and Y axes labels in custom metrics
2015-07-31 18:10:15 -07:00
Rohit Jnagal
0bed2bdd7f
Merge pull request #829 from anushree-n/ui
...
UI changes to display custom metrics
2015-07-31 15:55:09 -07:00
anushree-n
44886a0c90
UI changes for custom metrics
2015-07-31 15:47:26 -07:00
Victor Marmol
78419de3ea
Merge pull request #839 from rjnagal/docker
...
Add units and data type to spec for custom metrics.
2015-07-30 10:21:51 +02:00
Rohit Jnagal
dd0d0dd3b1
Add units and data type to spec for custom metrics.
...
Renamed units to data_type in collector config.
Use units for actual display units eg MB/s, "number of connections".
2015-07-30 06:11:17 +00:00
Rohit Jnagal
843fc130ae
Merge pull request #798 from jmaitrehenry/master
...
Update statsd storage - issue #724
2015-07-28 11:58:22 -07:00
Julien Maitrehenry
1e35331848
Update statsd storage - cpu, memory and network done
...
Add Fs stats to statsd
Update import for pointing to official repository
Update statsd storage for respecting fmt coding style
Create a separate client file
Fix gofmt
2015-07-28 14:55:15 -04:00
Rohit Jnagal
ef41402a39
Merge pull request #838 from rjnagal/docker
...
Add custom metrics to spec.
2015-07-27 16:37:32 -07:00
Rohit Jnagal
c0b3f779f5
Add custom metrics to spec.
...
Remove spec-related fields from stat.
We can simplify the stats a bit further by handling Int and Float better.
But this was big enough change already.
Verified v1 and v2 spec/stats/appmetrics APIs.
2015-07-25 20:17:54 +00:00
Victor Marmol
b581ee2e67
Merge pull request #835 from rjnagal/docker
...
Fix converion of rss and vsz in ps output.
2015-07-24 10:12:25 -07:00
Rohit Jnagal
a5e65b38c6
Fix converion of rss and vsz in ps output.
2015-07-24 15:35:58 +00:00
Victor Marmol
ca7fd6d40a
Merge pull request #831 from rjnagal/docker
...
Two small fixes to custom metric collection.
2015-07-22 21:34:23 -07:00
Rohit Jnagal
3f8e065947
Two small fixes to custom metric collection.
...
- a typo in minPollingFrequency multiplies it with time.Second twice.
- Updating custom metrics is unnecessarily called for all containers.
2015-07-23 01:56:07 +00:00
Victor Marmol
17c45c6ec3
Merge pull request #827 from rjnagal/docker
...
Add logic to read custom metric config files from container root.
2015-07-22 13:39:17 -07:00
Rohit Jnagal
a123fd72d8
Add logic to read custom metric config files from container root.
...
Docker does not provide the rootfs path through docker inspect or statefile
and the path is dependent on the storage driver being used.
Instead of enumerating the storage drivers, we pick a pid from the container
and get the config from /proc/pid/root. Although a bit expensive, this method
works for non-docker containers too.
2015-07-22 15:45:07 +00:00
Victor Marmol
3f2643897d
Merge pull request #828 from vegasbrianc/patch-1
...
Update prometheus.md
2015-07-22 08:34:24 -07:00
Victor Marmol
2dcd7f089b
Merge pull request #825 from piosz/max-housekeeping
...
Moved max_housekeeping and allow_dynamic_housekeeping flags to cadvisor.go
2015-07-22 08:16:07 -07:00
Brian Christner
751d648ec3
Update prometheus.md
...
Added the example of setting up Prometheus with cAdvisor.
2015-07-22 14:08:23 +02:00
Victor Marmol
b86a9d01c2
Merge pull request #819 from mvdan/percentiles
...
Add 50th and 95th percentiles
2015-07-21 19:00:35 -07:00
Daniel Martí
870c10c125
Export type to calculate percentiles
...
It will be used in heapster and kubelet too.
2015-07-21 17:52:01 -07:00
Daniel Martí
752228ef62
Add 50th and 95th percentiles
2015-07-21 17:50:37 -07:00
Piotr Szczesniak
90ca5f9286
Moved max_housekeeping and allow_dynamic_housekeeping flags to cadvisor.go
2015-07-21 20:26:57 +02:00
Rohit Jnagal
5853f97295
Merge pull request #820 from anushree-n/api
...
API changes for custom metrics
2015-07-20 13:05:30 -07:00
Rohit Jnagal
649fac9fc7
Merge pull request #815 from anushree-n/cache
...
Cache custom metrics
2015-07-20 13:04:59 -07:00
anushree-n
b197771668
API changes for custom metrics
2015-07-20 11:29:43 -07:00
anushree-n
e2e193c1fd
Add metrics caching
2015-07-20 11:24:20 -07:00
Rohit Jnagal
7ec04b773e
Merge pull request #823 from rjnagal/docker
...
Change logic for determining minimum polling frequency.
2015-07-20 11:14:27 -07:00
Rohit Jnagal
df4d8b1da8
Change logic for determining minimum polling frequency.
...
Since polling is tied to housekeeping, minimum supported polling
frequency is 1s.
Users can specify polling frequency higher than 1s. The polling loop
will be called at the minimum frequency specified in config as long as
its higher than the minimum supported frequency.
2015-07-20 15:57:03 +00:00
Rohit Jnagal
f6933972a5
Merge pull request #818 from anushree-n/changeCollect
...
Modification in Collect() method of GenericCollector
2015-07-20 07:29:55 -07:00
anushree-n
6871ed42d6
Modify Collect() method of GenericCollector
2015-07-18 09:49:52 -07:00
Rohit Jnagal
d580ecfc53
Merge pull request #802 from anushree-n/collectorCollect
...
Collection of custom metrics
2015-07-14 12:58:29 -07:00
anushree-n
6cc9d44264
Implement Collect method of Collector interface
2015-07-14 11:06:55 -07:00
Rohit Jnagal
9e1101f020
Merge pull request #810 from anushree-n/modifyConfig
...
Modify Collector structure
2015-07-14 09:57:18 -07:00
Rohit Jnagal
87dcb70fff
Merge pull request #817 from vmarmol/travis
...
Make Travis use their new infra.
2015-07-14 09:32:55 -07:00
Victor Marmol
8c88e57813
Make Travis use their new infra.
2015-07-14 08:47:09 -07:00