Your WayScript workspace can be configured with integrations that allow your team to setup "blueprints" that establish defaults, across categories such as monitoring, deployment pipelines, secrets management, and more, for each Lair in your workspace.

Supported integrations

New Relic
Auto-initialize infrastructure agent in your Lair processes and pass relevant environment variables to setup APM and log forwarding
AWS Secrets Manager
(coming soon)
(coming soon)

New Relic

WayScript's NewRelic integration allows you to connect to your NewRelic account and setup default monitoring across your workspace's Lairs.
Adding the integration with enable two monitoring capabilities in your workspace Lairs:
  • Auto-initialized infrastructure monitoring
  • Ability to configure APM agents and log forwarding
Currently, the integration offers the ability to automatically initialize New Relic's infrastructure agent in your Lair processes and inject relevant environment variables for you to setup New Relic's APM agent and log forwarding for your service or script. The WayScript team plans to add additional functionality; please contact us at [email protected] with any requests.

Enabling the New Relic integration (with default infrastructure monitoring)

  1. 1.
    Sign up for a New Relic account or login to an existing acount.
  2. 2.
    Create a New Relic integration in WayScript, and enter your New Relic account_id and license_key. These values can be found by navigating to the WayScript partner page at or selecting "Add more data" and then choosing WayScript from the "Partners" view.
  3. 3.
    Navigate to your New Relic console and selects "Hosts" under "Infrastructure".
  4. 4.
    Invoke a process in your Lair (by pressing "Test" on a Lair trigger or navigating to a Lair endpoint).
  5. 5.
    Wait a few minutes for New Relic to start receiving your data.
  6. 6.
    Select a host to view live infrastructure metrics.

Setting up a New Relic APM agent in your Lair

After enabling the integration, the following New Relic protected environment variables will be injected into your Lair's environments before process execution.
  • NEW_RELIC_APP_NAME - set to wayscript-<workspace_name>-<lair_name>-<env>
  • NEW_RELIC_LABELS - set to wayscript:<workspace_name>-<lair_name>-<env>
You can use these values to setup the New Relic APM agent and log forwarding for your services or scripts. Please follow New Relic's Python or Node documentation for detailed instructions. You will need to add New Relic package dependency and may need to modify your Lair trigger's run command, depending the language, framework, and your specified agent configuration.
Export as PDF
Copy link
New Relic