Hello Cockroach Forum!
I figured I would post this here before making an issue on github. I bet I can benefit from a little community help.
Environment: Single node test cluster with about 1.8GB of disk capacity used
The title says a lot. However, I can say a bit more here in detail. In our system, when trying to diagnose slow queries by using the admin UI. The statements page always has the statement in the top right corner that says “Last cleared 2019-10-02 16:05:37” equal to the current timestamp UTC. It appears to always clear the saved statements for reporting upon refreshing the page.
Clearly the first step is to look up settings in the docs, and I double checked that in this cluster diagnostics.reporting.interval is set to the default of 01:00:00 and diagnostics.forced_stat_reset.interval is set to the default of 02:00:00, so I was able to rule that out as a cause.
Has anyone else ever experienced this problem or have any advice? Thanks for the help!