Jordan Liggitt
7dc4594b32
Add InitializeFSContext hook to plugins
2019-04-11 13:50:03 +00:00
Jordan Liggitt
e24fd90ae9
Move auto-registration to explicit install packages, register plugin interfaces
2019-04-11 13:50:03 +00:00
Jordan Liggitt
f7b509202d
Restore manager.New signature, initialization code
2019-04-09 16:59:14 -04:00
David Ashpole
1276700730
Merge pull request #2209 from dims/conditional-registration-of-runtimes
...
Reorganize code to allow conditional enablement of runtimes
2019-04-05 14:47:28 -07:00
Davanum Srinivas
40e6acb3bb
Reorganize code to allow conditional enablement of runtimes
...
Change-Id: I76583736d7ad39190a1a2bca820d4e957caadc84
2019-04-05 17:37:49 -04:00
David Ashpole
4ca6c2127b
Merge pull request #2213 from tallclair/cloud
...
Remove CloudProvider SDK dependencies
2019-04-04 13:20:16 -07:00
Tim Allclair
c492e4a814
Remove CloudProvider SDK dependencies
2019-04-04 10:07:24 -07:00
David Ashpole
68532f6976
Merge pull request #2211 from mas9612/fix-documentation
...
docs: fix typo
2019-04-01 10:38:52 -07:00
Masato Yamazaki
23bfbb9add
fix typo
2019-04-01 16:55:02 +09:00
David Ashpole
52f7d1d896
Merge pull request #2203 from 0902horn/configurable-containerd-factory
...
Make the containerd factory configurable
2019-03-26 11:27:11 -07:00
David Ashpole
50076daa81
Merge pull request #2201 from haircommander/info_error_fix
...
container: crio: Return more informative error
2019-03-22 10:49:15 -07:00
0902horn
150c78bd12
Make the containerd factory configurable
2019-03-22 16:35:33 +08:00
Peter Hunt
1e13a85609
container: crio: Return more informative error
...
Before, making a ContainerInfo request returned an uninformative message about failing to decode json.
Fix this by catching response codes that aren't 200, and return a more informative message.
Signed-off-by: Peter Hunt <pehunt@redhat.com>
2019-03-21 15:24:05 -04:00
Konstantinos Tsakalozos
28d11adfdb
Fix stats in LXD with ZFS storage pool ( #2189 )
...
Fix stats in LXD with ZFS storage pool
2019-03-12 09:38:27 -07:00
David Ashpole
7e9ea00b05
Merge pull request #2191 from Random-Liu/always-rootfs-disk-stats
...
Always collect disk stats for rootfs.
2019-03-07 10:42:43 -08:00
Lantao Liu
2522da0ac5
Always collect disk stats for rootfs.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-03-07 10:32:12 -08:00
David Ashpole
511ec9ef82
Merge pull request #2180 from dashpole/v0.33_changelog
...
v0.33.0 Changelog
2019-02-27 10:10:53 -08:00
David Ashpole
491c0ed34f
v0.33.0 Changelog
2019-02-26 17:05:53 -08:00
David Ashpole
05529e2036
Merge pull request #2171 from namreg/replace-du-and-find
...
fs: get inodes and disk usage via pure go
2019-02-25 10:18:09 -08:00
Igor German
046818d64c
fs: get inodes and disk usage via pure go
2019-02-22 21:46:14 +03:00
David Ashpole
103288868b
Merge pull request #2164 from viberan/master
...
add docker_only_prefix_whitelist flag and fix issue #2129
2019-02-19 10:58:36 -08:00
viberan
7bb8b34a5b
add raw_cgroup_prefix_whitelist flag and fix issue #2129
2019-02-17 00:37:42 +02:00
David Ashpole
cd92744b92
Merge pull request #2156 from dtrejod/dt/ec2-gen5-detection
...
Fix Amazon VM detection on EC2 Nitro generation.
2019-02-13 10:30:17 -08:00
David Ashpole
634fb4bb86
Merge pull request #2167 from nekop/lower-loglevel-cgroups-read-file
...
Change log level to warning instead of error when cgroups file read f…
2019-02-08 08:05:25 -08:00
Takayoshi Kimura
f988ade02d
Change log level to warning instead of error when cgroups file read failed.
...
Because cgroups file may not exist at the timing of the read, it's better not to use error level.
2019-02-07 14:19:22 +09:00
David Ashpole
0995283c32
Merge pull request #2160 from gaorong/victimContainerName
...
change default oom victim container name
2019-02-05 09:27:02 -08:00
David Ashpole
9b2d88cd62
Merge pull request #2162 from gaorong/cleanup_oomparser_test
...
cleanup oom parser test
2019-02-04 09:53:25 -08:00
gaorong
1ea111582c
cleanup oom parser test
2019-02-02 10:08:58 +08:00
gaorong
407289527c
change default oom victim container name
2019-02-02 10:00:57 +08:00
Devin Trejo
fe06d6ebd4
Fix Amazon VM detection on EC2 Nitro generation.
2019-01-29 12:02:23 -05:00
David Ashpole
150629c099
Merge pull request #2147 from namreg/update-machine-info-periodically
...
Periodically updates machine info
2019-01-16 10:16:46 -08:00
Igor German
f2d9f42126
Run gofmt
2019-01-15 23:35:48 +03:00
David Ashpole
8240c4af0b
Merge pull request #2103 from WanLinghao/disable-diskio
...
Add support to disable diskIO metrics
2019-01-15 09:20:04 -08:00
Igor German
8b0ff0160c
Periodically updates machine info
2019-01-15 18:17:19 +03:00
WanLinghao
4eab5b671e
Add support to disable diskIO metrics
2019-01-15 09:43:33 +08:00
David Ashpole
45d3b774d6
Merge pull request #2135 from Betula-L/fix_timestamp_error
...
fix timestamp error for container_last_seen
2019-01-09 14:55:51 -08:00
luhualin
e88534ca70
fix timestamp error for container_last_seen
2019-01-04 10:12:38 +08:00
David Ashpole
0577c1b1fe
Merge pull request #2137 from dashpole/fix_builds
...
update asset headers to 2019
2019-01-03 10:57:41 -08:00
David Ashpole
3fdae0d582
update asset headers to 2019
2019-01-03 10:40:50 -08:00
David Ashpole
864d279257
Merge pull request #2127 from lubinszARM/cpuinfo2
...
Bug fix if no NUMA support in kernel
2018-12-17 09:45:04 -08:00
Bin Lu
5fe243eca8
Bug fix if no NUMA support in kernel
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2018-12-14 01:56:05 -08:00
David Ashpole
55d76d7998
Merge pull request #2124 from Betula-L/fix-timestamp-gap
...
add prometheus metrics timestamp
2018-12-12 09:48:33 -08:00
luhualin
5c41c694a8
add prometheus metrics timestamp
2018-12-11 11:44:17 +08:00
hangongithub
70b83b9ac4
Ensure tcp6 and udp6 metrics are published via Prometheu ( #2102 )
...
add tcp6 and udp6 metrics to the prometheus endpoint
Change-Id: I17bcfee653527fe07d4791019e0e864ca88aeda3
2018-12-07 10:27:46 -08:00
David Ashpole
8b1337898f
Merge pull request #2114 from lubinszARM/cpuinfo
...
Fix bug:getTopology will be failed on Arm platform
2018-12-05 17:29:52 -08:00
Mikkel Oscar Lyderik Larsen
c097b20fba
Add flag to white list container labels for prometheus metrics ( #2113 )
...
Add white_listed_container_labels flag to white list container labels for prometheus metrics
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2018-12-05 11:19:53 -08:00
Bin Lu
2e0d48f16a
Fix bug:getTopology will be failed on Arm platform
...
On Arm platform, no 'core id' and 'physical id' in '/proc/cpuinfo'.
So we should search sysfs cpu path directly to get the data of
'thread_id' &'core_id' & 'node_id'.
This method can also be used on other platforms, such as x86, ppc64le...
/sys/bus/cpu/devices/cpu%d contains the information of 'core_id' & 'node_id'.
Such as:
cat /sys/bus/cpu/devices/cpu0/topology/core_id
ls /sys/bus/cpu/devices/cpu0/node0
Signed-off-by: Bin Lu <bin.lu@arm.com>
2018-12-05 11:15:07 +08:00
David Ashpole
ba5704f4bc
Merge pull request #2122 from changlan/check-mesos-task-label
...
Fix Panic: Check whether Mesos task labels are available
2018-12-04 17:53:42 -08:00
Chang Lan
25dc521186
Check whether Mesos task labels are available
2018-12-04 14:06:47 -08:00
David Ashpole
a058406b24
Merge pull request #2120 from ElfoLiNk/missing-curl
...
Missing curl for health check
2018-12-04 09:55:39 -08:00