Skip to content

Commit 7154e16

Browse files
committed
rabbit_prometheus_http_SUITE
1 parent c5e8a5a commit 7154e16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

deps/rabbitmq_prometheus/test/rabbit_prometheus_http_SUITE.erl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,10 @@ exchange_names_metric(Config) ->
797797
ok.
798798

799799
stream_pub_sub_metrics(Config) ->
800+
{_, Body0} = http_get_with_pal(Config, "/metrics", [], 200),
801+
Metrics = parse_response(Body0),
802+
ct:pal("Initial metrics: ~p", [Metrics]),
803+
800804
Stream1 = atom_to_list(?FUNCTION_NAME) ++ "1",
801805
MsgPerBatch1 = 2,
802806
{ok, S1, C1} = publish_via_stream_protocol(list_to_binary(Stream1), MsgPerBatch1, Config),

0 commit comments

Comments
 (0)