Skip to content

operator: report host-tuner adoption in telemetry#1639

Open
david-yu wants to merge 1 commit into
feat/chart-host-tunersfrom
feat/host-tuners-telemetry
Open

operator: report host-tuner adoption in telemetry#1639
david-yu wants to merge 1 commit into
feat/chart-host-tunersfrom
feat/host-tuners-telemetry

Conversation

@david-yu

@david-yu david-yu commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Stacked on #1522 (requires the apply_host_tuners CRD fields introduced there); retarget to main once #1522 merges.

Adds host-tuner adoption to the operator's anonymous telemetry payload so we can see how many clusters have turned on the opt-in chroot tuning init container:

  • redpanda.hostTunersEnabled — count of Redpanda CRs with spec.tuning.apply_host_tuners: true
  • stretchCluster.hostTunersEnabled — same count over StretchCluster CRs

Design notes:

  • The counter reads the raw spec, matching the existing feature-adoption pattern in the collector. apply_host_tuners is a pure opt-in (chart default false), so the explicit spec value is the effective state and no chart rendering is needed.
  • The long-standing tune_aio_events tuner is deliberately not counted — it defaults on in the chart and would not signal host-tuner adoption. A dedicated test locks this semantic (aio-only and explicit apply_host_tuners: false clusters do not count).

Scope note: this telemetry is operator-side only. Pure helm install deployments (no operator) have no phone-home mechanism in the chart, so they are not captured by this signal.

🤖 Generated with Claude Code

Count Redpanda and StretchCluster resources with the opt-in chroot host
tuners enabled (spec.tuning.apply_host_tuners) in the anonymous telemetry
payload, as redpanda.hostTunersEnabled and stretchCluster.hostTunersEnabled.

The counter reads the raw spec: apply_host_tuners is a pure opt-in (chart
default false), so the explicit spec value is the effective state. The
long-standing tune_aio_events tuner is deliberately excluded — this tracks
adoption of the chroot host-tuner mode only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@secpanda

secpanda commented Jul 3, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants