riemann / riemann-dash

An HTTP dashboard for Riemann.
MIT License
248 stars 102 forks source link

grid caching commit breaks freshness of data #62

Closed faxm0dem closed 10 years ago

faxm0dem commented 10 years ago

When running a grid view, events only get updated after the expiry of the first event. Example:

r << { service: "a", state: "ok"}

Shows up in the dash as a green event

r << { service: "a", state: "warning"}

The dash keeps showing green.

After running git-bisect it appears this unexpected behaviour was introduced in commit 449afa9b56bae13b9a6454c22b0076d4200ada21

faxm0dem commented 10 years ago

it seems this is only reproducible with events having no metric

faxm0dem commented 10 years ago

This issue is (probably obviously) resolved by 2497b2b119ccc2b3052f96cd5cb6752421dc5a4a