-
Notifications
You must be signed in to change notification settings - Fork 30
Observer CLI integration #353
Conversation
Currently patched to depend on latest Recon release.
Per recommendation from @gerhard.
Kudos to @zhongwencool for releasing it so quickly.
This is so cool! Looking forward to QA 💯 |
It will only be used by rabbitmq-cli and must be available on broker nodes. It makes most sense to have it in these two reports only and not expose it in rabbitmq-components.mk. Per discussion with @dumbbell. Part of rabbitmq/rabbitmq-cli#353.
Note: one test is disabled as |
@michaelklishin |
@gerhard this is ready for QA 🙏 |
Nice, will check it out shortly! |
observer_cli is failing to install for me: ls $PWD/.erlang.mk
ls: /Users/gerhard/github.com/rabbitmq/20190501/deps/rabbit/.erlang.mk: No such file or directory
ls $PWD/../observer_cli
ls: /Users/gerhard/github.com/rabbitmq/20190501/deps/rabbit/../observer_cli: No such file or directory
gmake deps
DEP observer_cli
tar: Error opening archive: Failed to open '/Users/gerhard/github.com/rabbitmq/20190501/deps/rabbit/.erlang.mk/hex/observer_cli.tar'
ls ../observer_cli
cat ../observer_cli/Makefile
noop: umbrella is clean, I have the |
It fails to install properly, as described in rabbitmq/rabbitmq-cli#353 (comment)
It fails to install properly, as described in #353 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
observer_cli
should be added to rabbitmq-components.mk
instead of the Makefile
before we merge this. I'm thinking right under dep_recon
since these 2 deps are likely to be bumped in lock-step.
I also think that we should add rabbitmqctl observe
in the Monitoring, observability and health checks section.
The viewport looks wrong when running scripts/rabbitmq-diagnostic observer
(left) vs observer_cli:start()
via the gmake run-broker
shell (right):
The diff between I can't find a better way to solve this problem right now. |
Thanks! If @dumbbell doesn't have a suggestion, happy to leave this as is. |
It already is for |
@gerhard thank you. This currently will fail in our pipelines as we need zhongwencool/observer_cli#57 to go in before Mix can build it on Concourse (due to a Mix behavior neither @dumbbell nor I can explain at the moment). So we will have to do another |
For rabbitmq/rabbitmq-cli#353 and rabbitmq/rabbitmq-server#2006. (cherry picked from commit 308cf40)
Observer CLI integration (cherry picked from commit 3418f35) Conflicts: mix.exs
It's included in RabbitMQ as of v3.7.15 & v3.8.0-beta.5 re rabbitmq/rabbitmq-cli#353
For rabbitmq/rabbitmq-cli#353 and rabbitmq/rabbitmq-server#2006. (cherry picked from commit 69598d3)
This introduces a new command,
rabbitmq-diagnostics observer
, which provides a way to start observer CLI on the target node.Depends on rabbitmq/rabbitmq-server#2006.
Per discussion with @gerhard.