[Minor] Segment by gateway for all (analytics) trend queries