Newrelic

Monitor applications and infrastructure via New Relic API. Query metrics and manage alerts.

dvcrn Updated 32 repo stars

File contents

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

dvcrn/openclaw-skills-marketplace/tree/main/plugins/mrgoodb--newrelic/skills/newrelic commit 5562c15145

Frequently asked questions

npx skillmds@latest add dvcrn/newrelic