aboutsummaryrefslogtreecommitdiff
path: root/collector/diskstats_linux_test.go
Commit message (Collapse)AuthorAge
* Add new counters for flush requests in Linux 5.5 (#1548)Holger Hoffstätte2019-11-25
| | | | | | | * Add diskstat flush request counters for Linux 5.5+ * Update tests for diskstat flush request counters with Linux 5.5+ Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
* Update diskstats for linux kernel 4.19 (#1109)Paul Gier2018-10-15
| | | | | | | | | | The format of /proc/diskstats is changing in linux-4.19 to include some additional fields. See: https://www.kernel.org/doc/Documentation/iostats.txt * collector/diskstats: use constants for some hard coded strings * collector/diskstats: update diskstats for linux-4.19 * collector/diskstats: remove kernel doc url from individual metrics Signed-off-by: Paul Gier <pgier@redhat.com>
* Make metrics better follow guidelines (#787)Brian Brazil2018-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve stat linux metric names. cpu is no longer used. * node_cpu -> node_cpu_seconds_total for Linux * Improve filesystem metric names with units * Improve units and names of linux disk stats Remove sector metrics, the bytes metrics cover those already. * Infiniband counters should end in _total * Improve timex metric names, convert to more normal units. See https://github.com/torvalds/linux/blob/3c073991eb417b6f785ddc6afbbdc369eb84aa6a/kernel/time/ntp.c#L909 for what stabil means, looks like a moving average of some form. * Update test fixture * For meminfo metrics that had "kB" units, add _bytes * Interrupts counter should have _total
* Calculate Linux disk bytes read/written based on sector size (512B)Peter Fern2015-12-27
| | | | | Logical sector size appears to be fixed at 512B for the foreseeable future in the kernel, so for now we just hard-code it.
* Rearrange fixtures to match "real" proc and sys.Matthias Rampke2015-09-28
| | | | | And add some missing fixtures for default collectors, even if they're not read by tests yet.
* Add license headers to all code files.Matthias Rampke2015-09-26
|
* Rename linux collectors for build constraints.Siavash Safi2015-07-14