界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

newrelic

newrelic

【效率与协作】Monitor applications and infrastructure via New Relic API. Query metrics and manage alerts.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: newrelic description: Monitor applications and infrastructure via New Relic API. Query metrics and manage alerts. metadata: {"clawdbot":{"emoji":"📈","requires":{"env":["NEWRELIC_API_KEY","NEWRELIC_ACCOUNT_ID"]}}}

New Relic

Observability platform.

Environment

export NEWRELIC_API_KEY="xxxxxxxxxx"
export NEWRELIC_ACCOUNT_ID="xxxxxxxxxx"

Query NRQL

curl -X POST "https://api.newrelic.com/graphql" \
  -H "API-Key: $NEWRELIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ actor { account(id: '$NEWRELIC_ACCOUNT_ID') { nrql(query: \"SELECT count(*) FROM Transaction\") { results } } } }"}'

List Applications

curl "https://api.newrelic.com/v2/applications.json" -H "Api-Key: $NEWRELIC_API_KEY"

Links

我的收藏