rest-gateway is meant for centralized routing of external API calls and should not be called by services running inside production.
Wikifeeds calls it for a couple of functions in pageviews.js:
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/lib/pageviews.js#61
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/wikifeeds/+/refs/heads/master/lib/pageviews.js#75
and maybe in other places.
Would it be possible to change that to calling the page-analytics service via the service mesh?