You can manage your policies, conditions, and muting rules programmatically using our GraphQL NerdGraph API. This is a powerful alternative to managing them in New Relic One or through the REST API.
Alerts features you can manage with NerdGraph
Here's what you can do in NerdGraph:
- Manage policies
- Use NRQL conditions
- Add muting rules to suppress notifications
- Manage notification channels
- Customize loss of signal and gap filling
The easiest way to discover alerts queries and mutations is through the NerdGraph API explorer.
NerdGraph API explorer
Our NerdGraph API explorer is a GraphiQL editor where you can prototype queries and mutations. Here are some examples showing how to find fields for queries and mutations.
ヒント
For general information about NerdGraph, see Introduction to NerdGraph.
Queries
To explore the various queries, look for the available queries under the actor.account.alerts
namespace in NerdGraph API explorer:
Mutations
To explore various mutations, look in the alerts dropdown in the NerdGraph API explorer:
その他のヘルプ
さらに支援が必要な場合は、これらのサポートと学習リソースを確認してください:
- Explorers Hubでは、コミュニティからのサポートを受けたり、ディスカッションに参加したりすることができます。
- 当社サイトで答えを見つけて、サポートポータルの使用方法を確認してください。
- Linux、Windows、およびmacOS向けトラブルシューティングツールであるNew Relic Diagnosticsを実行してください。
- New Relicの とandドキュメント をご確認ください。