NewRelic.Api.Agent.NewRelic.SetApplicationName(string $name[, string $name_2, string $name_3])
Set the app name for data rollup.
Agent version 220.127.116.11 or higher.
Compatible with all app types.
Set the application name(s) reported to New Relic. For more information about application naming, see Name your .NET application.
Updating the app name forces the agent to restart. The agent discards any unreported data associated with previous app names.
Required. The primary application name.
Optional. Second and third names for app rollup. For more information, see Use multiple names for an app.
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.