Three collection channels into the same platform: the API integration for AWS services, the APM agent on the application instance, the browser agent on the front end. An infrastructure agent deployed on ECS covers the whole database estate on top of that.
Generic diagram: instances, repositories, channels and modules are named by function. The architecture is shown for illustration, independently of any organisation.
None of the three agents sees the same thing: the integration queries the AWS APIs, the APM instruments the application process, the browser agent measures what the user actually experiences. The return arrow is the only inbound one — New Relic goes and fetches metrics from the AWS APIs.
A single agent, deployed as an ECS service, covers the primary instances and their read replicas — production, staging, BI and application.