Compute sliding window sums by tag | Datadog Coding Question