Skip to content

Commit 063b8d4

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

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
@@ -30,17 +30,22 @@ stringData:
3030
newrelic-apiKey: apiKey
3131
```
3232
33-
3. Copy [Application ID](https://docs.newrelic.com/docs/apis/rest-api-v2/get-started/get-app-other-ids-new-relic-one/#apm)
33+
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)
3434
4. Create subscription for your NewRelic integration
3535
3636
```yaml
3737
apiVersion: argoproj.io/v1alpha1
3838
kind: Application
3939
metadata:
4040
annotations:
41-
notifications.argoproj.io/subscribe.<trigger-name>.newrelic: <app-id>
41+
notifications.argoproj.io/subscribe.<trigger-name>.newrelic: <app-id> || <app-name>
4242
```
4343
44+
**Notes**
45+
46+
- If you use an application name, `app_id` will be looked up by name.
47+
- If multiple applications matching the application name are returned by NewRelic, then no deployment marker will be created.
48+
4449
## Templates
4550

4651
* `description` - __optional__, high-level description of this deployment, visible in the [Summary](https://docs.newrelic.com/docs/apm/applications-menu/monitoring/apm-overview-page) page and on the [Deployments](https://docs.newrelic.com/docs/apm/applications-menu/events/deployments-page) page when you select an individual deployment.

0 commit comments

Comments
 (0)