Metrics web pages should refresh minutely?
The metrics home page is a great candidate for a dashboard on a TV on a wall but it needs to auto-refresh for that purpose. Should we configure /metrics to refresh at the top of each minute?
I might take a look at this tomorrow, really looking forward to metrics 😍
Should we use the existing live-poll-functionality, hard refresh or something custom?
If we are using the live-poll, we need to
- remove chart
- replace content
- initialize new chart
then the charts will flicker like in the video below: https://user-images.githubusercontent.com/6763624/188074993-228ac085-ece0-4723-8d0e-27f4663d6157.mov
If we want flicker-free updates we need to handle the table via javascript as well.
I envision the page only fetching the latest minute value and updating the graph/table. I don't think it would be good to refresh the entire page/content.
Will look into reworking the table to fit with that vision.
@mperham What branch should I base my changes on now until version 7 is released?
Main. 6.x is closed except for important bug fixes.