Gradle

This plugin instruments your build with OpenTelemetry traces and spans so you can visualize all tasks executed in your build, find where the build time is going, track build duration over time, and more.

This is a community-contributed plugin for Gradle.

This OpenTelemetry-based plugin creates a single trace for each build, with an overall span for the build and child individual spans for each task. The plugin also creates individual span for each test executed in a Gradle task with the Test type. You’ll get a trace for each build with a span for every task, so you can find and optimize the bottlenecks in your build.


This trace shows you the waterfall of test case executions—when each test started and finished. You can see the tests are running serially: using Gradle’s test parallelization capabilities could speed up this build.

Resources

Github

OpenTelemetry Gradle Plugin Repo

read more
Gradle Plugins

OpenTelemetry Build Plugin (Gradle)

read more
Blog

Find and Fix Bottlenecks in Your Gradle Builds With OpenTelemetry and Honeycomb

read more