开始使用newrelic api进行数据收集的plugnplay包
newrelic-api-parser的Python项目详细描述
New Relic API解析器
入门
- 在
先决条件
- Python>;=3.6.x
- 皮普
- 在
安装
在$ pip install newrelic-api-parser
- 在
示例
- 调用API的见解
可用方法
- 对于REST API
Class | Method | Params | Description |
---|---|---|---|
Applications | get_list | N.A. | return the list of apm applications |
Applications | show | app_id | returns the detail of an application based on the app id passed |
Applications | delete | app_id | delete an apm app on new relic based on the app id passed |
AlertsEvents | get_list | N.A. | return the list of alert events |
BrowserApplications | get_list | N.A. | return the list of browser applications |
BrowserApplications | create | browser_application_name | returns the detail of a browser application based on the application name passed |
Plugins | get_list | N.A. | return the list of plugins |
Plugins | show | app_id | returns the detail of a plugin based on the app id passed |
- 对于Insights API
参考文献
- 有关端点的详细信息,请参阅official New Relic Documentation
注:
- 该软件包正在开发中,可能会有更频繁的更新
- 项目
标签: