@@ -14,26 +14,26 @@ test_default_metrics(_) ->
1414 prometheus_registry :register_collector (prometheus_vm_system_info_collector ),
1515 Metrics = prometheus_text_format :format (),
1616 [
17- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_dirty_cpu_schedulers " )),
18- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_dirty_cpu_schedulers_online " )),
19- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_dirty_io_schedulers " )),
20- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_ets_limit " )),
21- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_logical_processors " )),
22- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_logical_processors_available " )),
23- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_logical_processors_online " )),
24- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_ports " )),
25- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_port_limit " )),
26- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_processes " )),
27- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_process_limit " )),
28- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_schedulers " )),
29- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_schedulers_online " )),
30- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_smp_support " )),
31- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_threads " )),
32- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_thread_pool_size " )),
33- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_time_correction " )),
34- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_wordsize_bytes " )),
35- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atoms " )),
36- ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atom_limit " ))
17+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_dirty_cpu_schedulers " )),
18+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_dirty_cpu_schedulers_online " )),
19+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_dirty_io_schedulers " )),
20+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_ets_limit " )),
21+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_logical_processors " )),
22+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_logical_processors_available " )),
23+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_logical_processors_online " )),
24+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_ports " )),
25+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_port_limit " )),
26+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_processes " )),
27+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_process_limit " )),
28+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_schedulers " )),
29+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_schedulers_online " )),
30+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_smp_support " )),
31+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_threads " )),
32+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_thread_pool_size " )),
33+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_time_correction " )),
34+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_wordsize_bytes " )),
35+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_atoms " )),
36+ ? _assertMatch ({match , _ }, re :run (Metrics , " \n erlang_vm_atom_limit " ))
3737 ].
3838
3939test_all_metrics (_ ) ->
0 commit comments