Jarkko Sonninen
07900633cb
Add disk and memory percent_used
2023-10-28 16:03:48 +03:00
Manuel Rüger
e43459d86d
Move glog/klog logging to klog/v2
2023-09-17 08:57:33 +03:00
Manuel Rüger
c4311bd207
Move github.com/shirou/gopsutil to v3
2023-09-11 12:18:22 +02:00
Yordis Prieto Lazo
0842910049
chore: fix misspelling
2022-12-18 22:58:07 -05:00
varsha teratipally
7b51a90328
Reduce the number of reads to /proc/partitions file
...
to retrive the partitions on disk
2021-06-13 21:11:34 +00:00
varsha teratipally
1550882948
avoid duplicating the disk bytes used metrics based on fstype and mountopts
2020-11-16 20:10:46 +00:00
varsha teratipally
50127b0512
changed labelname after code review
2020-08-06 00:43:45 +00:00
varsha teratipally
e13210157d
Add more info to disk metrics
2020-08-05 21:12:25 +00:00
Xuewei Zhang
83b09277f0
Collect more cpu/disk/memory metrics
2020-02-03 15:29:45 -08:00
Xuewei Zhang
fa7a3d7df1
Fix disk metrics unit and queue_length calculation
2020-01-02 17:19:38 -08:00
Alex Wong
5a4ac81186
Only disk_avg_queue_len is distorted on first collection
2019-12-12 14:39:29 +08:00
Alex Wong
3d10c892a2
Ignore first collected disk stats to prevent metric distortion
2019-12-11 11:14:01 +08:00
Xuewei Zhang
9e789b5f99
Refactor on metrics so that names for all the views are tracked
2019-09-11 12:07:13 -07:00
Xuewei Zhang
82c2368795
Metric format fixes on host/uptime and disk/*
...
1. host/uptime, disk/io_time and disk/weighted_io should be
counter/cumulative metrics. SO we have to use the Sum aggregation method
rather than LastValue aggregation method (which will declare the metric
as gauge metric).
2. Renamed label "device" for disk/* metrics to "device_name".
This is to clarify that it is device_name (sda1) rather than device_path
(/dev/sda1)
2019-08-16 15:14:54 -07:00
Xuewei Zhang
fbebcf311b
Report metrics from system-log-monitor
2019-07-12 14:38:21 -07:00
Xuewei Zhang
4944ac3e48
Implement host collector as part of system-stats-monitor
...
Host collector report three things today:
1. Host OS uptime (in seconds)
2. Host kernel version (as a metric label)
3. Host OS version (as a metric label)
2019-06-27 16:40:11 -07:00
Xuewei Zhang
29b0740f4c
Refactor systemstatsmonitor/metric_helper.go into a metrics package
2019-06-27 16:40:05 -07:00
Xuewei Zhang
7ad5dec712
Add disk metrics support.
2019-06-13 00:51:17 -07:00