alloy
alloy copied to clipboard
Flow UI: Show a graph of the components loaded by modules
Request
If you load a module using a component such as module.string
, the UI does not show the sub-graph which module.string
loaded, with all of its internal Flow components. It would be nice if this is visible in the UI.
Use case
Ease of use.
I could tackle this. Please help assign 😄
Hi @hainenber! Thank you so much, but there are a couple of problems with this task:
- It might be a lot of work. Or it might not. I really don't know 😅
- I am not sure what the UI should look like when modules are visualised.
- Should the sub graph be displayed inside the module component's box? This would seem most natural.
- Alternatively, maybe it can be displayed on the side, or in a different location on the page (e.g. in a tab)? This could potentially be an easier implementation.
- It would be good to get consensus from the team before tackling this.
- If this is a lot of work, then it would be best to see if we want to tackle grafana/alloy#514 first.
I put in a comment on grafana/alloy#514 to ask why it's even raised in the first place. Let's wait for now, to see what the reply is. If grafana/alloy#514 is really important, maybe it's be best not to invest too much time in the current visualisation. In that case we'd have to tackle grafana/alloy#275 after grafana/alloy#514.
Aight, thanks for the heads up!
I'll try making a PoC to gauge feedbacks firstly then.
Maybe not assign me that early 🤭
This issue has not had any activity in the past 30 days, so the needs-attention
label has been added to it.
If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue.
The needs-attention
label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!
I've drafted a PoC in the linked PR
There would be a new Graph
option on left side
, which redirects to a new page depicting the graph
Wdyt?