[GH-ISSUE #158] Make it importable as a package #735

Closed
opened 2026-03-15 21:23:35 +03:00 by kerem · 4 comments
Owner

Originally created by @lukasmalkmus on GitHub (Sep 23, 2021).
Original GitHub issue: https://github.com/hibiken/asynqmon/issues/158

This is a Feature Request: It would be awesome to make this package importable, so I can mount the endpoints onto my own router. If you are ok with this, I would love to draft a PR or at least track some ideas in this issue.

The idea is, that I have a very simple API and would like to run asynqmon alongside it, from the same app. This is way easier then going for a complicated setup (two apps + proxy).

Usage would look something like this: r.Handler(asynqmon.Handler()).

Tell me if that is something you would like to see as well.

Originally created by @lukasmalkmus on GitHub (Sep 23, 2021). Original GitHub issue: https://github.com/hibiken/asynqmon/issues/158 This is a **Feature Request**: It would be awesome to make this package importable, so I can mount the endpoints onto my own router. If you are ok with this, I would love to draft a PR or at least track some ideas in this issue. The idea is, that I have a very simple API and would like to run `asynqmon` alongside it, from the same app. This is way easier then going for a complicated setup (two apps + proxy). Usage would look something like this: `r.Handler(asynqmon.Handler())`. Tell me if that is something you would like to see as well.
kerem closed this issue 2026-03-15 21:23:40 +03:00
Author
Owner

@hibiken commented on GitHub (Sep 23, 2021):

@lukasmalkmus this is not the first time I'm hearing this feedback!
Please feel free to create a PR for this!

<!-- gh-comment-id:925991737 --> @hibiken commented on GitHub (Sep 23, 2021): @lukasmalkmus this is not the first time I'm hearing this feedback! Please feel free to create a PR for this!
Author
Owner

@lukasmalkmus commented on GitHub (Sep 24, 2021):

Perfect, on it! :)

Only thing that could be tricky: I like the usage of the embed package. But this might require us to check in the frontend code (in ui/build). I'll take a look.

<!-- gh-comment-id:926525335 --> @lukasmalkmus commented on GitHub (Sep 24, 2021): Perfect, on it! :) Only thing that could be tricky: I like the usage of the `embed` package. But this might require us to check in the frontend code (in `ui/build`). I'll take a look.
Author
Owner

@lukasmalkmus commented on GitHub (Sep 24, 2021):

I also noticed there is a PR up already. I just searched issues when looking if someone already had the same idea.

<!-- gh-comment-id:926525859 --> @lukasmalkmus commented on GitHub (Sep 24, 2021): I also noticed there is a PR up already. I just searched issues when looking if someone already had the same idea.
Author
Owner

@hibiken commented on GitHub (Oct 22, 2021):

This is now available (as of v0.3.x)

<!-- gh-comment-id:949654536 --> @hibiken commented on GitHub (Oct 22, 2021): This is now available (as of v0.3.x)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/asynqmon#735
No description provided.