console icon indicating copy to clipboard operation
console copied to clipboard

Data visualization on topics page

Open vuldin opened this issue 3 years ago • 0 comments

This is copied in from a slack conversation

Great to see Kowl part of Redpanda! It seems Kowl is using react and mobx in the front-end app. I have always chosen mobx over other global state management tools like redux since it has less boilerplate, has observable state, and can be used with anything (not just react).

Another visualization tool I like to use with react and mobx is D3. It would be awesome to have a visualization built-in to the topics dashboard similar to the mockup attached. X/Y axes and data points could be associated with the appropriate data either by selecting from incoming data values in the message tab, or maybe automatically from the topic's associated schema (on the schema registry page). The red/yellow lines could mean min/max (red) or something like confidence interval (yellow). They could also be for the same purpose as in the original chart, which is to show safe ranges (anything outside of red gets escalated in some way, like notifications via pagerduty etc.). For the market_activity topic the red/yellow lines could be market's high/low for the time period. image

An older version of the D3/react/mobx chart I used as the basis of this mockup is in a gist here. I'll come up with a working project whenever I get a chance that includes this component along with react, mobx, and kowl.

vuldin avatar Apr 02 '22 15:04 vuldin