sillsdev / sillsdev/languageforge-lexbox
We instrumented Node the messy way
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
You're supposed to start a node application that is instrumented with OTEL something like this:
node --require ./instrumentation.js app.js
This ensures that the instrumentation code is preloaded at startup.
I think that should get us more auto-instrumentation out of the box and hopefully make traceRequest() in otel.server.ts redundant.
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
Read otel.server.ts and the Node startup configuration, then compare current traceRequest() usage with the documented --require instrumentation.js launch path. Done means the application uses preload-based instrumentation and the existing tracing behavior remains covered without unnecessary traceRequest() handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- backend, observability-sre
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100