asynq的控制面板
Go to file
dependabot[bot] fee808885d Bump @reduxjs/toolkit from 1.5.0 to 1.5.1 in /ui
Bumps [@reduxjs/toolkit](https://github.com/reduxjs/redux-toolkit) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/reduxjs/redux-toolkit/releases)
- [Commits](https://github.com/reduxjs/redux-toolkit/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 21:16:10 -07:00
.github Create dependabot.yml 2021-03-01 15:29:08 -08:00
ui Bump @reduxjs/toolkit from 1.5.0 to 1.5.1 in /ui 2021-04-06 21:16:10 -07:00
.dockerignore Add option to use Docker container to run Asynqmon 2021-04-05 16:35:15 -07:00
.gitignore Minor fixes 2021-04-05 21:42:15 -07:00
CHANGELOG.md v0.1-beta1 2021-01-31 21:50:46 -08:00
conversion_helpers.go Update code to use inspeq package 2021-01-28 19:47:58 -08:00
Dockerfile Add option to use Docker container to run Asynqmon 2021-04-05 16:35:15 -07:00
go.mod Add option to use Docker container to run Asynqmon 2021-04-05 16:35:15 -07:00
go.sum Add option to use Docker container to run Asynqmon 2021-04-05 16:35:15 -07:00
LICENSE Add README and LICENSE files 2021-01-30 19:18:44 -08:00
main.go Minor fixes 2021-04-05 21:42:15 -07:00
Makefile Minor fixes 2021-04-05 21:42:15 -07:00
middlewares.go Update logging middleware to log in apache common format 2020-12-08 06:46:27 -08:00
queue_handlers.go Fix list queues handler 2021-03-01 15:14:12 -08:00
README.md Update readme 2021-04-06 21:06:49 -07:00
redis_info_handlers.go Support command-line flags to configure redis connection and port to use 2021-01-08 07:16:48 -08:00
scheduler_entry_handlers.go Update code to use inspeq package 2021-01-28 19:47:58 -08:00
server_handlers.go Update code to use inspeq package 2021-01-28 19:47:58 -08:00
task_handlers.go Update code to use inspeq package 2021-01-28 19:47:58 -08:00

Asynqmon

Asynqmon is a web based tool for monitoring and administrating Asynq queues and tasks.

Compatibility

Current version of Asynqmon is compatible with Asynq v0.15 or above.

Install

Release binaries

You can download the release binary for your system from the releases page.

Docker image

To pull the docker image:

# Pull the latest image
docker pull hibiken/asynqmon

# Or specify the image by tag
docker pull hibiken/asynqmon[:tag]

Building from source

To build Asynqmon from source code, first ensure that have a working Go environment with version 1.16 or greater installed. You also need Node.js and Yarn installed in order to build the frontend assets.

Download the source code and then run:

make build

The asynqmon binary should be created in the current directory.

Building docker image

To build docker image locally, run:

make docker

Run

To use the defaults, simply run and open http://localhost:8080.

# with a local binary
./asynqmon

# with docker
docker run --rm \
    --name asynqmon \
    -p 8080:8080 \
    hibiken/asynqmon

By default, Asynqmon web server listens on port 8080 and connects to a Redis server listening on 127.0.0.1:6379.

Pass flags to specify port, redis server address, etc.

# with a local binary
./asynqmon --port=3000 --redis_addr=localhost:6380

# with docker (connect to redis-server running on the host machine)
docker run --rm \
    --name asynqmon \
    -p 3000:3000 \
    hibiken/asynqmon --port=3000 --redis_addr=host.docker.internal:6380

# with docker (connect to redis-server running in a docker container)
docker run --rm \
    --name asynqmon \
    --network dev-network \
    -p 8080:8080 \
    asynqmon --redis_addr=dev-redis:6379

To see all available flags, run

# with a local binary
./asynqmon --help

# with docker
docker run hibiken/asynqmon --help

Next, go to localhost:8080 and see Asynqmon dashboard:

Screenshot

License

Asynqmon is released under the MIT license. See LICENSE.