The New Relic Broker is a Lambda function that has two important pieces of functionality:
- Adding application deployments
- Configuring alerts for an application - See here for how to configure application alerting.
The New Relic Broker is invoked by Herman after a service is deployed during each ECS Push Task run. A NewRelicBrokerRequest object is passed to the broker and a NewRelicBrokerResponse object is returned.
The code for the Herman New Relic Broker is available on GitHub: New Relic Broker
The Herman Lambda Push Task can be used to deploy the broker itself. An org-specific New Relic account ID and the Lambda name needs to be updated in plugin-tasks.yml before Herman is functional (See Plugin configuration).