Tagged articles
11 articles
Page 1 of 1
Cognitive Technology Team
Cognitive Technology Team
Apr 15, 2025 · Backend Development

Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context

This article explains why and how to enforce the use of trace‑aware thread pools in Spring Cloud, presenting three approaches—including TraceableExecutorService, Tracer.currentTraceContext().wrap, and TraceCallable/TraceRunnable—to prevent loss of distributed tracing information in multithreaded applications.

Backend DevelopmentJavaSleuth
0 likes · 4 min read
Using Traceable Thread Pools in Spring Cloud to Preserve Trace Context
Cognitive Technology Team
Cognitive Technology Team
Apr 25, 2022 · Backend Development

Enforcing Traceable Thread Pools in Spring Cloud to Preserve Trace Context

This article explains how to prevent loss of tracing information in Spring Cloud by using traceable thread pools, detailing three approaches: wrapping an ExecutorService with TraceableExecutorService, using Tracer.currentTraceContext().wrap, and employing TraceCallable/TraceRunnable for context propagation.

Sleuthbackend-developmentspring-cloud
0 likes · 4 min read
Enforcing Traceable Thread Pools in Spring Cloud to Preserve Trace Context
Code Ape Tech Column
Code Ape Tech Column
Oct 21, 2021 · Backend Development

Integrating Spring Cloud Sleuth and Zipkin for Distributed Tracing in Microservices

This tutorial explains the principles of distributed tracing, why it is needed for microservice architectures, and provides step‑by‑step instructions for adding Spring Cloud Sleuth and Zipkin—including Maven dependencies, configuration, Docker deployment, and Elasticsearch persistence—to a Spring Cloud project.

Distributed TracingDockerElasticsearch
0 likes · 14 min read
Integrating Spring Cloud Sleuth and Zipkin for Distributed Tracing in Microservices
Programmer DD
Programmer DD
Feb 20, 2018 · Backend Development

Master Distributed Tracing in Spring Cloud with Sleuth: A Hands‑On Guide

This tutorial explains how Spring Cloud Sleuth creates and propagates Trace‑ID and Span‑ID across microservice calls, shows the required HTTP headers, demonstrates adding the spring‑cloud‑starter‑sleuth dependency, customizing header output, configuring logging levels, and provides runnable code samples with log output for verification.

Distributed TracingJavaMicroservices
0 likes · 8 min read
Master Distributed Tracing in Spring Cloud with Sleuth: A Hands‑On Guide