-
Notifications
You must be signed in to change notification settings - Fork 306
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
v5.18.0 #4496
v5.18.0 #4496
Conversation
--------- Co-authored-by: Carles Capell <[email protected]> Co-authored-by: simon-id <[email protected]>
* Fix cassandra tests * Use cassandra 2.2.4 * Use cassandra 3
* Stack trace collection configuration * Collect and report stack trace for appsec events * Handle generate_stack waf action * Fix linting in config.spec.js * Add assertion for stack trace tag in meta_struct for express test * Refactor reportStackTrace and some additional test * Fix lint * Additional assert in reportStackTrace test * Update config * Rework on stack trace collection * Callsite line and column as numbers * Update packages/dd-trace/src/appsec/stack_trace.js Co-authored-by: Ugaitz Urien <[email protected]> * Update packages/dd-trace/src/appsec/stack_trace.js Co-authored-by: Ugaitz Urien <[email protected]> * Reorder test structure * Fix linting * No exploit stack limit when max is set to 0 or below * Fix filtered and capped frames case * Fix lint --------- Co-authored-by: Ugaitz Urien <[email protected]>
* Add JS Hapi macrobenchmark * Specify dd-trace-js version via DDTRACE_INSTALL_VERSION * Fix branch name * Tweak RPS * Tweak benchmark duration * Repeatability testing * Add retries on Gitlab internal system failures, tweak RPS * Keep only 2 variants for a moment --------- Co-authored-by: Dmytro Yurchenko <[email protected]>
* DD_APM_TRACING_ENABLED and span _dd.apm.enabled tag * clean up * Use MANUAL_KEEP const * Add _dd.p.appsec tag on standalone ASM events * Include apmTracingEnabled checks * Appsec Reporter tests * Appsec sdk track_event test * Use numeric value for _dd.p.appsec * Include appsec standalone config in .ts files * Clean up null and undefined values * Remove not needed config properties * standalone module * Clean up * standalone proxy test * Update packages/dd-trace/test/appsec/iast/vulnerability-reporter.spec.js Co-authored-by: Ugaitz Urien <[email protected]> * appsec reporter test * Use standalone singletone in vulnerability-reporter * continue applying ratelimiter on appsec standalone events * Update packages/dd-trace/src/appsec/reporter.js Co-authored-by: simon-id <[email protected]> * Add _dd.apm.enabled:0 in root spans with remote parent * Use a method to add the tag * Remove apmTracingEnabled config property * Add _dd.p.appsec tag in trace tags * Some tests * Set _dd.apm.enabled in root span * configure standalone if _tracingInitialized * Use dd-trace:span:start channel * Clean up * use a meta tag * hasSubscribers check * test description * Check span context has tags before using them and check if config has changed * clean up * Clean up * Clean up * clean up * Update packages/dd-trace/test/appsec/sdk/track_event.spec.js Co-authored-by: Ugaitz Urien <[email protected]> * Update packages/dd-trace/test/appsec/standalone.spec.js Co-authored-by: Ugaitz Urien <[email protected]> * protect sample method * Use assert instead expect * unsubscribe after test * suggestions --------- Co-authored-by: Ugaitz Urien <[email protected]> Co-authored-by: simon-id <[email protected]>
* Fix null filename on frame filtering * Use startsWith instead of includes on callSite filename check * Rework stack trace reporting when callistelist is undefined * Avoid checking for max stack trace depth twice * Use Array(n).fill() instead of [...Array(n).keys()] * Fix linting
* increase timeout for aws-sdk and next tests * increase timeout for profiling integration tests * increase timeout for appsec tests * increase timeout for next test setup
* remove get-port usage from http tests and test agent * move test tracer init after port allocation
* ensure datadog attributes are received by sqs and set DSM extraction context in request complete if no callback is used
* remove most usage of get-port for plugins * remove get-port from instrumentation tests * fix new test
* fix * change typo * add tiktoken as dev dependency for testing * change tests to check tiktoken usage * test in-house estimator separately * add tiktoken license to third party
* Add guardrails for SSI * PR feedback * test on a swath of versions, in CI only
* update otel invalid telemetry calculation
BenchmarksBenchmark execution time: 2024-07-10 15:39:00 Comparing candidate commit 5e2767c in PR branch Found 19 performance improvements and 0 performance regressions! Performance is the same for 242 metrics, 5 unstable metrics. scenario:exporting-pipeline-0.4-18
scenario:exporting-pipeline-0.4_with_stats-18
scenario:exporting-pipeline-0.5-18
scenario:exporting-pipeline-0.5_with_stats-18
scenario:scope-manager-async_hooks-18
scenario:scope-manager-async_local_storage-18
scenario:scope-manager-async_resource-18
scenario:scope-manager-base-18
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v5.x #4496 +/- ##
=======================================
Coverage ? 95.77%
=======================================
Files ? 101
Lines ? 3267
Branches ? 33
=======================================
Hits ? 3129
Misses ? 138
Partials ? 0 ☔ View full report in Codecov by Sentry. |
4df3edc
to
b653b3d
Compare
* add dd_tags to dsm stats payload data
Improvements
Features
DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED
Standalone ASM configuration and span tags #4291, Standalone ASM priority sampler and tag propagation #4416batchPropagationEnabled
configuration option to inject all messages with trace context during AWS SQS, SNS, and Kinesis batch send operations tracing(aws): add configuration option to inject all messages with trace context during SQS, SNS, and Kinesis batch send operations #4434Bug fixes
tiktoken
for webpack bundlers #4433.steps
from test result in playwright #4471