<div dir="ltr">Hello,<div>I'm thinking about adding some metadata on webUI edges along active capture - bandwidth, so one can understand traffic on the given topology.</div><div>As I see this task can be divided into the following:</div><div>1. Add bandwidth metadata to the Edge</div><div>2. When webUI gets "NewEdge" оr "NewUpdate" message in ProcessGraphMessage() function, need to draw this bandwidth info on the edge of the graph representation.<br></div><div>3. Adding new or modifying existing probe in order it will be able to generate/compute bandwidth data and supply it to the Agent graph.</div><div><br></div><div>So, what do you think about the idea? Where should I start with adding such info? </div><div><br></div><div>I suppose we can store the bandwidth info as metadata in these:</div><div><div>1) type graphElement struct {</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>ID       Identifier</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>metadata Metadata</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>host     string</div><div>}</div></div><div>3) type Edge struct {</div><div><div><span class="Apple-tab-span" style="white-space:pre"> </span>graphElement</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>parent Identifier</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>child  Identifier</div><div>}</div></div><div>3) type MemoryBackendEdge struct {</div><div><div><span class="Apple-tab-span" style="white-space:pre">   </span>*Edge</div><div>}</div></div><div><br></div><div>Another, more general question: can you please describe in two words, what is data flow from in memory graph of Analyzer to webUI: </div><div>- how update of webUI started</div><div>- when it is updated (on changes, periodically)</div><div> </div><div>And what flows should I look into to understand and to start playing with adding additional metadata described above?</div><div><br></div><div>Thanks, </div><div>Kostya</div><div><br></div><div><br></div></div>