-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEVX-523 Fix createTelemetryMiddleware and migrate from client v2 to …
…v3 datadog demo app (#919) * refactor: removed default value to the createTelemetryMiddleware and datadog demo app adapted to the client v3 * chore: removed test about default value since it has been removed * chore: modified test in base of the changes made in the code * Update examples/datadog-express-apm/host-agent/src/sdk-v3.js Co-authored-by: Lam Tran <[email protected]> * chore: modified in base of the PR's comments * chore: comment modified * chore: modified in base of the suggestions made in the pr * chore: adding a throwing error message for apm and tracer in case they are missing * chore: adding a warning to make sure that customers know that there is something wrong with APM and Tracer and so keeping the tests as it is * chore: adding code changes in base of comments in the PR * chore: adding some changes in base of comments made in the PR * chore: removed commented line --------- Co-authored-by: Lam Tran <[email protected]>
- Loading branch information
Showing
16 changed files
with
351 additions
and
364 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"name": "datadog", | ||
"name": "datadog-express-apm", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"dependencies": { | ||
"cors": "^2.8.5", | ||
"dd-trace": "^5.4.0", | ||
"express": "^4.19.2" | ||
"express": "^4.21.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.