Skip to content

PMM-15039 Disable telemetry except for GA and RC builds#5435

Open
4nte wants to merge 12 commits into
v3from
PMM-15039-disable-telemetry-except-for-ga-rc-builds
Open

PMM-15039 Disable telemetry except for GA and RC builds#5435
4nte wants to merge 12 commits into
v3from
PMM-15039-disable-telemetry-except-for-ga-rc-builds

Conversation

@4nte
Copy link
Copy Markdown
Contributor

@4nte 4nte commented May 28, 2026

PMM-15039

Feature Build: Percona-Lab/pmm-submodules#4381

Disables telemetry by default with intent to prevent non-official builds (e.g forks) and dev environments from reporting telemetry.

Docker image now accepts PMM_ENABLE_TELEMETRY build arg which enables our build pipeline to explicitly ENABLE telemetry on GA and RC builds.

Check out related PR in our build pipeline: Percona-Lab/jenkins-pipelines#4133

4nte added 5 commits May 27, 2026 16:37
telemetry is now disabled by default so this is redundant
telemetry functionality is controlled through `PMM_ENABLE_TELEMETRY` env var, which can be set in both build step and
runtime
@4nte 4nte requested a review from a team as a code owner May 28, 2026 21:06
@4nte 4nte requested review from JiriCtvrtka and ademidoff and removed request for a team May 28, 2026 21:06
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.22%. Comparing base (5868ef3) to head (b5f892a).

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #5435      +/-   ##
==========================================
+ Coverage   43.19%   43.22%   +0.03%     
==========================================
  Files         413      413              
  Lines       42279    42279              
==========================================
+ Hits        18262    18276      +14     
+ Misses      22149    22135      -14     
  Partials     1868     1868              
Flag Coverage Δ
admin 34.94% <ø> (ø)
agent 49.18% <ø> (+0.13%) ⬆️
managed 42.33% <ø> (ø)
vmproxy 72.41% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread managed/services/telemetry/telemetry.go
Comment thread build/docker/server/Dockerfile.el9
Comment thread managed/models/settings.go
Comment thread managed/services/telemetry/telemetry.go
Comment thread managed/services/telemetry/telemetry_test.go
@4nte 4nte requested a review from ademidoff June 1, 2026 16:59
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.

3 participants