Graph time since last spanning tree toplogy change

LibreNMS currently reports STP time since last topology change, but I’d like to have it as a graph so I can try and track down what’s causing spanning tree issues on my network. I know there’s a log entry for when it happens but a graph would be nice too.