Repository navigation
Conversation
Co-authored-by: e-n-0 <11708575+e-n-0@users.noreply.github.com>
…product-state' into flavien.darche/appsec-telemetry-product-state Co-authored-by: e-n-0 <11708575+e-n-0@users.noreply.github.com>
Co-authored-by: e-n-0 <11708575+e-n-0@users.noreply.github.com>
|
Bits Code status: ✅ Done Comment @DataDog to request changes |
e-n-0
changed the base branch from
master
to
flavien.darche/appsec-telemetry-product-state
October 5, 2026 15:27
e-n-0
marked this pull request as ready for review
October 5, 2026 15:27
e-n-0
merged commit Oct 5, 2026
1b180a2
into
flavien.darche/appsec-telemetry-product-state
1 of 3 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Report the actual AppSec state in startup telemetry for WAF-enabled builds. AppSec starts inactive until initialization enables it, consistent with the Go and Python tracers. Address review feedback by making product metadata explicit and reducing the size of make_tracer().
Changes
Testing
Remote activation: decision pending
Startup telemetry correctly reports AppSec as inactive while awaiting RC activation. The nginx RC callback already changes Library::active(), but later telemetry product updates remain unimplemented. Go and Python emit app-product-change events; neither the pinned nor the attached current C++ tracer exposes the equivalent API.
Recommendation: require upstream dd-trace-cpp app-product-change support and wire it into RC activation/deactivation before merging PR #426. Startup-only reporting with explicitly deferred RC updates is an alternative requiring a maintainer decision. This follow-up addresses the two cleanup requests and leaves that decision open.
PR by Bits - View session in Datadog
Comment @DataDog to request changes