Add dynamic_service DBM propagation mode#3940
Conversation
|
Benchmarks [ tracer ]Benchmark execution time: 2026-06-05 16:12:55 Comparing candidate commit 1c2af13 in PR branch Found 1 performance improvements and 4 performance regressions! Performance is the same for 189 metrics, 0 unstable metrics.
|
36e2576 to
59ce771
Compare
e7a2006 to
1c2af13
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
d56241f to
5a83168
Compare
Description
Introduces a new DBM propagation mode value,
dynamic_service, as a convenience alias for the combination ofDD_DBM_PROPAGATION_MODE=serviceandDD_DBM_INJECT_SQL_BASEHASH=true. With a single setting, users get service-level SQL comment propagation (dddbs,ddps, etc.) plus the process-tags base hash injected asddshin the SQL comment and_dd.propagated_hashon the span, without needing to manage two separate variables.Behavior:
servicemode: notraceparentheader, no_dd.dbm_trace_injectedspan tagddsh/_dd.propagated_hash) is always injected regardless ofDD_DBM_INJECT_SQL_BASEHASHPlease note that this mode will replace
serviceon the long term (and hence eventually also theDD_DBM_INJECT_SQL_BASEHASHwill be deprecated/removed at same time)Reviewer checklist