mirror of
https://github.com/hibiken/asynqmon.git
synced 2026-04-26 17:45:50 +03:00
[GH-ISSUE #158] Make it importable as a package #735
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/asynqmon#735
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
asynqmonalongside 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.
@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!
@lukasmalkmus commented on GitHub (Sep 24, 2021):
Perfect, on it! :)
Only thing that could be tricky: I like the usage of the
embedpackage. But this might require us to check in the frontend code (inui/build). I'll take a look.@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.
@hibiken commented on GitHub (Oct 22, 2021):
This is now available (as of v0.3.x)