aboutsummaryrefslogtreecommitdiff
path: root/collector/fixtures/e2e-64k-page-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-64k-page-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-64k-page-output.txt')
-rw-r--r--collector/fixtures/e2e-64k-page-output.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/collector/fixtures/e2e-64k-page-output.txt b/collector/fixtures/e2e-64k-page-output.txt
index 7b857ff..cbed127 100644
--- a/collector/fixtures/e2e-64k-page-output.txt
+++ b/collector/fixtures/e2e-64k-page-output.txt
@@ -184,12 +184,24 @@ node_cooling_device_cur_state{name="0",type="Processor"} 0
184# HELP node_cooling_device_max_state Maximum throttle state of the cooling device 184# HELP node_cooling_device_max_state Maximum throttle state of the cooling device
185# TYPE node_cooling_device_max_state gauge 185# TYPE node_cooling_device_max_state gauge
186node_cooling_device_max_state{name="0",type="Processor"} 3 186node_cooling_device_max_state{name="0",type="Processor"} 3
187# HELP node_cpu_bug_info The `bugs` field of CPU information from /proc/cpuinfo.
188# TYPE node_cpu_bug_info gauge
189node_cpu_bug_info{bug="cpu_meltdown"} 1
190node_cpu_bug_info{bug="mds"} 1
191node_cpu_bug_info{bug="spectre_v1"} 1
192node_cpu_bug_info{bug="spectre_v2"} 1
187# HELP node_cpu_core_throttles_total Number of times this cpu core has been throttled. 193# HELP node_cpu_core_throttles_total Number of times this cpu core has been throttled.
188# TYPE node_cpu_core_throttles_total counter 194# TYPE node_cpu_core_throttles_total counter
189node_cpu_core_throttles_total{core="0",package="0"} 5 195node_cpu_core_throttles_total{core="0",package="0"} 5
190node_cpu_core_throttles_total{core="0",package="1"} 0 196node_cpu_core_throttles_total{core="0",package="1"} 0
191node_cpu_core_throttles_total{core="1",package="0"} 0 197node_cpu_core_throttles_total{core="1",package="0"} 0
192node_cpu_core_throttles_total{core="1",package="1"} 9 198node_cpu_core_throttles_total{core="1",package="1"} 9
199# HELP node_cpu_flag_info The `flags` field of CPU information from /proc/cpuinfo.
200# TYPE node_cpu_flag_info gauge
201node_cpu_flag_info{flag="aes"} 1
202node_cpu_flag_info{flag="avx"} 1
203node_cpu_flag_info{flag="avx2"} 1
204node_cpu_flag_info{flag="constant_tsc"} 1
193# HELP node_cpu_guest_seconds_total Seconds the cpus spent in guests (VMs) for each mode. 205# HELP node_cpu_guest_seconds_total Seconds the cpus spent in guests (VMs) for each mode.
194# TYPE node_cpu_guest_seconds_total counter 206# TYPE node_cpu_guest_seconds_total counter
195node_cpu_guest_seconds_total{cpu="0",mode="nice"} 0.01 207node_cpu_guest_seconds_total{cpu="0",mode="nice"} 0.01