We create a metric selector for a specific metric and we want to setup a custom event if this query exceeds a certain value for more than 2 hours. The maximum sliding window allowed is 1 hour, so we can't seem to find a way to do this. And this specific issue extrapolates to a more generic one: how can we deal with long-term alerts? Is there any way to change the interval granularity of metric keys/selectors for alerting reasons?
I don't think there is OOTB via the conventional methods. This would be a great RFE though. You can change your granularity in the data explorer which you could technically post into the metric even with the rate segment. But rate has its limitations. This is some what of a solution to work around the limitations, Still its worth a shot!