Develocity integration¶
Daemonitor can provide additional process-level resource measurements to Develocity Build Scans.
When the Daemonitor Gradle plugin (id("io.github.cdsap.daemonitor")) is applied in settings.gradle.kts alongside Develocity, collected process measurements can be attached to a Build Scan as GBOS custom values. This makes it possible to inspect JVM and operating system resource consumption alongside the build information available in the Build Scan.
Develocity is optional—Daemonitor does not require Develocity for local process monitoring, CLI usage, or build/daemonitor/observation-summary.json reports.
Prerequisites¶
id("io.github.cdsap.daemonitor")applied insettings.gradle.ktswithdaemonitor.gbos.enabled=true(enabled by default).- Develocity Gradle plugin (
com.gradle.develocity) on the classpath. Builds without Develocity never link Develocity classes. daemonitor-coredrunning on the default local socket (or-Pdaemonitor.cored.socket=...).
What is projected¶
On build completion, Daemonitor projects the same build observation summary written to build/daemonitor/observation-summary.json as GBOS custom values on the Build Scan:
- Build-level observation metadata (
gbos.schema, producer name/version,session_id,total_peak_rss_mb). - Per-process observations (
GRADLE_DAEMON,KOTLIN_DAEMON, workers) with process attributes and memory/JVM measurements (RSS, plus heap/GC when HotSpot probing succeeded).
Disabling GBOS / Develocity projection¶
Set daemonitor.gbos.enabled=false in gradle.properties or via -Pdaemonitor.gbos.enabled=false to disable projection.