Skip to content

[9.4] (backport #17451) Update .NET operator image version and ensure EDOT is used - #17851

Merged
stevejgordon merged 3 commits into
9.4from
mergify/bp/9.4/pr-17451
Nov 10, 2026
Merged

stevejgordon merged 3 commits into
9.4from
mergify/bp/9.4/pr-17451

Conversation

@mergify

@mergify mergify Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

OTel instrumentation only enables the EDOT registrations through the plugin mechanism. This is currently missing so essentially runs without the EDOT features.

Related issues

N/A

Risk

  • Low: isolated change, no effect on Fleet connectivity, policy handling, or upgrades
  • Medium: changes existing behavior, but is feature flagged or a failure does not affect Fleet connectivity, policy handling, or upgrades
  • High: touches Fleet connectivity, policy application, upgrade/rollback, installation, or changes defaults for existing users

I chose high as it changes a default but the impact is to fix a bug where the expected outcome is not occuring.

Rationale

The operator does not propagate the instrumentation image’s environment, leaving the EDOT .NET plugin unloaded. Update the image to 1.6.1 and explicitly configure  OTEL_DOTNET_AUTO_PLUGINS  in both kube-stack values variants.

Rollout and safety

N/A - Changes .NET auto-instrumentation defaults for newly created pods only. Fleet connectivity and agent lifecycle are unaffected. No persisted-format changes; previous chart values can be restored.

Testing

I had Opus 5.5 extend the existing Java test coverage to do the same for .NET so we can validate that this works effectively.


This is an automatic backport of pull request #17451 done by [Mergify](https://mergify.com).

(cherry picked from commit 9badd67)

# Conflicts:
#	deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
#	deploy/helm/edot-collector/kube-stack/values.yaml
@mergify mergify Bot added backport conflicts There is a conflict in the backported pull request labels Nov 5, 2026
@mergify

mergify Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor Author

Cherry-pick of 9badd67 has failed:

On branch mergify/bp/9.4/pr-17451
Your branch is up to date with 'origin/9.4'.

You are currently cherry-picking commit 9badd67.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   changelog/fragments/1792652202-Load-the-EDOT-.NET-plugin-in-kube-stack-auto-instrumentation.yaml

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
	both modified:   deploy/helm/edot-collector/kube-stack/values.yaml

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@github-actions github-actions Bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Nov 5, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates the EDOT .NET auto-instrumentation image (elastic-otel-dotnet) from 1.6.1 to 1.7.0 in kube-stack Helm values, but the current diff contains unresolved merge-conflict markers, making the values files invalid as committed.

Dependency 1: docker.elastic.co/observability/elastic-otel-dotnet 1.6.1 → 1.7.0

Ecosystem: other (Helm/runtime container image pin)

Check Result
Breaking changes ⚠️ Found (repository compatibility issue in this PR: unresolved conflict markers in deploy/helm/edot-collector/kube-stack/values.yaml:658-666 and deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml:653-661)
Testable in PR ⚠️ Partially — chart/config syntax can be validated in PR, but runtime .NET auto-instrumentation behavior requires cluster/runtime validation
Changelog highlights (1.6.1 → 1.7.0)

Source: elastic/elastic-otel-dotnet release 1.7.0.

  • Features include OpAMP log-level handling improvements and upstream OpenTelemetry package bumps (SDK 1.20.1, instrumentation 1.18.0).
  • Bug fixes include metrics-enable handling, secret redaction in diagnostics, logger lifecycle/concurrency fixes, and safety timer cleanup.
  • No CVE/GHSA entries were listed in upstream release notes for this bump.

Security/CVE assessment for this repo usage:

  • No explicit vulnerability advisory is referenced upstream.
  • Secret-redaction and logger lifecycle fixes appear risk-reducing.
  • Since this repo consumes the dependency as an image pin (not direct library APIs), exposure change is primarily operational behavior of auto-instrumentation.
Usage in this repository

Image pin is used in:

  • deploy/helm/edot-collector/kube-stack/values.yaml (instrumentation.dotnet.image)
  • deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml (instrumentation.dotnet.image)

Related automation metadata:

  • .ci/updatecli/updatecli-bump-edot.yml maps elastic/elastic-otel-dotnet to this image.

The update also adds OTEL_DOTNET_AUTO_PLUGINS in both values variants to ensure the EDOT plugin is loaded.

Compatibility assessment
  • The image bump itself looks low-to-moderate risk based on upstream notes and current usage pattern (opaque image reference).
  • However, the committed files currently include unresolved conflict markers (<<<<<<<, =======, >>>>>>>) at the lines above, which makes these YAML values invalid and leaves both old/new image entries in conflict blocks.
  • This blocks safe merge/readiness until conflicts are resolved.

Labels Applied

No labels applied (oblt-aw/ai/merge-ready withheld because current PR content is not merge-ready due to unresolved conflicts).


What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@github-actions

This comment has been minimized.

@stevejgordon
stevejgordon requested a review from a team as a code owner November 6, 2026 11:32
@stevejgordon
stevejgordon requested review from blakerouse and removed request for a team November 6, 2026 11:32
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates the EDOT .NET auto-instrumentation image from 1.6.1 to 1.7.0 in kube-stack Helm values; based on release notes and local usage, overall risk is low-to-moderate.

elastic-otel-dotnet 1.6.1 → 1.7.0

Ecosystem: CI / container / snapshot image pins

Check Result
Breaking changes ✅ None found in upstream release notes and no incompatible usage found in this repo
Changelog highlights (1.6.1 → 1.7.0)

From elastic/elastic-otel-dotnet release 1.7.0:

  • New features around OpAMP log-level handling and upstream package updates.
  • Multiple bug fixes (metrics instrumentation flag handling, logger lifecycle/ownership fixes, safety timer, options equality).
  • Security-relevant hardening: redaction of header secrets in configuration/env-var diagnostics.
  • No CVEs/GHSAs explicitly listed; no documented breaking changes.
Usage in this repository

Updated in:

  • deploy/helm/edot-collector/kube-stack/values.yaml
  • deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml

Current usage sets:

  • instrumentation.dotnet.image: docker.elastic.co/observability/elastic-otel-dotnet:1.7.0
  • OTEL_DOTNET_AUTO_PLUGINS env var to load the Elastic plugin.

Additional references for update automation:

  • .ci/updatecli/updatecli-bump-edot.yml
  • .ci/updatecli/README.md
Compatibility assessment
  • The bump is within major version 1.x and keeps the same image family.
  • Repository usage is configuration-level (Helm values), not direct API calls.
  • Added plugin env configuration aligns with intended EDOT behavior and does not conflict with other chart keys in the same block.
  • No evidence of removed/renamed fields used by this repo.

Labels Applied

  • oblt-aw/ai/merge-ready — low-to-moderate risk, no usage-breaking changes identified, and change is contained to Helm image/config pins.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Automerge skipped

Automerge skipped this pull request because the changed files do not match any configured dependency collection.

If this update should be automerged, ask a maintainer to add or adjust a collection, or merge the pull request manually.

See Opt in or opt out for how to enable or disable Automerge collections on the Control Plane Dashboard.

Collections currently enabled for automerge: github-actions, pre-commit, update-beats, vm-images, package-version

Changed files considered:

  • changelog/fragments/1792652202-Load-the-EDOT-.NET-plugin-in-kube-stack-auto-instrumentation.yaml
  • deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
  • deploy/helm/edot-collector/kube-stack/values.yaml

@stevejgordon

Copy link
Copy Markdown
Contributor

@Mergifyio update

@mergify

mergify Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

update

✅ Branch has been successfully updated

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

TL;DR

check-ci failed because the beats git submodule in the Buildkite workspace was at a different commit than the one pinned by this PR commit, so the repo became dirty and CheckNoChanges exited.

Remediation

  • Re-run the failed Buildkite job with a clean checkout (or force submodule sync before make check-ci, e.g. git submodule update --init --recursive --force).
  • If it reproduces, update Buildkite checkout/bootstrap to always sync submodules to the superproject commit before running checks.
Investigation details

Root Cause

This is an infrastructure/checkout consistency failure, not a code/test assertion failure in the PR changes.

check-ci runs mage check, which invokes CheckNoChanges (dev-tools/mage/check.go, mg.Deps(..., devtools.CheckNoChanges)). The failure log shows only a submodule gitlink delta:

  • diff --git a/beats b/beats
  • expected in superproject: 1cc2f018638ed69f7c8eb155abc83fdbb8cce7b4
  • workspace submodule HEAD: f32306ecf9854c5b3832b316956bdc788a4d690b

No code file diffs were reported, only Modified: [beats].

Evidence

Verification

  • Parsed /tmp/gh-aw/buildkite-failures.txt and /tmp/gh-aw/buildkite-logs/elastic-agent-check-ci.txt.
  • Checked PR commits (fb8932f95ea4cdd10c8a97891f6f7e67ea6fc488, 1260d32608809c006500f09a13de7d0537082006) and they do not modify beats.
  • Did not run local full CI (workflow is read-only detective analysis).

Follow-up

  • I attempted to query flaky-test issues for correlation, but results were filtered by integrity policy in this run.

What is this? | From workflow: Observability Agentic Workflow — Status

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Dependency Update Analysis

Summary: This PR updates the EDOT .NET auto-instrumentation image from 1.6.1 to 1.7.0 in kube-stack Helm values and adds OTEL_DOTNET_AUTO_PLUGINS; overall risk is low-to-moderate with no usage-breaking changes found.

Dependency: docker.elastic.co/observability/elastic-otel-dotnet 1.6.1 → 1.7.0

Ecosystem: CI / container / snapshot image pins (runtime Helm image pin)

Check Result
Breaking changes ✅ None found in this repo’s usage
Testable in PR ✅ Yes — static Helm values change in PR context (runtime effect occurs when deploying kube-stack)
Changelog highlights (1.6.1 → 1.7.0)

From elastic/elastic-otel-dotnet release 1.7.0:

  • Features: OpAMP remote-config log-level handling; upstream package bumps (SDK 1.20.1, instrumentation 1.18.0).
  • Fixes: metrics instrumentation env handling, logger lifecycle/concurrency/safety fixes.
  • Security-relevant fix: redaction of header secrets in configuration/environment diagnostics.

CVE/security assessment:

  • No CVE/GHSA IDs were listed in the release notes.
  • The secret-redaction fix reduces accidental credential exposure risk in diagnostics.
  • No release-note evidence of newly introduced risky surfaces affecting this repo’s current usage pattern.
Usage in this repository

Direct usage of this image pin appears in:

  • deploy/helm/edot-collector/kube-stack/values.yaml
  • deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml

This PR updates the image tag and adds:

  • OTEL_DOTNET_AUTO_PLUGINS=Elastic.OpenTelemetry.AutoInstrumentationPlugin, Elastic.OpenTelemetry.AutoInstrumentation

No code-level API imports/calls to this dependency exist in the Go codebase; usage is Helm configuration for injected instrumentation images.

Compatibility assessment
  • No repo-consumed API/input removals were identified for this usage model (image tag + env configuration).
  • Added plugin env var aligns with intended EDOT plugin activation behavior for .NET auto-instrumentation.
  • Scope is limited to kube-stack auto-instrumentation behavior for newly created instrumented pods.

Labels Applied

  • oblt-aw/ai/merge-ready (applied): low-to-moderate risk update, no breaking usage impact detected, and security direction is net-positive.

What is this? | From workflow: Observability Agentic Workflow — Pull Request

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@mergify

mergify Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

This pull request has not been merged yet. Could you please review and merge it @{{ assignee | join(', @') }}? 🙏

@stevejgordon
stevejgordon requested a review from a team November 10, 2026 16:16
@mergify

mergify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Queue requested — the merge queue status continues in this comment ↓.

@stevejgordon
stevejgordon merged commit 46f7374 into 9.4 Nov 10, 2026
44 checks passed
@mergify

mergify Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

⏳ Waiting for queue conditions

Queue rule default · nothing left

Queue rule default: 8 met
  • -closed
  • -conflict
  • -draft
  • any of:
    • -mergify-configuration-changed
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted
  • #review-threads-unresolved = 0 · required by GitHub branch protection
  • github-review-approved · required by GitHub branch protection, GitHub repository ruleset rule [org] Require a PR for Renovate and GitHub repository ruleset rule [org] Require a PR
  • any of · required by GitHub branch protection:
    • check-success = buildkite/elastic-agent
    • check-neutral = buildkite/elastic-agent
    • check-skipped = buildkite/elastic-agent
  • any of · required by GitHub branch protection:
    • check-success = CLA
    • check-neutral = CLA
    • check-skipped = CLA

Times in UTC · dashboard · how the merge queue works

@stevejgordon
stevejgordon deleted the mergify/bp/9.4/pr-17451 branch November 10, 2026 17:59
@mergify mergify Bot added the queued label Nov 10, 2026
@mergify

mergify Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor Author

queue

☑️ The pull request has been merged manually

Details

The pull request has been merged manually at 46f7374

@mergify mergify Bot removed the queued label Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working conflicts There is a conflict in the backported pull request oblt-aw/ai/merge-ready Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant