Set the DDOT converter features per collector and remove DD_HOSTNAME in the kube-stack values #517
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.69) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.69 · 449 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.366
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.069
Real PR Conversation Timeline
1 comments
"Review active on #517"
general
weight: 0.35
agagniere
What does this PR do?
Sets
DD_OTELCOLLECTOR_CONVERTER_FEATURESper collector in the DDOT kube-stack values, so the DDOT converter only adds the components each collector needs, and removes theDD_HOSTNAMEworkaround.| Collector | Converter features | Why |
|---|---|---|
|
cluster(Deployment) |pprof,zpages| Noinfraattributes: the local tagger only knows the pods of this pod's node, so cluster-wide data would be tagged inconsistently. ||
daemon(DaemonSet) |infraattributes,pprof,zpages|infraattributesadds Datadog container and pod tags from the node-local tagger. |Both lists leave out:
prometheus: the collectors' self-metrics are looped through OTLP, so the converter's auto-added scrape of:8888fails every minute.cumulativetodelta,health_checkanddatadog: already declared in the config.ddflare: only used by the Agent's flare in connected mode.The
opentelemetry-kube-stackchart merges each collector ontodefaultCRConfigwithmergeOverwrite, which replaces lists instead of merging them. Each collector'senvblock therefore repeatsDD_API_KEYandDD_SITE, as thehost-profilerblock already does.Changed files, all under
guides/kubernetes/configuration/opentelemetry-kube-stack/:ddot/values.yaml: movesDD_OTELCOLLECTOR_CONVERTER_FEATURESfromdefaultCRConfigto newenvblocks on theclusteranddaemoncollectors, and removesDD_HOSTNAMEfromdefaultCRConfig, as invalues.yaml.tmplbelow.ddot/examples//rendered/collector.yamlare updated.values.yaml.tmpl(DDOT mode only): movesDD_OTELCOLLECTOR_CONVERTER_FEATURESfromdefaultCRConfig, where it wasdatadog,pprof,zpages,infraattributesfor all collectors, to theclusteranddaemoncollectors. RemovesDD_HOSTNAME, a workaround for "Error: unable to reliably determine the host name." on K3S withdatadog/ddot-collector:7.82.3that is no longer needed with7.86.0-rc.5.values-ddot.yamlandexamples//rendered-ddot/collector.yamlare regenerated.values-otlp-http.yamlis unchanged.Motivation
The cluster collector logged this error continuously:
Both collectors also logged a WARN every minute from
prometheus/dd-autoconfiguredfailing to scrapehttp://0.0.0.0:8888/metrics.Testing
ddot/values.yamlon a local k3s (Rancher Desktop) cluster withdatadog/ddot-collector:7.86.0-rc.5. After the upgrade, neither theinfraattributeserror nor the:8888scrape warning appears in the collector logs.ddot/values.yamlsets noDD_HOSTNAMEfor the collectors, and both run on k3s without the host name error, which supports removing it.helm templaterendersDD_API_KEY,DD_SITEandDD_OTELCOLLECTOR_CONVERTER_FEATURESon both collectors.The rendered examples were edited to only include the env var changes. Re-rendering locally with Helm v4.2.3 (CI pins v4.3.0) also produced unrelated blank-line churn, which is left out. If
check-rendered-examplesflags whitespace inexamples/*/rendered-ddot, re-render with Helm v4.3.0.🤖 Generated with Claude Code