Instrumentation with new relic
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 8.7k
- Forks
- 374
- Avg merge
- 11d 16h
- Merged PRs (30d)
- 1
Description
I'm trying to instrument the library for monitoring with New Relic.
I'm trying to follow this guide: https://newrelic.github.io/node-newrelic/tutorial-Datastore-Simple.html
The issue is I don't think the library provides any base prototypes I can use the shims on. I looked at the source code and failed to come up with a way of hooking onto the query methods since the Query class is not exposed and the Sql objects also don't have a base class?
Any tips or work arounds?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the source around the query methods, the unexposed Query class, and the Sql objects, then compare those entry points with the New Relic datastore instrumentation guide linked in the issue. Determine whether a supported instrumentation hook or workaround can be defined; the issue does not specify a concrete implementation or completion test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nodejs, postgresql
- Domain
- databases, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100