APPSEC-69232 Report DD_APPSEC_AGENTIC_ONBOARDING in config telemetry#4053
Conversation
RFC-1113: register DD_APPSEC_AGENTIC_ONBOARDING as an ordinary string configuration key so its raw value is reported verbatim in configuration telemetry. Telemetry-only marker set by the agentic onboarding solution; carries no behavior. Reported on every app-started, empty with origin=default when unset. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Benchmarks [ tracer ]Benchmark execution time: 2026-07-22 14:42:57 Comparing candidate commit 503d055 in PR branch Found 1 performance improvements and 3 performance regressions! Performance is the same for 189 metrics, 1 unstable metrics.
|
APPSEC-69232
Implements [RFC-1113] — Agentic Onboarding Runtime Detection (Simplified) for
the PHP tracer.
The agentic onboarding solution sets
DD_APPSEC_AGENTIC_ONBOARDING=truewhen itwrites the deployment configuration. This PR registers it as an ordinary
string configuration key (default empty), so its raw value is reported
verbatim in configuration telemetry — with no derived boolean and no code that
reads AppSec's runtime state. Whether AppSec actually started is answered
downstream in Metabase.
Changes
ext/configuration.h: addCONFIG(STRING, DD_APPSEC_AGENTIC_ONBOARDING, "").The existing telemetry loop (
ext/telemetry.c) already reports everyregistered config entry, so the value is emitted on every app-started —
empty with
origin=defaultwhen unset, and verbatim withorigin=env_var(or local/fleet stable config) when set.
metadata/supported-configurations.json: declare the key (implementationA, typestring, default"").tests/ext/appsec/agentic_onboarding_is_sent_0{1,2}.phpt): assert theconfig is reported with the default empty value +
origin=defaultwhen unset,and verbatim (
true) withorigin=env_varwhen set.Sibling PRs
🤖 Generated with Claude Code