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

feat(node): Add tedious integration #13486

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

Zen-cronic
Copy link
Contributor

Resolves #13316

Implement Tedious OTL instrumentation in packages/node.

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).

Implement otel tedious instrumentation.
Add e2e test in 'node-integration-tests'.

Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
Add docker-compose file for setting up mssql.
Update test assertions to check for semantic attributes and origin.

Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
- '1433:1433'
environment:
ACCEPT_EULA: 'Y'
MSSQL_SA_PASSWORD: 'TESTing123'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Password must pass this criteria.

Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
@lforst lforst self-requested a review August 28, 2024 11:42
Downgrade 'tedious' to '15.1.3' to support node 14, 16, and 18.
Bump '@opentelemetry/instrumentation-tedious' to '0.13.0'.

Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
@Zen-cronic Zen-cronic changed the title feat(node): Add tedious instrumentation as a node integration feat(node): Add tedious integration Aug 30, 2024
@Zen-cronic
Copy link
Contributor Author

The check Node (22) (TS 3.8) Integration Tests is a consistent fail - observed in previous commits as well.

This is b/c:

  • tedious 15.1.3 is the newest version that supports node >= 14.
  • That version of tedious depends on @azure/identity 2.1.0.
  • Which in turn depends on @azure/msal-node 1.18.4. This (deprecated) package doesn't support node 22, causing the failed check.

We could bump tedious to 16.x.x or later, but those versions lacks support for node 14 and/or 16.

@lforst
Copy link
Member

lforst commented Sep 2, 2024

We could bump tedious to 16.x.x or later, but those versions lacks support for node 14 and/or 16.

I recommend we add support for a newer version that may not be supporting as many older node versions!

@Zen-cronic
Copy link
Contributor Author

I recommend we add support for a newer version that may not be supporting as many older node versions!

Noted! I'll look into it then.

@mydea mydea added the Package: node Issues related to the Sentry Node SDK label Sep 13, 2024
Signed-off-by: Kaung Zin Hein <kaungzinhein113@gmail.com>
@Zen-cronic
Copy link
Contributor Author

I recommend we add support for a newer version that may not be supporting as many older node versions!

Noted! I'll look into it then.

Bumped to 18.6.1, which supports node >=18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: node Issues related to the Sentry Node SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tediousIntegration to Node
3 participants