Instrumentation

Scaffold a complete New Relic Ruby agent instrumentation for a third-party gem in this repo. Use when the user asks to "instrument <gem>", "add instrumentation for <gem>", "scaffold a new instrumentation", or names a datastore / HTTP-client / messaging / AI-LLM gem and asks the Ruby agent to trace it. Generates the seven-file prepend+chain layout under `lib/new_relic/agent/instrumentation/<name>/`, a runnable multiverse suite under `test/multiverse/suites/<name>/`, registers config in `default_source.rb`, and adds the gem to `supported_gems.txt`. Does NOT commit, push, or open PRs.

newrelic e85a52a 4 files · 35.0 KB Updated

File contents

newrelic/newrelic-ruby-agent/tree/main/.claude/skills/instrumentation commit e85a52aac5

Frequently asked questions

npx skillmds@latest add newrelic/instrumentation