diff options
author | Ben Kochie <superq@gmail.com> | 2018-03-29 11:20:21 -0700 |
---|---|---|
committer | Brian Brazil <brian.brazil@robustperception.io> | 2018-03-29 22:00:02 +0100 |
commit | cf3edadcbbd7064a7671e2c1467de90298faef66 (patch) | |
tree | 3fb1de9dadd3aa44fe572cbd6045b0ac07516816 /collector/vmstat_linux.go | |
parent | 499c342fed469de88a6c102d50bfc61853520d2d (diff) | |
download | prometheus_node_collector-cf3edadcbbd7064a7671e2c1467de90298faef66.tar.bz2 prometheus_node_collector-cf3edadcbbd7064a7671e2c1467de90298faef66.tar.xz prometheus_node_collector-cf3edadcbbd7064a7671e2c1467de90298faef66.zip |
Update fixtures
* Add oom_kill to fixture.
* Update e2e outputs.
* Put regexp in order.
Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to 'collector/vmstat_linux.go')
-rw-r--r-- | collector/vmstat_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/vmstat_linux.go b/collector/vmstat_linux.go index 13dd192..50268dd 100644 --- a/collector/vmstat_linux.go +++ b/collector/vmstat_linux.go | |||
@@ -32,7 +32,7 @@ const ( | |||
32 | ) | 32 | ) |
33 | 33 | ||
34 | var ( | 34 | var ( |
35 | vmStatFields = kingpin.Flag("collector.vmstat.fields", "Regexp of fields to return for vmstat collector.").Default("^(pgpg|pswp|pg.*fault|oom_kill).*").String() | 35 | vmStatFields = kingpin.Flag("collector.vmstat.fields", "Regexp of fields to return for vmstat collector.").Default("^(oom_kill|pgpg|pswp|pg.*fault).*").String() |
36 | ) | 36 | ) |
37 | 37 | ||
38 | type vmStatCollector struct { | 38 | type vmStatCollector struct { |