Use this action to provide post-deployment verification using New Relic, an observability tool that provides real-time data on application health, performance, and usage.
All CloudBees action repositories are listed at CloudBees, Inc. on GitHub. |
Inputs
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
No |
The New Relic controller URL. |
|
String |
No |
The New Relic infrastructure conditions URL. |
|
String |
Yes |
The New Relic API key. |
|
String |
Yes |
The verification duration, in milliseconds. |
|
String, representing an array |
Yes |
The New Relic policies. |
|
String, representing an array |
Yes |
The New Relic conditions. |
Usage example
In your YAML file, add:
jobs: verify-with-newrelic: steps: - name: Verify post-deploy with New Relic uses: cloudbees-io/newrelic-verify-deploy@v1 with: api-key: ${{ secrets.NEWRELIC_API_KEY }} duration: '10000' policies: '["Kubernetes default alert policy"]' conditions: '["Pod is not ready","Pod was unable to be scheduled","Container memory usage % is too high"]' infra-condition-url: https://my-infra.newrelic.com