Spring Boot 4.2에서 RestClient의 traceparent 전파 확인하기
Spring Boot 4.2.0에서 RestClient 생성 방식에 따라 traceparent 전파와 Tempo의 span 연결이 어떻게 달라지는지 확인합니다.
spring-boot / restclient / opentelemetry↗
Java와 소프트웨어, 개발하며 배운 것들을 기록합니다.
전체 글 →Spring Boot 4.2.0에서 RestClient 생성 방식에 따라 traceparent 전파와 Tempo의 span 연결이 어떻게 달라지는지 확인합니다.
Spring Boot 4.2.0에서 관측 규약을 바꿔 Spring MVC와 RestClient의 Prometheus 메트릭을 비교하고 404 쿼리를 옮깁니다.
Spring Boot 4.2에서 RestTemplate을 RestClient로, TestRestTemplate을 RestTestClient로 옮기고 실제 서버 테스트로 200과 404 응답을 확인합니다.