libp2p / observer-toolkit

🐣 [WIP] toolkit for building libp2p introspection widgets + a few useful out-of-the-box widgets
https://libp2p.io
MIT License
2 stars 2 forks source link

Precisely align timeline to current state message, including gaps #72

Closed AlanSl closed 4 years ago

AlanSl commented 4 years ago

This boosts the timeline's accuracy and resilience for various cases such as where the introspector sends missing data, data with gaps, or where the user changes the state message duration setting. It removes some assumptions in timeline logic we'd made early on that we now know we can't rely on.

I've updated the 3 minute sample with one with some small example gaps between some states and changes in the state durations for validating this:

image

image

image

mcollina commented 4 years ago

(CI is failing)