LoginSignup
3
1

More than 5 years have passed since last update.

Exqのデバッグをする

Posted at

Exq使ってるけどお手軽デバッグしたい、exq_uiなんてのも用意されているけどそんなの面倒くさいという方

ご安心ください、簡単にworkerの状態を確認できます。

Exq.API

remote_consoleに入って、適当にExq.APIを叩くだけです。

$ ./bin/app remote_console
> server_name = Exq.Api.Server.server_name(nil)
Exq.Api
> Exq.Api.stats(server_name, "processed")
{:ok, 28}
> Exq.Api.busy(server_name)
{:ok, 0}
> Exq.Api.jobs(server_name)
{:ok, [{"ranking", []}]}

わりといろいろ取れます。
Exq.Api – exq v0.8.0

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1