Skip to content

Commit c06dd64

Browse files
SimonUngemergify[bot]
authored andcommitted
Make sure Makefile output correct application config for shovel and federation prometheus
(cherry picked from commit dd110f8)
1 parent 009c137 commit c06dd64

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

deps/rabbitmq_federation_prometheus/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PROJECT = rabbitmq_federation_prometheus
22
PROJECT_DESCRIPTION = Exposes rabbitmq_federation metrics to Prometheus
3+
PROJECT_MOD = rabbit_federation_prometheus_app
34

45
define PROJECT_APP_EXTRA_KEYS
56
{broker_version_requirements, []}

deps/rabbitmq_shovel_prometheus/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
PROJECT = rabbitmq_shovel_prometheus
22
PROJECT_DESCRIPTION = Exposes rabbitmq_shovel metrics to Prometheus
3+
PROJECT_MOD = rabbit_shovel_prometheus_app
34

45
define PROJECT_APP_EXTRA_KEYS
56
{broker_version_requirements, []}

deps/rabbitmq_shovel_prometheus/src/rabbit_shovel_prometheus_collector.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
%%====================================================================
2020

2121
start() ->
22+
{ok, _} = application:ensure_all_started(prometheus),
2223
prometheus_registry:register_collector(?MODULE).
2324

2425
stop() ->

0 commit comments

Comments
 (0)