alloy icon indicating copy to clipboard operation
alloy copied to clipboard

Alloy graph: handle long component names/labels

Open wildum opened this issue 7 months ago • 1 comments

For some component names and for long labels, the text will go outside the box. This is not very pretty, we should find a way to improve it

Cropping the names/ids is probably not a good option because if you cant identify the nodes it defeats the purpose of using the graph of debugging

wildum avatar Apr 10 '25 07:04 wildum

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!

github-actions[bot] avatar May 11 '25 00:05 github-actions[bot]

Example here from a k8s-monitoring alloy-metrics graph. It looks like we set the value here: https://github.com/grafana/alloy/blob/main/internal/web/ui/src/features/graph/buildGraph.ts#L11

Image

maxlemieux avatar Sep 08 '25 22:09 maxlemieux

Fiddling around with this locally to see if I can get something pretty - I can submit a draft PR tomorrow for feedback :)

blewis12 avatar Sep 14 '25 10:09 blewis12