We recommend three common patterns and practices for structuring and naming policies:
- Targets or resources in your architecture that have people responsible for their well being
- Teams that are responsible for part of the architecture
- Individual policies for specific users
Policies organized by...
Targets or resources in your organization may have different people responsible for their well-being. Common segments may include the environment type (production, staging, integration, development) or the target or resource type (app server code, client-side code, databases, hosts, etc.).
To make these types of policies easier to identify, you can give them names based on your architecture. For example:
Specific teams may be responsible for parts of your architecture. For example, you may want to name their policy
Policies set up for specific individuals may be useful when they want to personally keep an eye on a particular resource or metric. This provides them the freedom to add and remove conditions as well as adjust thresholds whenever they want, without having to communicate those changes to others.
To make these policies easier to identify, you can include the person's name; for example,
Alert policies only apply to one account. If your New Relic organization has multiple accounts, you must create alert policies for each account.
- Go to one.newrelic.com > All capabilities > Alerts & AI > Alert Policies.
- On the policy index page, click New alert policy.
- Type a meaningful name for the policy (maximum 64 characters).
- Select the issue preference.
- Select Create & close to create your policy OR Set up notifications to connect your policy to a workflow.
For your convenience, we allow you to use the same name for different policies, conditions, and notification channels. If you want to use unique names, review or search the index before adding or changing a name.
To rename an existing policy:
- Go to one.newrelic.com > Alerts & AI > Alert Policies., and then (select a policy).
- Click the policy settings* tab to edit it, type a meaningful name for the policy (maximum 64 characters), and hit Save**.
Alerts automatically updates any of the policy's conditions.
The policies index lists policies in alphabetical order. To view or search for existing policies:
- Go to one.newrelic.com > Alerts & AI > Alert Policies.
- Use the search box, sort any column, or scroll the list.
- To view detailed information, click a policy name.
To view policy and condition information for a specific entity, select the Settings > Alert conditions page from the entity's product UI.
After you create a policy, you can:
- Add more conditions to the policy.
- Edit the conditions' names, targets, or thresholds.
- Disable conditions.
- Connect to notifications using workflows.
- Rename or delete the policy.
Here is a quick reference which also includes links to more detailed information and procedures for maintaining your policies.