You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There, BillingEmitter (a decorator around the Collector interface) will only call the "upstream" collector if it successfully emitted billing details.
We could change it to forward even on emitter failure, or we could shift the model from decorator to composite, using something to tee reports to both destinations in parallel. No doubt there are other options too.
The text was updated successfully, but these errors were encountered:
Elsewhere, @bboreham states:
A quick search through the scope code shows
scope/app/multitenant/billing_emitter.go
Lines 82 to 87 in 860dfb7
There,
BillingEmitter
(a decorator around theCollector
interface) will only call the "upstream" collector if it successfully emitted billing details.We could change it to forward even on emitter failure, or we could shift the model from decorator to composite, using something to tee reports to both destinations in parallel. No doubt there are other options too.
The text was updated successfully, but these errors were encountered: