jina-ai / dashboard

Interactive UI for analyzing Jina logs, designing Flows and viewing Hub images
https://dashboard.jina.ai
Apache License 2.0
118 stars 61 forks source link

Streaming logs from Non-Console Flows #331

Closed lusloher closed 3 years ago

lusloher commented 3 years ago

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. image

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

lusloher commented 3 years ago

Link to feature: https://jinaai.productboard.com/feature-board/planning/features/8123703

jina-bot commented 3 years ago

This issue is stale because it has been open 20 days with no activity. Remove stale label or comment or this will be closed in 4 days

Roshanjossey commented 3 years ago

We'll have to do this at one point. Not a priority right now.