Hacker News new | ask | show | jobs
by jldugger 987 days ago
Three reasons:

1. I want changes to the diagram to be peer reviewable and understandable. 2. I want something else to manually lay out things, rather than have to adjust it personally on every addition or change. 3. I want a parsable structure I can feed into grafana or similar, so I can decorate the graph with metric data. It seems like it would be cool to have a graph of RPC calls and which links were red.

1 comments

>I want a parsable structure I can feed into grafana or similar, so I can decorate the graph with metric data.

I don't think this can do it, but it would be cool if it could.

Maybe someone can make another diagramming DSL for the Grafana Node Panel.

Well, right now I have graphviz dot which should be enough to load in and transform as needed into whatever DSL desired.
I don't think anything that I'm aware of converts graphviz dot files into Grafana Node Panels but it would be a good project if someone did it.
I figure there's bound to be a parser in Python that can load my graphviz files and from there it's easy enough to transform objects in memory as required.