Skip to content

[CONTP-1787] Adds logs section to DDI config spec#3198

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
mathew.estafanous/ddi-add-logs-section
Jun 26, 2026
Merged

[CONTP-1787] Adds logs section to DDI config spec#3198
gh-worker-dd-mergequeue-cf854d[bot] merged 1 commit into
mainfrom
mathew.estafanous/ddi-add-logs-section

Conversation

@Mathew-Estafanous

@Mathew-Estafanous Mathew-Estafanous commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Replaces the DDI's config.checks[*].logs section with a separate config.logs[*] section.

Motivation

While checks and logs are often configured together, having logs under the checks section implies log collection needs an integration. This is not the case - so a separate section is a clearer user experience.

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

  • Agent: v7.82.X
  • Cluster Agent: v7.82.X

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jun 26, 2026

Copy link
Copy Markdown

Code Coverage

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 44.94% (+0.00%)

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

Base automatically changed from mathew.estafanous/checks-ddi-improvements to main June 26, 2026 17:21
@Mathew-Estafanous Mathew-Estafanous force-pushed the mathew.estafanous/ddi-add-logs-section branch from 20a8070 to b290757 Compare June 26, 2026 17:37
@Mathew-Estafanous Mathew-Estafanous changed the title Add DatadogInstrumentation logs config [CONTP-1787] Adds logs section to DDI config spec Jun 26, 2026
@Mathew-Estafanous Mathew-Estafanous self-assigned this Jun 26, 2026
@Mathew-Estafanous Mathew-Estafanous added this to the v1.29.0 milestone Jun 26, 2026
@Mathew-Estafanous Mathew-Estafanous marked this pull request as ready for review June 26, 2026 18:42
@Mathew-Estafanous Mathew-Estafanous requested a review from a team June 26, 2026 18:42
@Mathew-Estafanous Mathew-Estafanous requested a review from a team as a code owner June 26, 2026 18: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: b290757999

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

tags:
- service:sample-app
- env:dev
logs:

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 Regenerate the bundled OLM example

This updates the standalone sample to the new top-level config.logs shape, but the distributed OLM CSV bundle/manifests/datadog-operator.clusterserviceversion.yaml still has the DatadogInstrumentation alm-example with logs nested under checks around lines 76-96. For clusters installing from the bundle, users copying the OperatorHub example will submit the old shape that the updated CRD no longer exposes, so the log configuration can be pruned/ignored instead of collected; please regenerate or update the CSV example alongside this sample.

Useful? React with 👍 / 👎.

@Mathew-Estafanous Mathew-Estafanous force-pushed the mathew.estafanous/ddi-add-logs-section branch 2 times, most recently from 07f4e7c to 6d8506f Compare June 26, 2026 19:14
levan-m added a commit that referenced this pull request Jun 27, 2026
* Add dd-octo-sts trust policy for release-dashboard-api on us1.ddbuild.io (#3197)

Add dd-octo-sts trust policy for release-dashboard-api on us1.ddbuild.io

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: antonio.mejia <antonio.mejia@datadoghq.com>

* fix(deps): vuln minor upgrades — 6 packages (minor: 2 · patch: 4)  (#3148)

* ADMS: vuln minor upgrades — 6 packages (minor: 2 · patch: 4)

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

* chore: regenerate lockfiles after rebase

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

* fix: update LICENSE-3rdparty.csv for moby/spdystream v0.5.1 sub-package

The upgrade from github.com/moby/spdystream v0.5.0 to v0.5.1 introduced
a new sub-package github.com/moby/spdystream/spdy with a BSD-3-Clause
license. Add the missing entry to keep LICENSE-3rdparty.csv up to date.

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: levan-m <116471169+levan-m@users.noreply.github.com>

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

* fix: sync api/go.mod with workspace after dependency upgrades

Run 'go work sync' to keep api/go.mod consistent with the transitive
dependency updates from the main module (golang.org/x/* version bumps
pulled in by the moby/spdystream and opentelemetry upgrades).

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: levan-m <116471169+levan-m@users.noreply.github.com>

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

* fix: add missing go.mod hash entries to api/go.sum

'go mod tidy' adds .mod file hash entries that 'go work sync' omits.
Required to satisfy the check-golang-version CI validation.

Environment: Datadog workspace

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Co-authored-by: levan-m <116471169+levan-m@users.noreply.github.com>

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

---------

Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>

* ci(issue-triage): add reusable workflow from DataDog/issue-triage-action (#3187)

* ci(issue-triage): add reusable workflow from DataDog/issue-triage-action

Add issue triage workflow that delegates to the shared reusable action at
DataDog/issue-triage-action v1.0.0. On each new issue the workflow runs
Claude-based triage, applies a team label, and sends a Slack notification.

* Use the good commit

* [CONTP-1785] Replace container image with name in DDI check section (#3196)

Add DatadogInstrumentation check containerName

chore: update config sample

Co-authored-by: mathew.estafanous <mathew.estafanous@datadoghq.com>

* Update Operator Release Workflows (#3060)

* sync operator release workflow

* simplify diff detection

* Add DatadogInstrumentation logs config (#3198)

Add DatadogInstrumentation logs config

Co-authored-by: mathew.estafanous <mathew.estafanous@datadoghq.com>

---------

Co-authored-by: Antonio Mejia <antonio.mejia@datadoghq.com>
Co-authored-by: gh-worker-campaigns-3e9aa4[bot] <244854796+gh-worker-campaigns-3e9aa4[bot]@users.noreply.github.com>
Co-authored-by: dd-octo-sts-26fcfa[bot] <266798054+dd-octo-sts-26fcfa[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Schweitzer <nicolas.schweitzer@datadoghq.com>
Co-authored-by: Mathew Estafanous <56979977+Mathew-Estafanous@users.noreply.github.com>
Co-authored-by: mathew.estafanous <mathew.estafanous@datadoghq.com>
Co-authored-by: Gabriel Dos Santos <91925154+gabedos@users.noreply.github.com>
Co-authored-by: Claude <claude@anthropic.com>
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