hyperdxio / hyperdxio/hyperdx-js
Unable to specify custom `OTEL_RESOURCE_ATTRIBUTES` for logs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 25
- Forks
- 30
- Avg merge
- 4h 26m
- Merged PRs (30d)
- 6
Description
Verified this locally. I suspect the resource attributes was fixed (https://github.com/hyperdxio/hyperdx-js/blob/7831007c0e00f7e004023b6f91091710dd1d40ce/packages/node-opentelemetry/src/otel-logger/index.ts#L103-L112)
Ref: https://discord.com/channels/1149498480893640706/1149500035403350036/1390973497638916096
Contributor guide
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 with packages/node-opentelemetry/src/otel-logger/index.ts at lines 103-112, then trace how OTEL_RESOURCE_ATTRIBUTES is read and applied to log resources. Verify the behavior against the linked Discord report; done means custom resource attributes are preserved for logs rather than being fixed or overwritten.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100