feat(EM-42): Implement Distributed Tracing with Spring Cloud Sleuth and Zipkin/Jaeger#54
Open
devin-ai-integration[bot] wants to merge 1 commit intofeat/microservices-migration-v2from
Conversation
…kin/Jaeger - Create libs/ftgo-tracing/ shared library module with auto-configuration - Configure Micrometer Tracing with OpenTelemetry bridge - Add Zipkin and OTLP span exporters with conditional configuration - Add trace ID propagation headers (W3C, B3, B3 Multi-Header) - Create Jaeger infrastructure config (Docker Compose and K8s manifests) - Add tracing dependencies to gradle/libs.versions.toml - Add ftgo-tracing CI job to ci-libs.yml workflow - Add tracing documentation in docs/tracing/ and libs/ftgo-tracing/ Co-Authored-By: Alex Baker <alexandercommander453@gmail.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(EM-42): Implement Distributed Tracing with Spring Cloud Sleuth and Zipkin/Jaeger
Summary
Adds a new
libs/ftgo-tracing/shared library module that provides Spring Boot auto-configuration for distributed tracing using Micrometer Tracing with an OpenTelemetry bridge. Includes Zipkin and OTLP span exporters, configurable propagation (W3C/B3), Jaeger infrastructure configs (Docker Compose + K8s), and tracing dependencies in the Gradle version catalog.Key additions:
libs/ftgo-tracing/— auto-configuration classes (TracingAutoConfiguration,TracingExporterConfiguration,TracingPropagationConfiguration), config properties, and unit testsinfrastructure/tracing/— Docker Compose and Kubernetes manifests for Jaeger all-in-onegradle/libs.versions.toml— OpenTelemetry 1.36.0 deps,tracingandtracing-otlpbundlesdocs/tracing/— setup guide, config reference, troubleshooting.github/workflows/ci-libs.yml— addedftgo-tracingCI jobReview & Testing Checklist for Human
settings.gradleis intentionally not modified per task constraints). The CI reusable workflow will skip the build since the module isn't registered as a subproject. The Java source has not been compiled or tested.ExporterType.LOGGINGhas no backing implementation — the enum declaresLOGGINGbutTracingExporterConfigurationonly handlesZIPKINandOTLP. If a user setstype=LOGGING, noSpanExporterbean is created (silent no-op). Decide if this is acceptable or needs a logging exporter.ftgo-tracing-defaults.propertiessetsmanagement.*andlogging.pattern.*properties — these could override application-level config. Review whether shipping these defaults from a library jar is appropriate for your services.opentelemetry-instrumentation = "2.2.0"version is declared but unused — no library entry references it. Should be removed or wired up.io.opentelemetry.extension.trace.propagation.B3Propagatorfromopentelemetry-extension-trace-propagators).Suggested test plan:
ftgo-tracingin a Gradle build with Java 17 and run./gradlew :libs:ftgo-tracing:builddocker-compose -f infrastructure/tracing/docker-compose.yml up -dand verify UI atlocalhost:16686Notes