weaveworks / scope

Monitoring, visualisation & management for Docker & Kubernetes
https://www.weave.works/oss/scope/
Apache License 2.0
5.85k stars 709 forks source link

fix (probe): skip publishing empty reports #3774

Closed bboreham closed 4 years ago

bboreham commented 4 years ago

If the probe is configured with spy.interval greater than publish.interval, the report to be published can be completely blank.

In that case, skip publishing it so the next time we do have some data the time-window is correct.