Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(instr-undici): updates/tweaks for new undici instrumentation #2085

Merged
merged 9 commits into from
Apr 10, 2024
4 changes: 4 additions & 0 deletions .github/component-label-map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ pkg:instrumentation-tedious:
- any-glob-to-any-file:
- plugins/node/instrumentation-tedious/**
- packages/opentelemetry-test-utils/**
pkg:instrumentation-undici:
Copy link
Contributor

Choose a reason for hiding this comment

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

good catch! I think we should merge this before we do a 1st release of this instrumentation

cc: @pichlermarc

- changed-files:
- any-glob-to-any-file:
- plugins/node/instrumentation-undici/**
pkg:instrumentation-user-interaction:
- changed-files:
- any-glob-to-any-file:
Expand Down
282 changes: 12 additions & 270 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions plugins/node/instrumentation-undici/.tav.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
undici:
jobs:
- versions: ">=5 <6"
- versions:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think is a good idea to reduce the number of versions

include: ">=5.12.0 <6"
mode: max-7
node: '>=14'
commands: npm run test
- versions: ">=6 <7"
- versions:
include: ">=6 <7"
mode: max-7
node: '>=18'
commands: npm run test
4 changes: 4 additions & 0 deletions plugins/node/instrumentation-undici/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ If you're looking the instrumentation for browser's `fetch` API it is located at
npm install --save @opentelemetry/instrumentation-undici
```

## Supported Versions

- `undici@>=5.12.0`

## Usage

OpenTelemetry Undici/fetch Instrumentation allows the user to automatically collect trace data and export them to their backend of choice, to give observability to distributed systems.
Expand Down
Loading
Loading