← Back to Pull requests

Declare dbm option as fleet_configurable for Oracle #25193

Closed
unknown closed this pull request without merging on Sep 14, 2026 15:33 UTC
View on GitHub
unknown unknown commented on Sep 11, 2026 13:13 UTC
Author

What does this PR do?


Declares the dbm option in oracle/assets/configuration/spec.yaml with fleet_configurable: true, mirroring the existing pattern in mysql, postgres, and sqlserver's spec.yaml files.

Motivation


Customer-reported (Zendesk 3013499): Fleet Automation's remote-config editor rejects dbm when configuring the Oracle integration, even though dbm: true is a real, documented, working option (see the shipped conf.yaml.example in datadog-agent's cmd/agent/dist/conf.d/oracle.d/, and the Oracle check's pkg/collector/corechecks/oracle/config/config.go, which parses DBM bool yaml:"dbm"`).

Oracle's spec.yaml in this repo never declared dbm at all, unlike the other DBM-enabled integrations.

Note: mongo has no dbm option in its spec.yaml at all, and clickhouse declares dbm with fleet_configurable: false (off by default there, for reasons specific to that integration, not applicable to Oracle) — neither is a counter-example against this change.

What I verified locally


Using a temporary local package scaffold (
__about__.py, __init__.py, data/) — since Oracle's actual check implementation is a Go core check in datadog-agent, not a Python package living in this repo — I ran:
  • ddev validate config oracle -s: generates a conf.yaml.example dbm block that is character-for-character identical to the one already shipped in datadog-agent.

  • ddev validate models oracle -s: generates a valid pydantic config model including dbm: Optional[bool] = None.
  • I also confirmed that since Oracle has no datadog_checks/oracle package in this repo, it isn't part of ddev's get_valid_checks() set, so the config/models CI validators skip Oracle entirely and will not attempt to regenerate or validate a conf.yaml.example/config_models that don't exist. No CI breakage expected from this change.

    How this reaches Fleet Automation


    Traced the actual sync mechanism in
    dd-source/domains/fleet-automation/apps/fleet-sync-worker: a scheduled workflow lists every top-level directory in this repo, fetches each <name>/assets/configuration/spec.yaml directly (independent of any Python packaging), converts fleet_configurable: true fields into the INSTALLER_CONFIG JSON schema, diffs against what's currently committed in dd-source, and opens a bot PR only when something changed. Oracle isn't in any exclusion list; it simply never had a fleet_configurable field before, so every prior run produced identical output and no PR was ever opened for it. Once this PR merges, the next scheduled run should produce a real diff for oracle.json and open a dd-source PR from dd-octo-sts[bot] — that PR is the thing to watch for and review to confirm this closes the loop end-to-end.

    Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)

  • Add qa/required if this PR needs QA validation, or qa/skip-qa if it does not. Exactly one of the two is required.

  • If you need to backport this PR to another branch, you can add the backport/<branch-name>` label to the PR and it will automatically open a backport PR once this one is merged
  • 🤖 Generated with Claude Code

    Diff: 408 lines (+306 / -102) across 5 files Reviewer: RyanPisuena Review duration: 4460m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.68 · 408 lines diff across 5 files
    0.68
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.360
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.068
    Real PR Conversation Timeline
    1 comments
    "Review active on #25193"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 68% (HIGH) · Higher = larger blast radius
    68%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 26.9% · Safe to merge
    26.9%