New Relic deployment notifications

class NewRelicDeploymentNotification

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.

apikey

Your NewRelic API key. This is seperate from your licence key. Required.

app

The name of the application to record the deployment against. Required.

revision

The version of software that was just deployed. Required. Max 127 characters.

description

A description of the change. Max 65535 characters.

changelog

A copy of the changelog to attach to this deployment record. Max 65535 characters.

user

The user that pushed this changed. Max 31 characters.