There are several steps to enabling Lambda monitoring:
- Link your AWS account.
- Optional: configure CloudWatch Log collection: if in Step 1, you used the
newrelic-lambdaCLI, that automatically installs the CloudWatch logs collector by default and you can skip this step.
- Instrument an example function.
- Instrument your functions.
- Optional: Set up alerts and custom events.