Skip to content

Commit ab24b78

Browse files
committed
revert prometheus
1 parent a8670b4 commit ab24b78

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

deps/rabbitmq_prometheus/src/collectors/prometheus_rabbitmq_core_metrics_collector.erl

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ totals(Callback) ->
334334
emit_identity_info(Callback) ->
335335
add_metric_family(build_info(), Callback),
336336
add_metric_family(identity_info(), Callback),
337-
lists:foreach(fun(Tag) -> add_metric_family(Tag, Callback) end, tag_info()),
338337
ok.
339338

340339
%% Aggregated `auth``_attempt_detailed_metrics` and
@@ -398,31 +397,6 @@ identity_info() ->
398397
}]
399398
}.
400399

401-
tag_info() ->
402-
[{
403-
tag_info,
404-
untyped,
405-
"RabbitMQ node tag info",
406-
[{
407-
[
408-
{rabbitmq_tags, <<"tag1">>}
409-
],
410-
1
411-
}]
412-
},
413-
{
414-
tag_info,
415-
untyped,
416-
"RabbitMQ node tag info",
417-
[{
418-
[
419-
{rabbitmq_tags, <<"tag2">>}
420-
],
421-
1
422-
}]
423-
}
424-
].
425-
426400
add_metric_family({Name, Type, Help, Metrics}, Callback) ->
427401
MN = <<?METRIC_NAME_PREFIX/binary, (prometheus_model_helpers:metric_name(Name))/binary>>,
428402
Callback(create_mf(MN, Help, Type, Metrics)).
@@ -880,3 +854,4 @@ vhosts_filter_from_pdict() ->
880854
Enabled = maps:from_list([ {VHost, true} || VHost <- L ]),
881855
maps:merge(All, Enabled)
882856
end.
857+

0 commit comments

Comments
 (0)