This integration pack allows you to integrate with New Relic.
Copy the example configuration in newrelic.yaml.example
to /opt/stackstorm/configs/newrelic.yaml and edit as required.
It must contain:
api_url- New Relic API URLapi_key- New Relic API keyhost- IP Address sensor should listen on. Default 0.0.0.0port- Port sensor should listen on. Default 10001url- URI path for sensor. Default /st2/nrhooknormal_report_delay- Delay before firing return to normal event. Default 300s
You can also use dynamic values from the datastore. See the docs for more info.
Note : When modifying the configuration in /opt/stackstorm/configs/ please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
New Relic integration pack comes with a sensor which watches for alerts which are sent via Webhooks from the New Relic API.
Right now it includes two sensors - one for the legacy alerting and API (
new_relic_legacy_app_sensor.yaml) and one for the new alerting and API (
new_relic_app_sensor.yaml).
By default the legacy sensor is disabled. If you are still using the legacy API
and you want to use the legacy sensor, you should enable it in
new_relic_legacy_app_sensor.yaml file and disable the new one in
new_relic_app_sensor.yaml file.