Skip to content

fix(telemetry): nest product errors in app-started payload - #365

Closed
e-n-0 wants to merge 1 commit into
DataDog:mainfrom
e-n-0:flavien.darche/fix-telemetry-product-payload
Closed

fix(telemetry): nest product errors in app-started payload#365
e-n-0 wants to merge 1 commit into
DataDog:mainfrom
e-n-0:flavien.darche/fix-telemetry-product-payload

Conversation

@e-n-0

@e-n-0 e-n-0 commented Sep 2, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Serializes telemetry product details directly under products.<product> and keeps optional startup errors inside that product object.

The existing object-level emplace throws when an integration registers a product, preventing app-started telemetry from being sent. This unblocks integrations such as nginx-datadog from reporting their authoritative AppSec startup state.

Validation

  • cmake --build build -j4
  • ./build/test/tests (199852 assertions in 134 test cases)
  • exercised from a local NGINX worker with AppSec enabled and disabled

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.

1 participant