Skip to content

Collect telemetry for Java properties#26038

Merged
MarkEWaite merged 1 commit intojenkinsci:masterfrom
NotMyFault:jdk-telemetry
Jan 5, 2026
Merged

Collect telemetry for Java properties#26038
MarkEWaite merged 1 commit intojenkinsci:masterfrom
NotMyFault:jdk-telemetry

Conversation

@NotMyFault
Copy link
Member

@NotMyFault NotMyFault commented Jan 3, 2026

The change proposed reinstantiates the telemetry data for basic Java system properties. I would like to collect some information about the JVM and OS versions used, especially in terms of Java 25 acceptance.

Testing done

None, relying on existing coverage and functionality.

Calling ExtensionList.lookupSingleton(jenkins.telemetry.impl.JavaSystemProperties).createContent() yields the expected result:

Result: {"file.encoding":"UTF-8","file.separator":"/","java.vm.name":"OpenJDK 64-Bit Server VM","java.vm.vendor":"Eclipse Adoptium","java.vm.version":"25+36-LTS","os.arch":"aarch64","os.name":"Mac OS X","os.version":"26.2","user.language":"en","components":{"ant":"520.vd082ecfb_16a_9","antisamy-markup-formatter":"173.v680e3a_b_69ff3","apache-httpcomponents-client-4-api":"4.5.14-269.vfa_2321039a_83","asm-api":"9.9.1-189.vb_5ef2964da_91","bootstrap5-api":"5.3.8-895.v4d0d8e47fea_d","bouncycastle-api":"2.30.1.82-277.v70ca_0b_877184","branch-api":"2.1268.v044a_87612da_8","build-timeout":"1.39","caffeine-api":"3.2.3-194.v31a_b_f7a_b_5a_81","checks-api":"373.vfe7645102093","cloudbees-folder":"6.1073.va_7888eb_dd514","commons-lang3-api":"3.20.0-109.ve43756e2d2b_4","commons-text-api":"1.15.0-210.v7480a_da_70b_9e","credentials":"1458.v7291f840651c","credentials-binding":"702.vfe613e537e88","dark-theme":"574.va_19f05d54df5","display-url-api":"2.217.va_6b_de84cc74b_","durable-task":"639.vefb_3d8372f6d","echarts-api":"6.0.0-1165.vd1283a_3e37d4","eddsa-api":"0.3.0.1-19.vc432d923e5ee","email-ext":"1933.v45cec755423f","font-awesome-api":"7.1.0-882.v1dfb_771e3278","git":"5.8.1","git-client":"6.5.0","github":"1.45.0","github-api":"1.330-492.v3941a_032db_2a_","github-branch-source":"1925.v62fb_7ffb_08ce","gradle":"2.18.1203.v2c96b_1243c72","gson-api":"2.13.2-173.va_a_092315913c","instance-identity":"203.v15e81a_1b_7a_38","ionicons-api":"94.vcc3065403257","jackson2-api":"2.20.1-423.v13951f6b_6532","jakarta-activation-api":"2.1.4-1","jakarta-mail-api":"2.1.5-1","jakarta-xml-bind-api":"4.0.6-12.vb_1833c1231d3","javax-activation-api":"1.2.0-8","jaxb":"2.3.9-143.v5979df3304e6","jenkins-core":"2.545-SNAPSHOT","jjwt-api":"0.11.5-120.v0268cf544b_89","joda-time-api":"2.14.0-149.v1c3ce991d1b_9","jquery3-api":"3.7.1-619.vdb_10e002501a_","json-api":"20251224-185.v0cc18490c62c","json-path-api":"2.10.0-202.va_9cc16c1e476","jsoup":"1.21.2-66.v6ea_38164b_8a_2","junit":"1380.v491ff054cd35","ldap":"793.v754d6b_41b_ea_4","mailer":"525.v2458b_d8a_1a_71","matrix-auth":"3.2.9","matrix-project":"870.v9db_fcfc2f45b_","metrics":"4.2.37-489.vb_6db_69b_ce753","mina-sshd-api-common":"2.16.0-167.va_269f38cc024","mina-sshd-api-core":"2.16.0-167.va_269f38cc024","okhttp-api":"4.12.0-195.vc02552c04ffd","pipeline-build-step":"571.v08a_fffd4b_0ce","pipeline-github-lib":"65.v203688e7727e","pipeline-graph-view":"730.v433816a_b_7a_73","pipeline-groovy-lib":"787.ve2fef0efdca_6","pipeline-input-step":"540.v14b_100d754dd","pipeline-milestone-step":"138.v78ca_76831a_43","pipeline-model-api":"2.2277.v00573e73ddf1","pipeline-model-definition":"2.2277.v00573e73ddf1","pipeline-model-extensions":"2.2277.v00573e73ddf1","pipeline-stage-step":"322.vecffa_99f371c","pipeline-stage-tags-metadata":"2.2277.v00573e73ddf1","plain-credentials":"199.v9f8e1f741799","plugin-util-api":"6.1192.v30fe6e2837ff","prism-api":"1.30.0-630.va_e19d17f83b_0","resource-disposer":"0.25","scm-api":"724.v7d839074eb_5c","script-security":"1385.v7d2d9ec4d909","snakeyaml-api":"2.5-143.v93b_c004f89de","ssh-credentials":"361.vb_f6760818e8c","ssh-slaves":"3.1085.vc64d040efa_85","structs":"362.va_b_695ef4fdf9","theme-manager":"327.v780d7096ec29","timestamper":"1.30","token-macro":"477.vd4f0dc3cb_cf1","trilead-api":"2.284.v1974ea_324382","variant":"70.va_d9f17f859e0","workflow-aggregator":"608.v67378e9d3db_1","workflow-api":"1398.v67030756d3fb_","workflow-basic-steps":"1098.v808b_fd7f8cf4","workflow-cps":"4238.va_6fb_65c1f699","workflow-durable-task-step":"1464.v2d3f5c68f84c","workflow-job":"1559.va_a_533730b_ea_d","workflow-multibranch":"821.vc3b_4ea_780798","workflow-scm-step":"466.va_d69e602552b_","workflow-step-api":"710.v3e456cc85233","workflow-
support":"1010.vb_b_39488a_9841","ws-cleanup":"0.49"}}

Screenshots (UI changes only)

Before

After

Proposed changelog entries

  • Add telemetry for Java properties.

Proposed changelog category

/label

Proposed upgrade guidelines

N/A

Submitter checklist

  • The issue, if it exists, is well-described.
  • The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see examples). Fill in the Proposed upgrade guidelines section only if there are breaking changes or changes that may require extra steps from users during upgrade.
  • There is automated testing or an explanation as to why this change has no tests.
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadocs, as appropriate.
  • New deprecations are annotated with @Deprecated(since = "TODO") or @Deprecated(forRemoval = true, since = "TODO"), if applicable.
  • UI changes do not introduce regressions when enforcing the current default rules of Content Security Policy Plugin. In particular, new or substantially changed JavaScript is not defined inline and does not call eval to ease future introduction of Content Security Policy (CSP) directives (see documentation).
  • For dependency updates, there are links to external changelogs and, if possible, full differentials.
  • For new APIs and extension points, there is a link to at least one consumer.

Desired reviewers

@mention

Before the changes are marked as ready-for-merge:

Maintainer checklist

  • There are at least two (2) approvals for the pull request and no outstanding requests for change.
  • Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
  • Changelog entries in the pull request title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood.
  • Proper changelog labels are set so that the changelog can be generated automatically.
  • If the change needs additional upgrade steps from users, the upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).
  • If it would make sense to backport the change to LTS, be a Bug or Improvement, and either the issue or pull request must be labeled as lts-candidate to be considered.

Signed-off-by: Alexander Brandes <mc.cache@web.de>
@NotMyFault NotMyFault added the skip-changelog Should not be shown in the changelog label Jan 3, 2026
@MarkEWaite MarkEWaite changed the title Reinstantiate telemetry for Java properties Collect telemetry for Java properties Jan 3, 2026
@daniel-beck daniel-beck removed the skip-changelog Should not be shown in the changelog label Jan 3, 2026
@daniel-beck
Copy link
Member

Needs an issue with lts-candidate or it's not going into any LTS releases.

@NotMyFault
Copy link
Member Author

Needs an issue with lts-candidate or it's not going into any LTS releases.

Was about to file that post-merge

@NotMyFault NotMyFault added the rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted label Jan 3, 2026
@MarkEWaite
Copy link
Contributor

This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback.

/label ready-for-merge

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Jan 3, 2026
@daniel-beck
Copy link
Member

This PR still needs a changelog entry.

MarkEWaite added a commit to MarkEWaite/acceptance-test-harness that referenced this pull request Jan 4, 2026
@MarkEWaite MarkEWaite linked an issue Jan 4, 2026 that may be closed by this pull request
@MarkEWaite MarkEWaite merged commit 2e58b23 into jenkinsci:master Jan 5, 2026
19 of 20 checks passed
shalinisudarsan pushed a commit to shalinisudarsan/jenkins that referenced this pull request Jan 6, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
(cherry picked from commit 2e58b23)
MarkEWaite pushed a commit to MarkEWaite/jenkins that referenced this pull request Jan 7, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
(cherry picked from commit 2e58b23)
@MarkEWaite MarkEWaite mentioned this pull request Jan 7, 2026
14 tasks
MarkEWaite pushed a commit to MarkEWaite/jenkins that referenced this pull request Jan 7, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
(cherry picked from commit 2e58b23)
AmoghParmar pushed a commit to AmoghParmar/jenkins that referenced this pull request Jan 7, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
shalinisudarsan pushed a commit to shalinisudarsan/jenkins that referenced this pull request Jan 8, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
(cherry picked from commit 2e58b23)
shalinisudarsan pushed a commit to shalinisudarsan/jenkins that referenced this pull request Jan 8, 2026
Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>
(cherry picked from commit 2e58b23)
MarkEWaite added a commit that referenced this pull request Jan 21, 2026
* Fix sidebar navigation for non-ASCII localized section headers

* Bump minimum supported remoting version (#26034)

* Fix race condition during initial admin account creation (#26036)

* Update README.md

* Update README.md

* Update README.md

* Remove link to non-existent newsletter

Also format with `yarn lint:fix` as noted in the contributing guide.

* Update README.md

* Update good first issues query

* Fix race condition during initial admin account creation

* Update core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Use synchronized method for initial admin account creation

---------

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Co-authored-by: Kris Stern <krisstern@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Collect telemetry for Java properties (#26038)

Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* Update dependency com.puppycrawl.tools:checkstyle to v12.3.1 (#26041)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:jakarta-xml-bind-api to v4.0.6-12.vb_1833c1231d3 (#26042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:jaxb to v2.3.9-143.v5979df3304e6 (#26043)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:checks-api to v402 (#26044)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jenkins-ci.plugins:credentials to v1460 (#26046)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update stapler.version to v2065 (major) (#26049)

Update stapler.version to v2065

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jenkins-ci:version-number to v1.14 (#26054)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix sidebar navigation for non-ASCII section headers

* Resolve merge conflict with master

---------

Signed-off-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com>
Co-authored-by: Pnkcaht <samzoovsk19@gmail.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Co-authored-by: Kris Stern <krisstern@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
meetgoti07 pushed a commit to meetgoti07/jenkins that referenced this pull request Jan 29, 2026
…nsci#26068)

* Fix sidebar navigation for non-ASCII localized section headers

* Bump minimum supported remoting version (jenkinsci#26034)

* Fix race condition during initial admin account creation (jenkinsci#26036)

* Update README.md

* Update README.md

* Update README.md

* Remove link to non-existent newsletter

Also format with `yarn lint:fix` as noted in the contributing guide.

* Update README.md

* Update good first issues query

* Fix race condition during initial admin account creation

* Update core/src/main/java/hudson/security/HudsonPrivateSecurityRealm.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Use synchronized method for initial admin account creation

---------

Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Co-authored-by: Kris Stern <krisstern@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Collect telemetry for Java properties (jenkinsci#26038)

Reinstantiate telemetry for Java properties

Signed-off-by: Alexander Brandes <mc.cache@web.de>

* Update dependency com.puppycrawl.tools:checkstyle to v12.3.1 (jenkinsci#26041)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:jakarta-xml-bind-api to v4.0.6-12.vb_1833c1231d3 (jenkinsci#26042)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:jaxb to v2.3.9-143.v5979df3304e6 (jenkinsci#26043)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency io.jenkins.plugins:checks-api to v402 (jenkinsci#26044)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jenkins-ci.plugins:credentials to v1460 (jenkinsci#26046)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update stapler.version to v2065 (major) (jenkinsci#26049)

Update stapler.version to v2065

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Update dependency org.jenkins-ci:version-number to v1.14 (jenkinsci#26054)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Fix sidebar navigation for non-ASCII section headers

* Resolve merge conflict with master

---------

Signed-off-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: strangelookingnerd <49242855+strangelookingnerd@users.noreply.github.com>
Co-authored-by: Pnkcaht <samzoovsk19@gmail.com>
Co-authored-by: Mark Waite <mark.earl.waite@gmail.com>
Co-authored-by: Kris Stern <krisstern@outlook.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Alexander Brandes <mc.cache@web.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Beck <1831569+daniel-beck@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collect telemetry for Java properties

3 participants