Skip to content

Mark integration spec fields as fleet_configurable#24564

Open
san-jos wants to merge 5 commits into
masterfrom
sandra.josy/fleet-configurable-true
Open

Mark integration spec fields as fleet_configurable#24564
san-jos wants to merge 5 commits into
masterfrom
sandra.josy/fleet-configurable-true

Conversation

@san-jos

@san-jos san-jos commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Enable fleet management for fields that were present in RC schemas but incorrectly excluded by fleet_configurable: false in the source specs.

Motivation

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

Enable fleet management for fields that were present in RC schemas but
incorrectly excluded by fleet_configurable: false in the source specs.
Covers oracle (connection params), mongo (DBM sub-options), rabbitmq
(prometheus plugin endpoints), snmp (oid_batch_size, global_metrics,
ping.interval), postgres (query_metrics/samples sub-fields,
autodiscovery.refresh), sqlserver (query_metrics/activity sub-fields).
init_config.oid_batch_size and instances[].ping.interval were not in
the committed schema — only instances[].oid_batch_size and
init_config.ping.interval are. Reverting those two lines to avoid
adding fields that were never part of the schema.
@datadog-prod-us1-6

datadog-prod-us1-6 Bot commented Jul 15, 2026

Copy link
Copy Markdown

Tests  Code Coverage

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 92.28% (+3.99%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 6ad37e2 | Docs | Datadog PR Page | Give us feedback!

san-jos added 2 commits July 16, 2026 09:08
Removing fleet_configurable: false is cleaner than explicitly setting true,
since fields inherit the integration-level fleet_configurable: true by default.
…fields

These were hand-authored into the schema intentionally (Re sync, Mar 16 2026)
despite the spec flag. Removing the override keeps them fleet-manageable.
@san-jos san-jos marked this pull request as ready for review July 16, 2026 07:42
@san-jos san-jos requested review from a team as code owners July 16, 2026 07:42
@san-jos san-jos requested review from TCheruy and removed request for a team July 16, 2026 07:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9b33cdb07d

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -815,7 +809,6 @@ files:
value:
type: integer
example: 20_000_000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep debug batch sizing out of Fleet

When this hidden query_metrics.batch_max_content_size option becomes Fleet-configurable, a remote config can override the instance value even though the runtime code says this knob is only for debugging and should normally match the Agent forwarder limit; in particular, setting it above the default limit can make DBM payloads rejected (postgres/datadog_checks/postgres/statements.py:164-171). Please keep this field excluded unless Fleet also constrains it to the safe Agent value.

Useful? React with 👍 / 👎.

@san-jos san-jos changed the title Mark integration spec fields as fleet_configurable: true Mark integration spec fields as fleet_configurable Jul 16, 2026
@dd-octo-sts

dd-octo-sts Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants