New Relic deployment notifications¶
You can send a notification from the workspace:
newrelic = workspace.add_newrelic_deployment_notification( apikey="XXXXXXXXXXXXXXXXXXXXXXXX", app="myapp-staging", revision="3.1.0" )
This uses the New Relic Deployment Notification REST API.
Your NewRelic API key. This is seperate from your licence key. Required.
The name of the application to record the deployment against. Required.
The version of software that was just deployed. Required. Max 127 characters.
A description of the change. Max 65535 characters.
A copy of the changelog to attach to this deployment record. Max 65535 characters.
The user that pushed this changed. Max 31 characters.