Allow monitoring generator to select the aggregator
Created by: pecigonzalo
This is required for alerts that want to get the max
value for a
service across its dimensions but want to alert when the value is
lower than X across the max
, or the other way around.
Fixes: https://github.com/sourcegraph/customer/issues/214
Mains files to review:
monitoring/monitoring/monitoring.go
monitoring/monitoring/panel_options.go