voxpupuli / puppetboard

Web frontend for PuppetDB
https://pypi.org/project/puppetboard/
Apache License 2.0
711 stars 237 forks source link

Fact date column on fact screens #663

Open tparkercbn opened 2 years ago

tparkercbn commented 2 years ago

Would it be possible to add the 'freshness' of the facts that are displayed in the facts view as a new column in the table?

This would be useful in cases where puppet is not running as a daemon and you want to know if the data is 1 hour or 1 week old.

A similar column would be nice to have in the overview screen beside the report column. Our environment pushes facts hourly but only runs pupet on demand and having an idea of fact freshness would again be great.

gdubicki commented 2 years ago

Hi @tparkercbn!

It should be possible as we have the fact’s value timestamp available in that view. The only thing is how to deal with the UI - to make it available if someone needs, make it discoverable but prevent information overload and not show it if not necessary. Any suggestions?