[se-5384] implement new relic monitoring in grove
This PR adds the New Relic alerts as defined on Ocim. Specifically alerts are created for:
- LMS domain
- Studio Domain
- Preview Domain
- Extended Heartbeat of the LMS (
/heartbeat
)
The new configuration keys that need to be set in private.yml
or as part of the CI environment:
-
NEW_RELIC_API_KEY
- Your new relic API key for the Rest v2 API. -
NEW_RELIC_MONITORING_EMAILS
- A list of emails of that will get the alerts. -
NEW_RELIC_REGION_CODE
-us
oreu
depending on where your new relic data is stored.
Testing instructions
- To private.yml (or gitlab) add the
NEW_RELIC
config keys. - Deploy as normal.
- There should be new Synthetic checks on the New Relic dashboard for the URLs mentioned above.
Extra information
- Logs are available for a run I did on https://gitlab.com/opencraft/dev/grove-development/-/jobs/2226236339
Edited by Keith Grootboom