Description
openedon Jun 27, 2024
- Package Name: @azure/monitor-opentelemetry
- Package Version: v1.6.0
- Operating system: BrightSign OS (offshoot Linux of some sort)
- nodejs
- version: 14.7
- browser
- name/version: Chromium (Unknown Version)
- typescript
- version: 5.5.2
- Is the bug related to documentation in
- README.md
- source code documentation
- SDK API docs on https://docs.microsoft.com
Describe the bug
@azure/monitor-opentelemetry v1.6.0 seems to only run on NodeJS 18+, when the opentelemetry-js supports up to 14+.
The Get Started implies you support Node 14.
This is the error I get when running my project running on Node 14.7:
[ 33.125] [ERROR] [source internal/modules/cjs/loader.js:899]: Uncaught Error: Cannot find module 'node:os'
The readme in @azure/monitor-opentelemetry suggests you guys support the latest list of LTS versions, which the minimum is Node 16 (where the node:os
module started). However, opentelemetry-js supports 14+ which you call out in your Get Started guide. So I was assuming that your lib supported Node 14+ also.
So it's either that you support the NodeJS version that OpenTelemetry minimally supports supports, or you openly state you support up to Node LTS versions (18 atm) in the Get Started guide.
To Reproduce
Steps to reproduce the behavior:
- install node 14
- Read the prerequisites in the [Get Started Guide](Get Started
- create stub project following the steps in the Get Started guide, including starting the Azure monitor code.
Expected behavior
Node App runs.
Prerequisites from the page:
opentelemetry-js
Additional context
I wish I could update to the latest LTS version of NodeJS, but we're bound by what BrightSign installs on their players :(