You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Gojek folks, thanks for the effort in maintaining gocraft / gojek/work!
I have a use case, where we plan to attach the monitoring UI inside a prefix of an existing server. I see that inside webui folder we only expose a constructor for a server – is it possible that we expose handler as well, for easy plug-in with other server (e.g., Mux)?
The server will end up with this API structure:
/ping : containing liveness check
/{anything else} : contains business logic for our server
/monitoring/* : will contain the gojek/work server UI
This way, we can host the worker monitoring UI inside the same server we use for our business logic as well. This is necessary for us because, on our infrastructure where we have server and worker, we only expose port 8080 of the server, making it impossible for us to host the worker monitoring UI from the worker itself, or on a different port of the server.
Hi Gojek folks, thanks for the effort in maintaining gocraft / gojek/work!
I have a use case, where we plan to attach the monitoring UI inside a prefix of an existing server. I see that inside webui folder we only expose a constructor for a server – is it possible that we expose handler as well, for easy plug-in with other server (e.g., Mux)?
The server will end up with this API structure:
This way, we can host the worker monitoring UI inside the same server we use for our business logic as well. This is necessary for us because, on our infrastructure where we have server and worker, we only expose port 8080 of the server, making it impossible for us to host the worker monitoring UI from the worker itself, or on a different port of the server.
Better example will be like this: https://github.com/hibiken/asynqmon?tab=readme-ov-file#import-as-a-library
Thanks in advance folks.
The text was updated successfully, but these errors were encountered: