aboutsummaryrefslogtreecommitdiff
path: root/collector/fixtures/e2e-output.txt
diff options
context:
space:
mode:
authordomchan <31119455+domgoer@users.noreply.github.com>2020-07-18 00:32:23 +0800
committerGitHub <noreply@github.com>2020-07-17 18:32:23 +0200
commit503e4fc8486c0082d6bd8c53fad646bcfafeedf6 (patch)
tree51cf53ed86b640630b69d9c45719592b71686bd8 /collector/fixtures/e2e-output.txt
parentf4b89c79a25fa10a397075b8bc3dd09314438fa2 (diff)
downloadprometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.tar.bz2
prometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.tar.xz
prometheus_node_collector-503e4fc8486c0082d6bd8c53fad646bcfafeedf6.zip
Expose cpu bugs and flags as info metrics. (#1788)
* Expose cpu bugs and flags as info metrics with a regexp filter. * Automatically enable CPU info metrics when using flags or bugs feature. Signed-off-by: domgoer <domdoumc@gmail.com>
Diffstat (limited to 'collector/fixtures/e2e-output.txt')
-rw-r--r--collector/fixtures/e2e-output.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/collector/fixtures/e2e-output.txt b/collector/fixtures/e2e-output.txt
index e8a5779..02ae152 100644
--- a/collector/fixtures/e2e-output.txt
+++ b/collector/fixtures/e2e-output.txt
@@ -232,12 +232,24 @@ node_cooling_device_cur_state{name="0",type="Processor"} 0
232# HELP node_cooling_device_max_state Maximum throttle state of the cooling device 232# HELP node_cooling_device_max_state Maximum throttle state of the cooling device
233# TYPE node_cooling_device_max_state gauge 233# TYPE node_cooling_device_max_state gauge
234node_cooling_device_max_state{name="0",type="Processor"} 3 234node_cooling_device_max_state{name="0",type="Processor"} 3
235# HELP node_cpu_bug_info The `bugs` field of CPU information from /proc/cpuinfo.
236# TYPE node_cpu_bug_info gauge
237node_cpu_bug_info{bug="cpu_meltdown"} 1
238node_cpu_bug_info{bug="mds"} 1
239node_cpu_bug_info{bug="spectre_v1"} 1
240node_cpu_bug_info{bug="spectre_v2"} 1
235# HELP node_cpu_core_throttles_total Number of times this cpu core has been throttled. 241# HELP node_cpu_core_throttles_total Number of times this cpu core has been throttled.
236# TYPE node_cpu_core_throttles_total counter 242# TYPE node_cpu_core_throttles_total counter
237node_cpu_core_throttles_total{core="0",package="0"} 5 243node_cpu_core_throttles_total{core="0",package="0"} 5
238node_cpu_core_throttles_total{core="0",package="1"} 0 244node_cpu_core_throttles_total{core="0",package="1"} 0
239node_cpu_core_throttles_total{core="1",package="0"} 0 245node_cpu_core_throttles_total{core="1",package="0"} 0
240node_cpu_core_throttles_total{core="1",package="1"} 9 246node_cpu_core_throttles_total{core="1",package="1"} 9
247# HELP node_cpu_flag_info The `flags` field of CPU information from /proc/cpuinfo.
248# TYPE node_cpu_flag_info gauge
249node_cpu_flag_info{flag="aes"} 1
250node_cpu_flag_info{flag="avx"} 1
251node_cpu_flag_info{flag="avx2"} 1
252node_cpu_flag_info{flag="constant_tsc"} 1
241# HELP node_cpu_guest_seconds_total Seconds the cpus spent in guests (VMs) for each mode. 253# HELP node_cpu_guest_seconds_total Seconds the cpus spent in guests (VMs) for each mode.
242# TYPE node_cpu_guest_seconds_total counter 254# TYPE node_cpu_guest_seconds_total counter
243node_cpu_guest_seconds_total{cpu="0",mode="nice"} 0.01 255node_cpu_guest_seconds_total{cpu="0",mode="nice"} 0.01