@@ -32,6 +32,7 @@ test_default_metrics(_) ->
3232 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_threads" )),
3333 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_thread_pool_size" )),
3434 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_time_correction" )),
35+ ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_wordsize_bytes" )),
3536 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atom_count" )),
3637 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atom_limit" ))
3738 ].
@@ -55,6 +56,7 @@ test_all_metrics(_) ->
5556 threads ,
5657 thread_pool_size ,
5758 time_correction ,
59+ wordsize_bytes ,
5860 atom_count ,
5961 atom_limit
6062 ]),
@@ -75,6 +77,7 @@ test_all_metrics(_) ->
7577 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_threads" )),
7678 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_thread_pool_size" )),
7779 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_time_correction" )),
80+ ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_wordsize_bytes" )),
7881 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atom_count" )),
7982 ? _assertMatch ({match , _ }, re :run (Metrics , " erlang_vm_atom_limit" ))
8083 ]
@@ -111,7 +114,8 @@ test_custom_metrics(_) ->
111114 ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_smp_support" )),
112115 ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_threads" )),
113116 ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_thread_pool_size" )),
114- ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_time_correction" ))
117+ ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_time_correction" )),
118+ ? _assertMatch (nomatch , re :run (Metrics , " erlang_vm_wordsize_bytes" ))
115119 ]
116120
117121 after
0 commit comments