This repository was archived by the owner on Feb 25, 2025. It is now read-only.
added flow to queue state case statement #101
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Attempt to solve #100. I tried building locally to test it but was unable to. After installing MSYS2 on my Win10 laptop with necessary packages I got errors when running "make deps" (see example below)
Crash dump is being written to: erl_crash.dump...done
DEP credentials_obfuscation (2.0.0)
{"init terminating in do_boot",{undef,[{rmemo,start,[],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,680}]},{erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,126}]},{init,start_it,1,[{file,"init.erl"},{line,1137}]},{init,start_em,1,[{file,"init.erl"},{line,1123}]},{init,do_boot,3,[{file,"init.erl"},{line,831}]}]}}
init terminating in do_boot ({undef,[{rmemo,start,[],[]},{erl_eval,do_apply,6,[{},{}]},{erl_eval,exprs,5,[{},{}]},{init,start_it,1,[{},{}]},{init,start_em,1,[{},{}]},{init,do_boot,3,[{},{}]}
Crash dump is being written to: erl_crash.dump...done
make[2]: Entering directory '/c/temp/prometheus_rabbitmq_exporter/deps/rabbitmq_codegen'
make[2]: Leaving directory '/c/temp/prometheus_rabbitmq_exporter/deps/rabbitmq_codegen'
Error: No Makefile to build dependency /c/temp/prometheus_rabbitmq_exporter/deps/lager.
make[1]: *** [erlang.mk:4512: deps] Error 2
make[1]: Leaving directory '/c/temp/prometheus_rabbitmq_exporter/deps/rabbit_common'
make: *** [erlang.mk:4314: deps] Error 2
And the partial contents of erl_crash.dump:
=erl_crash_dump:0.5
Mon Jul 13 15:10:02 2020
Slogan: init terminating in do_boot ({undef,[{rmemo,start,[],[]},{erl_eval,do_apply,6,[{},{}]},{erl_eval,exprs,5,[{},{}]},{init,start_it,1,[{},{}]},{init,start_em,1,[{},{}]},{init,do_boot,3,[{},{}]}
System version: Erlang/OTP 23 [erts-11.0.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
Compiled: Wed May 20 14:04:00 2020
I also tried the same with an older version or Erlang (10.2) with same/similar error.
PS: It would be nice to have a section somewhere explaining how to build it.