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

Add tedious integration #599

Merged
merged 16 commits into from
Jul 3, 2019
Merged

Add tedious integration #599

merged 16 commits into from
Jul 3, 2019

Conversation

rishabh
Copy link
Contributor

@rishabh rishabh commented Jun 21, 2019

What does this PR do?

This PR adds an integration for Tedious.

Motivation

We want to automatically trace the Tedious.

Plugin Checklist

Additional Notes

Cancelling requests behaviour changed in v6.2.0: https://github.com/tediousjs/tedious/blob/v6.2.0/src/connection.js#L1655-L1673

Tedious may or may not emit an error, depending on the state the request is currently in.

@rishabh rishabh requested a review from a team as a code owner June 21, 2019 02:51
.circleci/config.yml Outdated Show resolved Hide resolved
docker-compose.yml Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
@brettlangdon
Copy link
Member

ugh, this PR is so tedious....

sorry, couldn't help myself.

Copy link
Member

@rochdev rochdev left a comment

Choose a reason for hiding this comment

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

Request cancellation is not tested.

Copy link
Member

@rochdev rochdev left a comment

Choose a reason for hiding this comment

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

Bulk loading / streaming is not tested.

@rishabh
Copy link
Contributor Author

rishabh commented Jun 21, 2019

Bulk loading / streaming is not tested.

Yes, this is still a work in progress.

@rishabh
Copy link
Contributor Author

rishabh commented Jun 27, 2019

Cancelling requests behaviour changed in v6.2.0: https://github.com/tediousjs/tedious/blob/v6.2.0/src/connection.js#L1655-L1673

Tedious may or may not emit an error, depending on the state the request is currently in. I will need to look at the cancellation test a bit more carefully to handle this.

packages/datadog-plugin-tedious/src/index.js Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-tedious/src/index.js Outdated Show resolved Hide resolved
@rishabh rishabh merged commit e08bb89 into master Jul 3, 2019
@rishabh rishabh deleted the rish/add-tedious-plugin branch July 3, 2019 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants