# 将 New Relic 接入 Open Flow

Source: https://openflow.run/zh-cn/integrations/new_relic/

[全部集成](https://openflow.run/zh-cn/integrations/)

让监测结果和告警条件更便于团队讨论。

*   [28 个工具](https://openflow.run/zh-cn/integrations/new_relic/#integration-actions)
*   API 密钥
*   开发工具

[连接 New Relic](https://console.openflow.run/connections/new_relic)

每月 20,000 次免费应用调用（付费服务另计）

## 可以做什么

在 New Relic 查询服务监测数据，并查看仪表盘或告警策略。告警条件、监测项和部署标记有助于结合账户中的观测记录与既有设置分析运营问题。

### 遥测数据与仪表板

搜索实体、执行 NRQL、读取或管理仪表板，并生成仪表板页面快照。

### 告警与合成监控

读取或管理告警策略、NRQL 条件、ping 监控，以及合成监控凭据的元数据和写入值。

### 部署标记

为实体创建变更追踪标记，或读取旧版 APM 应用部署记录。

## 所有工具

28 个工具

### Get Current User

验证已连接的 New Relic 用户密钥，并从 NerdGraph 返回当前用户配置文件。

`new_relic.get_current_user`

### Search Entities

使用原始实体搜索语言或结构化查询构建器搜索 New Relic 实体。

`new_relic.search_entities`

### Execute Nrql Query

对特定 New Relic 账户执行 NRQL 查询，并返回查询结果和元数据。

`new_relic.execute_nrql_query`

### Get Alert Policies

使用 REST alerts API 列出 New Relic 警报策略，支持可选的名称、事件偏好和分页筛选。

`new_relic.get_alert_policies`

### Create Alert Policy

使用 REST alerts API 创建 New Relic 警报策略。

`new_relic.create_alert_policy`

### Update Alert Policy

使用 REST alerts API 更新 New Relic 警报策略名称或事件偏好。

`new_relic.update_alert_policy`

### Delete Alert Policy

使用 REST alerts API 删除 New Relic 警报策略。

`new_relic.delete_alert_policy`

### List Nrql Conditions

使用 REST alerts API 列出特定警报策略的 NRQL 警报条件。

`new_relic.list_nrql_conditions`

### Create Nrql Condition

使用 REST alerts API 为策略创建静态或基线 NRQL 警报条件。

`new_relic.create_nrql_condition`

### Update Nrql Condition

使用 REST alerts API 更新静态或基线 NRQL 警报条件。

`new_relic.update_nrql_condition`

### Delete Nrql Condition

使用 REST alerts API 删除 New Relic NRQL 警报条件。

`new_relic.delete_nrql_condition`

### Get Dashboard Entity

按 GUID 读取 New Relic 仪表板实体，包括其页面和组件。

`new_relic.get_dashboard_entity`

### Create Dashboard

使用 NerdGraph 创建包含页面和组件的 New Relic 仪表板。

`new_relic.create_dashboard`

### Update Dashboard

按 GUID 更新 New Relic 仪表板，用提供的页面和组件替换仪表板配置。

`new_relic.update_dashboard`

### Delete Dashboard

按实体 GUID 删除 New Relic 仪表板。

`new_relic.delete_dashboard`

### Create Dashboard Snapshot Url

为 New Relic 仪表板页面 GUID 生成快照 URL。

`new_relic.create_dashboard_snapshot_url`

### List Monitors

使用 NerdGraph 实体搜索 SYNTH MONITOR 实体类型来列出合成监控器。

`new_relic.list_monitors`

### Get Synth Monitor

使用 NerdGraph 实体搜索，通过旧版监控器 ID 或实体 GUID 获取合成监控器。

`new_relic.get_synth_monitor`

### Create Synthetics Simple Monitor

使用 syntheticsCreateSimpleMonitor 变更创建 New Relic ping 监控器。

`new_relic.create_synthetics_simple_monitor`

### Update Synthetics Simple Monitor

使用 syntheticsUpdateSimpleMonitor 变更按 GUID 更新 New Relic ping 监控器。

`new_relic.update_synthetics_simple_monitor`

### Delete Synthetics Monitor

使用 syntheticsDeleteMonitor 变更按 GUID 删除合成监控器。

`new_relic.delete_synthetics_monitor`

### List Secure Credentials

使用 NerdGraph 实体搜索 SYNTH SECURE\_CRED 实体类型来列出合成安全凭据。

`new_relic.list_secure_credentials`

### Get Secure Credential

使用 NerdGraph 实体搜索元数据，按密钥获取合成安全凭据。

`new_relic.get_secure_credential`

### Create Secure Credential

使用 NerdGraph 创建 New Relic 合成安全凭据。

`new_relic.create_secure_credential`

### Update Secure Credential

使用 NerdGraph 更新 New Relic 合成安全凭据的值或描述。

`new_relic.update_secure_credential`

### Delete Secure Credential

使用 NerdGraph 删除 New Relic 合成安全凭据。

`new_relic.delete_secure_credential`

### Create Deployment Marker

使用 NerdGraph 为实体 GUID 创建 New Relic 变更跟踪部署标记。

`new_relic.create_deployment_marker`

### List Deployments

使用 REST v2 部署 API 列出旧版 APM 应用程序的部署标记。

`new_relic.list_deployments`

没有符合搜索条件的工具。

## 将 New Relic 接入 Open Flow

[连接 New Relic](https://console.openflow.run/connections/new_relic)

每月 20,000 次免费应用调用（付费服务另计）
