Skip to content

Conversation

@ilaydadastan
Copy link
Contributor

@ilaydadastan ilaydadastan commented Apr 2, 2025

Issue that will be fixed: #2775

Which problem is this PR solving?

--The README contained outdated usage instructions and compatibility details.

Short description of the changes

  • Updated README to reflect the correct way to load fs instrumentation.
  • Removed outdated references to @opentelemetry/auto-instrumentations-node.
  • Updated compatibility to OpenTelemetry API 1.3+ and Node.js >=18.

@ilaydadastan ilaydadastan requested a review from a team as a code owner April 2, 2025 16:09
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Apr 2, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: ilaydadastan / name: Ilayda Dastan (f7ab1fc)
  • ✅ login: pichlermarc / name: Marc Pichler (7301d2e, 5fafe88)
  • ✅ login: trentm / name: Trent Mick (80b1da6)

@github-actions github-actions bot added pkg:instrumentation-fs pkg-status:unmaintained This package is unmaintained. Only bugfixes may be acceped until a new owner has been found. labels Apr 2, 2025
@codecov
Copy link

codecov bot commented Apr 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.50%. Comparing base (774dc42) to head (7301d2e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2779      +/-   ##
==========================================
+ Coverage   89.45%   89.50%   +0.04%     
==========================================
  Files         174      174              
  Lines        8318     8318              
  Branches     1591     1591              
==========================================
+ Hits         7441     7445       +4     
+ Misses        877      873       -4     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pichlermarc pichlermarc added the has:sponsor This package or feature has a sponsor that has volunteered to review PRs and respond to questions label Apr 2, 2025
Copy link
Contributor

@trentm trentm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh. It looks like our over-zealous linting of the READMEs is not happy about the different language being used here:

/home/runner/work/opentelemetry-js-contrib/opentelemetry-js-contrib/scripts/lint-readme.js:72
    throw new Error(
    ^

Error: README.md dist text is not valid. Please add the following text to the README.md file:

If total installation size is not constrained, it is recommended to use the [`@opentelemetry/auto-instrumentations-node`](https://www.npmjs.com/package/@opentelemetry/auto-instrumentations-node) bundle with [@opentelemetry/sdk-node](`[https://www.npmjs.com/package/@opentelemetry/sdk-node`)](https://www.npmjs.com/package/@opentelemetry/sdk-node%60)) for the most seamless instrumentation experience.

Compatible with OpenTelemetry JS API and SDK `1.0+`.

We'll want to relax that lint error in that script.

…ing auto-instrumentations-node

This is no longer a valid assumption. The 'fs' instrumentation, for example,
is no longer a default part of auto-instrumentations-node.
@trentm
Copy link
Contributor

trentm commented Apr 2, 2025

We'll want to relax that lint error in that script.

Done in commit 80b1da6.

@trentm trentm changed the title feat(instrumentation-fs): update readme docs(instrumentation-fs): update readme Apr 2, 2025
Copy link
Member

@pichlermarc pichlermarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! 🙂

@pichlermarc pichlermarc merged commit 122b203 into open-telemetry:main Apr 9, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has:sponsor This package or feature has a sponsor that has volunteered to review PRs and respond to questions pkg:instrumentation-fs pkg-status:unmaintained This package is unmaintained. Only bugfixes may be acceped until a new owner has been found.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[contribfest] update documentation for @opentelemetry/instrumentation-fs

3 participants