Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modern Java App CI/CD Observability with OpenTelemetry and Gradle

Modern Java App CI/CD Observability with OpenTelemetry and Gradle

Well-functioning Continuous Integration, Delivery, and Deployment pipelines are instrumental to the stability of cloud-native applications, including disaster recovery when things go wrong. Hence, CI/CD observability is instrumental and might be as important as one for production environments.

Many tools provide integrations with OTel and initiatives like OTEP-0223 target standardizing the reporting formats across the ecosystem. In the full demo, we will focus on a modern Java stack for cloud-native applications: Quarkus, Gradle, Java Flight Recorder (JFR), recent Java versions, and prominent CD systems like Dagger and Argo CD. We will use the OpenTelemetry, Prometheus, and Jaeger stack, but the same approaches can be used for other OTel collectors. Get ready for some demos and live coding!

P.S: If you are interested in the subject, join the #otel-cicd channel on the CNCF Slack!

Oleg Nenashev

March 19, 2024


More Decks by Oleg Nenashev

Other Decks in Technology


  1. > whoami @oleg_nenashev oleg-nenashev Dr. Nenashev / Mr. Jenkins Community

    builder Developer Tools Hacker #RussiansAgainstPutin #StandWithUkraine 1.x
  2. My first observability project, 2009 Oil flow meter and monitoring

    system Now: tundrasolutions.ca/products/neftemer
  3. OTel in Jenkins • Traces can go through different tools,

    not just a single one • Jenkins + Maven • Mavern + Jenkins Source: plugins.jenkins.io/opentelemetry/
  4. 12

  5. + • OTel is supported by Gradle Inc. We provide

    caching, build scans and analytics for Java and native SDKs and tools • We helped to reduce OTel Java’s median build time from 10min down to 2 min • https://ge.opentelemetry.io/ gradle/develocity-oss-projects
  6. 16 OpenTelemetry plugin for Gradle • Injecting traces and spans

    to the Gradle execution • Helps to find the slowest parts of your build with the Gradle OpenTelemetry build plugin. • Created by Craig Atkinson • craigatk/opentelemetry-gradle-plugin
  7. 19