Jina includes a Monitor tab in the Console. The Monitor tab connects to a Jina Flow somewhere and displays all the Logs produced by that Flow in a graphical fashion.
Currently, the user can only stream logs from a Flow started by the Console. This happens in the Monitor tab of the Console.
This task includes adding query parameters (address and port) to the URL that will allow the Console to connect to a Flow running on a local machine or in the remote.
The user will have a link that will look like this www.console.jina.ai/logs?url=localhost&port=8080. This link will take the user to the Monitor tab of the page and start streaming the logs from this Flow running at the specified URL and port.
An example use case would look like this: The user starts a Jina Flow. As part of the command line output, he receives a URL: www.console.jina.ai/logs?url=localhost&port=8080. The user opens the URL and can automatically see the logs from the Flow running at localhost:8080.
Acceptance criteria
Add query params that can be passed in the URL for the Flow.
The query params are the following: address and port
Parse out query params to connect the log streaming to the appropriate Flow.
Set state of the console to the externally provided
Jina includes a Monitor tab in the Console. The Monitor tab connects to a Jina Flow somewhere and displays all the Logs produced by that Flow in a graphical fashion.
Currently, the user can only stream logs from a Flow started by the Console. This happens in the Monitor tab of the Console.
This task includes adding query parameters (address and port) to the URL that will allow the Console to connect to a Flow running on a local machine or in the remote.
The user will have a link that will look like this www.console.jina.ai/logs?url=localhost&port=8080. This link will take the user to the Monitor tab of the page and start streaming the logs from this Flow running at the specified URL and port.
An example use case would look like this: The user starts a Jina Flow. As part of the command line output, he receives a URL: www.console.jina.ai/logs?url=localhost&port=8080. The user opens the URL and can automatically see the logs from the Flow running at localhost:8080.
Acceptance criteria
┆Issue is synchronized with this Asana task by Unito