Skip to content

[Backport v1.27] feat: Add APM to DatadogInstrumentation CRD#2994

Merged
Mathew-Estafanous merged 3 commits into
v1.27from
backport-2984-to-v1.27
May 12, 2026
Merged

[Backport v1.27] feat: Add APM to DatadogInstrumentation CRD#2994
Mathew-Estafanous merged 3 commits into
v1.27from
backport-2984-to-v1.27

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented May 8, 2026

Copy link
Copy Markdown

Backport d97a3dc from #2984.


What does this PR do?

This commit adds the schema required to utilize the DatadogInstrumentation CRD for APM. Relates to #2962

Example
apiVersion: datadoghq.com/v1alpha1
kind: DatadogInstrumentation
metadata:
  name: redis-check
  namespace: cache
spec:
  targetRef:
    apiVersion: apps/v1
    kind: Deployment
    name: example-service
  config:
    apm:
      enabled: true
      ddTraceVersions:
        python: "3"
      ddTraceConfigs:
        - name: "DD_PROFILING_ENABLED"
          value: "true"

Motivation

Two relevant RFCs:

Additional Notes

All this adds is the schema. The consumer of this schema is the Datadog Cluster Agent.

Describe your test plan

Ran:

make generate
make manifests
go test ./api/...
bin/darwin-arm64/operator-sdk bundle validate ./bundle

Also verified make generate && make manifests produces no additional diff after generated files are up to date.

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)

This commit adds the schema required to utilize the
DatadogInstrumentation CRD for APM.

(cherry picked from commit d97a3dc)
@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner May 8, 2026 18:02
@dd-octo-sts dd-octo-sts Bot added the enhancement New feature or request label May 8, 2026
@dd-octo-sts
dd-octo-sts Bot requested a review from a team as a code owner May 8, 2026 18:02
@codecov-commenter

codecov-commenter commented May 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 40.76%. Comparing base (b066672) to head (a136a9b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##            v1.27    #2994   +/-   ##
=======================================
  Coverage   40.76%   40.76%           
=======================================
  Files         332      332           
  Lines       28199    28199           
=======================================
  Hits        11495    11495           
  Misses      15929    15929           
  Partials      775      775           
Flag Coverage Δ
unittests 40.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b066672...a136a9b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@datadog-datadog-prod-us1-2

This comment has been minimized.

@Mathew-Estafanous Mathew-Estafanous self-assigned this May 8, 2026
@Mathew-Estafanous
Mathew-Estafanous merged commit 849be07 into v1.27 May 12, 2026
36 checks passed
@Mathew-Estafanous
Mathew-Estafanous deleted the backport-2984-to-v1.27 branch May 12, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants