@@ -73,7 +73,7 @@ groups() ->
7373 exchange_bindings_metric ,
7474 exchange_names_metric ,
7575 stream_pub_sub_metrics ,
76- raft_detailed_metrics_test
76+ detailed_raft_metrics_test
7777 ]},
7878 {special_chars , [], [core_metrics_special_chars ]},
7979 {authentication , [], [basic_auth ]}
@@ -856,24 +856,24 @@ core_metrics_special_chars(Config) ->
856856 maps :to_list (LabelValue3 )),
857857 ok .
858858
859- raft_detailed_metrics_test (Config ) ->
859+ detailed_raft_metrics_test (Config ) ->
860860 ComponentMetrics = #{#{module => " ra_log_wal" , ra_system => " coordination" } => [" 1.0" ],
861861 #{module => " ra_log_wal" , ra_system => " quorum_queues" } => [" 1.0" ]},
862862 QQMetrics = #{#{queue => " a_quorum_queue" , vhost => " /" } => [" 1.0" ]},
863863
864- {_ , Body1 } = http_get_with_pal (Config , " /metrics/detailed?family=raft_metrics &vhost=foo" , [], 200 ),
864+ {_ , Body1 } = http_get_with_pal (Config , " /metrics/detailed?family=ra_metrics &vhost=foo" , [], 200 ),
865865 % % no queues in vhost foo, so no QQ metrics
866866 ? assertEqual (ComponentMetrics ,
867- map_get (rabbitmq_raft_detailed_wal_files , parse_response (Body1 ))),
867+ map_get (rabbitmq_detailed_raft_wal_files , parse_response (Body1 ))),
868868 ? assertEqual (undefined ,
869- maps :get (rabbitmq_raft_detailed_term , parse_response (Body1 ), undefined )),
869+ maps :get (rabbitmq_detailed_raft_term , parse_response (Body1 ), undefined )),
870870
871- {_ , Body2 } = http_get_with_pal (Config , " /metrics/detailed?family=raft_metrics &vhost=/" , [], 200 ),
871+ {_ , Body2 } = http_get_with_pal (Config , " /metrics/detailed?family=ra_metrics &vhost=/" , [], 200 ),
872872 % % there's a queue in vhost /
873873 ? assertEqual (ComponentMetrics ,
874- map_get (rabbitmq_raft_detailed_wal_files , parse_response (Body2 ))),
874+ map_get (rabbitmq_detailed_raft_wal_files , parse_response (Body2 ))),
875875 ? assertEqual (QQMetrics ,
876- map_get (rabbitmq_raft_detailed_term , parse_response (Body2 ))),
876+ map_get (rabbitmq_detailed_raft_term , parse_response (Body2 ))),
877877
878878 ok .
879879
0 commit comments