Skip to content

Commit fc16e0e

Browse files
committed
docs(newrelic): applications can be referenced by name
Signed-off-by: 3bbbeau <[email protected]>
1 parent e8642eb commit fc16e0e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/services/newrelic.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,22 @@ stringData:
3434
newrelic-apiKey: apiKey
3535
```
3636
37-
3. Copy [Application ID](https://docs.newrelic.com/docs/apis/rest-api-v2/get-started/get-app-other-ids-new-relic-one/#apm)
37+
3. Copy [Application ID](https://docs.newrelic.com/docs/apis/rest-api-v2/get-started/get-app-other-ids-new-relic-one/#apm) or [Application Name](https://docs.newrelic.com/docs/apm/agents/manage-apm-agents/app-naming/name-your-application/#app-alias)
3838
4. Create subscription for your NewRelic integration
3939
4040
```yaml
4141
apiVersion: argoproj.io/v1alpha1
4242
kind: Application
4343
metadata:
4444
annotations:
45-
notifications.argoproj.io/subscribe.<trigger-name>.newrelic: <app-id>
45+
notifications.argoproj.io/subscribe.<trigger-name>.newrelic: <app-id> || <app-name>
4646
```
4747
48+
**Notes**
49+
50+
- If you use an application name, `app_id` will be looked up by name.
51+
- If multiple applications matching the application name are returned by NewRelic, then no deployment marker will be created.
52+
4853
## Templates
4954

5055
- `revision` - **optional**, The revision being deployed. Can contain a custom template to extract the revision from your specific application status structure.

0 commit comments

Comments
 (0)