-
Notifications
You must be signed in to change notification settings - Fork 159
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
ASM Standalone #2903
ASM Standalone #2903
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2903 +/- ##
============================================
- Coverage 72.75% 72.72% -0.03%
Complexity 2750 2750
============================================
Files 138 138
Lines 15038 15060 +22
Branches 1020 1026 +6
============================================
+ Hits 10941 10953 +12
- Misses 3543 3548 +5
- Partials 554 559 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Benchmarks [ tracer ]Benchmark execution time: 2024-12-13 11:23:43 Comparing candidate commit 13d4688 in PR branch Found 2 performance improvements and 0 performance regressions! Performance is the same for 176 metrics, 0 unstable metrics. scenario:PDOBench/benchPDOBaseline
scenario:PDOBench/benchPDOBaseline-opcache
|
5feaef4
to
522e841
Compare
Benchmarks [ appsec ]Benchmark execution time: 2024-12-13 11:30:10 Comparing candidate commit 13d4688 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. |
5149b34
to
5d05f77
Compare
4b42290
to
b068df8
Compare
56c99bd
to
a0ee5cc
Compare
if (Z_TYPE_P(rule) != IS_ARRAY) { | ||
continue; | ||
} | ||
if (!get_global_DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED()) { // APPSEC_STANDALONE enabled, override sampling rules to be empty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just wrap the code within if (!get_global_DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED()) {
3a73d3b
to
a93f131
Compare
57ade7e
to
7fc63bc
Compare
7fc63bc
to
9917e7a
Compare
3908181
to
3952e69
Compare
Description
Implement ASM Standalone billing. This project will enable customers to use ASM product without APM product.
Implementation
There is a new configuration called
DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED
(default:false
) which disable APM.When
DD_EXPERIMENTAL_APPSEC_STANDALONE_ENABLED
is enabled, traces will be only sent under the following conditions:Since the tracing engine is coupled to the tracer extension, it will be required that
DD_TRACE_ENABLED
is set totrue
. HoweverDD_TRACE_ENABLED
being enabled does not mean APM is.Reviewer checklist