SpacetimeDB
SpacetimeDB copied to clipboard
Track energy for query compute
We do not currently track energy for queries and subscriptions. We should use both query compilation and execution time as proxies for energy. In particular we should pick a suitable constant multiplier N such that we approximate the amount of energy consumed by N * execution/compilation time.
As part of this ticket we should also write these energy recordings to prometheus.