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

V4.21.0 proposal #3871

Merged
merged 36 commits into from
Dec 14, 2023
Merged

V4.21.0 proposal #3871

merged 36 commits into from
Dec 14, 2023

Conversation

khanayan123
Copy link
Collaborator

@khanayan123 khanayan123 commented Dec 13, 2023

Bug Fixes

Improvements

Features

sabrenner and others added 23 commits December 13, 2023 10:09
* Config variables.

* Add support for schema reporting.

* Add support for schema extraction on request addresses.

* Pass response's status code as string.
---------

Co-authored-by: Ugaitz Urien <[email protected]>
Co-authored-by: simon-id <[email protected]>
This makes tests that depend on it having been started less brittle as they don't need to sleep for a guessed duration.
If `repositoryUrl` and `commitSHA` are set in profiler config, then
set `git.repository_url` and `git.commit.sha` tags with these values
respectively.
* instrument aerospike v4, v5
* Instrument Aerospike v3.16.2 - v3.16.7
- adds a new `http` service configuration option `enablePropagationWithAmazonHeaders`
- defaults to `false` which is current behavior
- when set to `true` it will allow injecting tracing headers for requests signed via AWS IAM headers
- allows customer applications which communicate across services with signed requests to be traced
- making this a configurable since there may be use-cases which the change could break
#3841)

[core] Do Not Report HTTP Requests Over 5 Seconds as Errors on Node 20
Bump pprof-nodejs version and add integration test for OOM in worker:
Worker should exit but process should not abort.
…corded as Errors When Using Node 20 (#3853)

* req.socket timeouts recorded as errors node 20

* check for process.send
* adding required headers for in tel

* adding required headers for in tel

* updating version in unit tests

* updating version in unit tests

* app_started- extended_heartbeat- header-

* updating heartbeat and adding extendedheartbeat

* updating telemetry to v2

* worked on addressing telemetry uniform heartbeat

* added some tests for instel v2

* cleaned up instel tests

* adding dependencies variable check & tests

* change to capture initial load for dependencies

* Initial retry logic for telemetry

* fixing heartbeat tests

* adding in extended heartbeat

* Cleaned up Index and send data

* fixed syntax on telemetry tests

* Added extended heartbeat logic

* updated app-heartbeat test

* modified config file for app-started

* updating extended heartbeat to setInterval

* adding tests for extendedheartbeat

* updating extended heartbeat to setInterval

* adding tests for extendedheartbeat

* fix app-dependencies-loaded

* modified config file to support telemetry app-started

* modified config file for telemetry

* modified config file to report tracer config values to telemetry

* finished updating telemetry event app-started from v1 to v2

* fixed config file

* fixed lint errors

* attempt to remove yarn.lock changes

* fixed telemetry settimeout bug

* removed config file changes for now

* reverted changes in config.spec.js

* fixed bugs

* disabled telemetry app-heartbeat test for now

* added in origin field for telemetry app-started config

* only send integrations through telemetry when there are integrations to be sent

* only send integrations through telemetry when there are integrations to be sent

* corrected telemetry event name

* added back missing telemetry config value

* added commit to skip telemetry heartbeat test for now

* fixed telemetry send-data

* Update packages/dd-trace/src/telemetry/dependencies.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/dependencies.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/index.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/index.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/index.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/send-data.js

Co-authored-by: Thomas Hunter II <[email protected]>

* Update packages/dd-trace/src/telemetry/index.js

Co-authored-by: Thomas Hunter II <[email protected]>

* added agentless telemetry data center routing

* modified agentless telemetry routing

* updated telemetry logs schema

* polished instrumentation telemetry PR

* removed app-started error field for now

---------

Co-authored-by: Crystal Magloire <[email protected]>
Co-authored-by: Sam Brenner <[email protected]>
Co-authored-by: Sam Brenner <[email protected]>
Co-authored-by: bojbrook <[email protected]>
Co-authored-by: Crystal Magloire <[email protected]>
Co-authored-by: Thomas Hunter II <[email protected]>
Copy link

github-actions bot commented Dec 13, 2023

Overall package size

Self size: 5.72 MB
Deduped: 61.82 MB
No deduping: 62.57 MB

Dependency sizes

name version self size total size
@datadog/native-iast-taint-tracking 1.6.4 16.43 MB 16.44 MB
@datadog/native-appsec 5.0.0 15.16 MB 15.17 MB
@datadog/pprof 4.1.0 9.36 MB 10.21 MB
protobufjs 7.2.5 2.77 MB 6.56 MB
@datadog/native-iast-rewriter 2.2.1 2.27 MB 2.36 MB
@opentelemetry/core 1.14.0 872.87 kB 1.47 MB
@datadog/native-metrics 2.0.0 898.77 kB 1.3 MB
@opentelemetry/api 1.4.1 780.32 kB 780.32 kB
import-in-the-middle 1.4.2 41.4 kB 704.79 kB
pprof-format 2.0.7 588.12 kB 588.12 kB
msgpack-lite 0.1.26 201.16 kB 281.59 kB
opentracing 0.14.7 194.81 kB 194.81 kB
semver 7.5.4 93.4 kB 123.8 kB
@datadog/sketches-js 2.1.0 109.9 kB 109.9 kB
lodash.sortby 4.7.0 75.76 kB 75.76 kB
lru-cache 7.14.0 74.95 kB 74.95 kB
ipaddr.js 2.1.0 60.23 kB 60.23 kB
ignore 5.2.4 51.22 kB 51.22 kB
int64-buffer 0.1.10 49.18 kB 49.18 kB
istanbul-lib-coverage 3.2.0 29.34 kB 29.34 kB
lodash.uniq 4.5.0 25.01 kB 25.01 kB
tlhunter-sorted-set 0.1.0 24.94 kB 24.94 kB
limiter 1.1.5 23.17 kB 23.17 kB
dc-polyfill 0.1.2 22.77 kB 22.77 kB
retry 0.13.1 18.85 kB 18.85 kB
lodash.kebabcase 4.1.1 17.75 kB 17.75 kB
node-abort-controller 3.1.1 16.89 kB 16.89 kB
lodash.pick 4.4.0 16.33 kB 16.33 kB
jest-docblock 29.7.0 8.99 kB 12.76 kB
crypto-randomuuid 1.0.0 11.18 kB 11.18 kB
path-to-regexp 0.1.7 6.78 kB 6.78 kB
koalas 1.0.2 6.47 kB 6.47 kB
methods 1.1.2 5.29 kB 5.29 kB
module-details-from-path 1.0.3 4.47 kB 4.47 kB

🤖 This report was automatically generated by heaviest-objects-in-the-universe

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (v4.x@8c9f5bb). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             v4.x    #3871   +/-   ##
=======================================
  Coverage        ?   84.43%           
=======================================
  Files           ?      232           
  Lines           ?     9640           
  Branches        ?       33           
=======================================
  Hits            ?     8140           
  Misses          ?     1500           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pr-commenter
Copy link

pr-commenter bot commented Dec 13, 2023

Benchmarks

Benchmark execution time: 2023-12-14 17:19:03

Comparing candidate commit dba6ad5 in PR branch v4.21.0-proposal with baseline commit 8c9f5bb in branch v4.x.

Found 0 performance improvements and 9 performance regressions! Performance is the same for 769 metrics, 20 unstable metrics.

scenario:appsec-appsec-enabled-16

  • 🟥 instructions [+54.9M instructions; +55.5M instructions] or [+5.162%; +5.219%]

scenario:appsec-appsec-enabled-18

  • 🟥 instructions [+54.2M instructions; +55.1M instructions] or [+5.136%; +5.217%]

scenario:appsec-appsec-enabled-20

  • 🟥 instructions [+53.1M instructions; +54.1M instructions] or [+5.585%; +5.694%]

scenario:appsec-appsec-enabled-with-attacks-20

  • 🟥 instructions [+53.1M instructions; +54.0M instructions] or [+5.121%; +5.212%]

scenario:log-skip-log-16

  • 🟥 execution_time [+16.961ms; +17.557ms] or [+5.215%; +5.398%]

scenario:log-with-debug-16

  • 🟥 execution_time [+17.007ms; +17.576ms] or [+5.229%; +5.404%]

scenario:log-with-error-16

  • 🟥 execution_time [+16.999ms; +17.594ms] or [+5.226%; +5.409%]

scenario:log-without-log-16

  • 🟥 cpu_user_time [+15.737ms; +24.249ms] or [+5.531%; +8.522%]
  • 🟥 execution_time [+16.970ms; +18.160ms] or [+5.383%; +5.761%]

@szegedi
Copy link
Contributor

szegedi commented Dec 13, 2023

Hey, can you include #3870 too? It fixes a bug introduced by #3859

@khanayan123 khanayan123 requested a review from tlhunter December 14, 2023 14:54
@khanayan123 khanayan123 marked this pull request as ready for review December 14, 2023 14:54
@khanayan123 khanayan123 requested a review from a team as a code owner December 14, 2023 14:54
rochdev
rochdev previously approved these changes Dec 14, 2023
@khanayan123 khanayan123 merged commit bcd805b into v4.x Dec 14, 2023
104 of 107 checks passed
@tlhunter tlhunter deleted the v4.21.0-proposal branch January 19, 2024 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.