-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically generate the diagram #446
Comments
What would be the input to generate the diagram? |
Had a conversation with @rehandalal about this: Context: We are building out more services that report telemetry about how things are working on the client's machine. The diagram in Poucave's UI is a great and easy way to quickly see how the system is behaving. However, the current poucave UI is a "team view" for the product delivery team and the systems they were interested in. Poucave supporting more "team views" would make it more useful to monitor other systems like sync, push, etc. |
There are different ways to achieve this. Adding views to a single instance, or run multiple instances. Since running Poucave is pretty cheap, I would have a preference for the latter 🤷 |
I like the multiple instances approach. Poucave is cheap to run but expensive to set up. The setup is expensive because it's not automated and requires getting ops to configure each one. If we can make the setup/deployment process as easy as adding/updating a configuration we could keep poucave simple (+1) and still get custom pages. I have to admit, the idea of Poucave checks building on other poucave checks frightens me a bit. :) |
I agree. Let's see, concretely to setup a new instance, currently we need to:
This ticket originally suggested that we could generate the diagram from the config file (indicating links and labels for example). Now, maybe that the idea of having different views could be closer to issue #373 ? |
Regarding tags, tags were originally designed to create a single "up or down?" endpoint for a group of checks. They weren't designed for what this issue is about, or even creating custom UI for team views. @rehandalal changed my thinking here. Thinking about it more, I would argue that poucave now has two purposes:
For the second purpose, the SVG is so valuable because it gives context to the checks. It helps people understand the system quickly: I think this is really the problem we're solving: People want to their own custom poucave page (svg, checks, etc) but it's not easy enough to get a custom one. How can we make poucave more self serve so people can:
|
How many and how often do you think we'd have to create new pages? Things to consider:
Some possible approaches:
|
One or two for 2021 would be my estimate. It's not worth automating now. However, when we have a few more customers and use cases on poucave it will get the attention of other teams. At that point putting effort into making it more self serve will accelerate its adoption. |
It might be nice to stop using a fixed SVG and instead dynamically generate the diagram using something like JointJS
The text was updated successfully, but these errors were encountered: