返回顶部
n

newrelic-cli-skills

>

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.3
安全检测
已通过
469
下载量
1
收藏
概述
安装方式
版本历史

newrelic-cli-skills

# New Relic CLI Skills ## Quick Decision Tree **Performance issue reported?** → [`apm/SKILL.md`](apm/SKILL.md) **Need to query data with NRQL?** → [`nrql/SKILL.md`](nrql/SKILL.md) **Recording a deployment?** → [`deployments/SKILL.md`](deployments/SKILL.md) **Alert management?** → [`alerts/SKILL.md`](alerts/SKILL.md) **Infrastructure/host issues?** → [`infrastructure/SKILL.md`](infrastructure/SKILL.md) **Agent not reporting?** → [`diagnostics/SKILL.md`](diagnostics/SKILL.md) --- ## Setup & Auth ```bash # Install (manual or package manager) # macOS (Homebrew) brew install newrelic-cli # Or manually download a release archive from: # https://github.com/newrelic/newrelic-cli/releases # Extract it, place the `newrelic` binary on your PATH, then verify with: newrelic --version # Configure profile newrelic profile add \ --profile default \ --apiKey $NEW_RELIC_API_KEY \ --accountId $NEW_RELIC_ACCOUNT_ID \ --region US # or EU newrelic profile default --profile default # Verify newrelic profile list ``` --- ## Common One-Liners ```bash # Search for an entity by name newrelic entity search --name "my-app" # Run a NRQL query newrelic nrql query --accountId $NEW_RELIC_ACCOUNT_ID \ --query "SELECT average(duration) FROM Transaction WHERE appName='my-app' SINCE 1 hour ago" # Record a deployment newrelic apm deployment create \ --applicationId <APP_ID> \ --revision "v1.2.3" \ --description "Feature: user auth" # Run diagnostics newrelic diagnose run ``` --- ## Entity Reference Find entity GUIDs (needed for API calls and deployment markers): ```bash # List all APM apps newrelic entity search --name "" --type APPLICATION --domain APM # Get specific entity details newrelic entity get --guid <GUID> # List all hosts newrelic entity search --name "" --type HOST ``` --- ## Environment Variables | Variable | Description | |---|---| | `NEW_RELIC_API_KEY` | User key (NRAK-...) | | `NEW_RELIC_ACCOUNT_ID` | Numeric account ID | | `NEW_RELIC_REGION` | `US` or `EU` | --- ## Sub-Skills | Sub-skill | When to use | |---|---| | [`apm/`](apm/SKILL.md) | Performance triage, slow transactions, error analysis | | [`nrql/`](nrql/SKILL.md) | Custom queries, dashboards, ad-hoc data exploration | | [`deployments/`](deployments/SKILL.md) | Mark releases, correlate deploys with performance | | [`alerts/`](alerts/SKILL.md) | Alert policies, conditions, notification channels | | [`infrastructure/`](infrastructure/SKILL.md) | Host metrics, CPU/memory, process monitoring | | [`diagnostics/`](diagnostics/SKILL.md) | Agent health, config validation, connectivity | ## Scripts | Script | Purpose | |---|---| | [`scripts/check-performance.sh`](scripts/check-performance.sh) | Quick health check across all apps | | [`scripts/deployment-marker.sh`](scripts/deployment-marker.sh) | Record a deployment event | | [`scripts/top-slow-transactions.sh`](scripts/top-slow-transactions.sh) | Find the 10 slowest transactions | | [`scripts/error-report.sh`](scripts/error-report.sh) | Recent errors with stack traces | ## References - [`references/nrql-patterns.md`](references/nrql-patterns.md) — Common NRQL query patterns - [`references/performance-triage.md`](references/performance-triage.md) — Step-by-step triage guide

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 newrelic-cli-skills-1776297745 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 newrelic-cli-skills-1776297745 技能

通过命令行安装

skillhub install newrelic-cli-skills-1776297745

下载 Zip 包

⬇ 下载 newrelic-cli-skills v1.0.3

文件大小: 17.1 KB | 发布时间: 2026-4-16 18:34

v1.0.3 最新 2026-4-16 18:34
Remove remote-script install guidance, harden NRQL helper input handling, and update root capability metadata.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部