Reverse proxy grapher (

106 points by fanf2 343 days ago


gregmac 342 days ago

I've been (idly) looking for something like this just in the past couple of weeks, though I wasn't exactly sure what I wanted it to look like. I really like the visualization of service connections, great job!

I was playing with d3js to build a Sankey diagram, but it wasn't quite right -- this is pretty much what I was going for but hadn't quite pictured yet.

Ultimately, I am actually trying to build a dashboard to put up on a monitor on the wall with this information, but also overlay status (instance health, versions, etc). I guess it could sort of be done using sever-side image generation, so long as ETag caching is working properly, and you only regenerate the image if anything has actually changed.

I may give this a shot at some point, but before I do, anyone have ideas on how to get this result using javascript running in browser?

chrisweekly 343 days ago

Beautiful! I hope you keep extending it (eg to cover different levels of proxying). Agreed w/ chrissnell comment about dynamic inputs to the config...

luxpsycho 342 days ago

Feature request: donate button / address for postards.

Will try this out as soon as I have a spare minute! Fantastic! :)

chrissnell 343 days ago

Very cool, but this would be so much cooler if the YAML was automatically generated from nginx, HAproxy, Traefik, etc. config files.

    hetspookjee 342 days ago

    I've tried making some similar tool based on the output of RVTools to translate the output of RVTools to some terraform like script. I gave up on the idea after noticiing how much time it'll cost to catch most edge cases. You want those edge cases to increase your productivity, else you're just shifting your work.

    I think a similar thing will happen here if you're gonna make it as broad. Maybe I'm overcomplicating things but I noticed that writing a good general parser is really, really hard.

    I think this tool succeeds excellently in it's simplicity, might want some new features over time though - not sure, need to try it, but for now, great tool.

    joshribakoff 343 days ago

    That would be cool. But consider that some people have thousands of wildcard vhosts

      cakeface 342 days ago

      I feel like that is a great reason to generate it dynamically from the source configs.

neduma 342 days ago

Traefik, Enovy and Linkerd integrations would be awesome in addition to nginx/haproxy/apache

chatmasta 343 days ago

This is really nice. Good job!