Questions tagged [micrometer-tracing]

Micrometer Tracing provides a simple facade for the most popular tracer libraries, letting you instrument your JVM-based application code without vendor lock-in. It is designed to add little to no overhead to your tracing collection activity while maximizing the portability of your tracing effort.

https://micrometer.io/docs/tracing

73 questions
0
votes
0 answers

BraveService decorator fails to propagate context on gRPC service in Armeria

I am serving a gRPC service with Armeria, Spring Boot 3, and WebFlux. I want to use Brave to print traceId and spanId to the log. I used the following guide…
mys
  • 119
  • 1
  • 12
0
votes
0 answers

No jms trace id in spring boot 3.1.3

I have two similiar projects. One with spring boot 2.7 and sleuth, another with spring boot 3.1.3 and micrometer. Codebase is almost the same, this is just a POC showing that micrometer still doesn't add traceid to jms messages using JmsTemplate and…
0
votes
0 answers

SpringBoot 3 Integration Test with Zipkin Not Working

I have a running code with spring boot(3.1.3) with zipkin. However in IntegrationTests trace information is not collected by zipkin. I am using these dependencies: org.springframework.boot
0
votes
0 answers

Micrometer tracing context propagration is lost in webclient flatMap function

Project: https://github.com/Jojoooo1/spring-microservice-webhook-reactive Version: spring boot: 3.2.0-SNAPSHOT micrometer-tracing 1.12.0-M2 Event after using Hooks.enableAutomaticContextPropagation() it seems that nested context does not…
0
votes
0 answers

Different traceid between JMS producer and consumer

We have two component. First component send JMS message and other component listen. We used to use Sleuth previously and traceid used to be same across component. Recently we migrated and use micrometer and we are facing issue of different traceid.…
0
votes
0 answers

Different Trace Id between applications on spring boot 2 and spring boot 3

I have several Spring Boot applications, one of which is using Spring Boot 3 and the others are using Spring Boot 2.The request get originated from Spring Boot 3 and goes to Spring Boot 2 component The issue I am facing is trace id are different…
0
votes
0 answers

Which tracer bean should we use with Spring Boot 3?

In Spring Boot we migrate from Sleuth to micrometer-tracing and with management.tracing.enabled both beans are available and both store the trace: brave.Tracer and io.micrometer.tracing.Tracer. But which tracer bean should we use with Spring Boot 3…
Artem Ptushkin
  • 1,151
  • 9
  • 17
0
votes
1 answer

Micrometer Tracing not working with Spring Boot 2.2.2

I am using the spring boot 2.2.2.Release version. this is my controller class. @RestController public class HelloController { private static final Logger LOGGER = LogManager.getLogger(HelloController.class); @GetMapping(value = "{userId}") …
0
votes
1 answer

micrometer tracing using otel collector and jaeger

I am trying to set up micrometer tracing with Jaeger. I am able to see spans and event flow from the rest API to the web service, but not able to see logs in Jaeger spans, such as info logs that can be used in debugging. so the question is if we can…
Introvert
  • 76
  • 8
0
votes
1 answer

Use both B3 and W3C trace formats in trace propagation between Spring Boot 2 & 3 applications

I am migrating from Spring Boot 2 to Spring boot 3, and switched from spring cloud sleuth to io.micrometer:micrometer-tracing-bridge-brave in the migration process. I noticed that Spring Boot 2 services use b3 headers to propagate span & trace IDs,…
Michiel
  • 2,914
  • 1
  • 18
  • 27
0
votes
0 answers

Not getting error traces in wavefront after migrating to spring boot 3

Initially in my project I was using Spring boot 2 and using sleuth dependency to send data to the wavefront. Everything was working fine. But then I migrate my spring boot to 3. I changed all required dependencies, properties like micrometer instead…
Sagar
  • 1
  • 1
0
votes
1 answer

How to set up execution time of module in prometheus

I am trying to connect to the prometheus metrics info about how much time it takes a module to be executed. Below I am logging the amount of time it takes to create a session and then output that information. I document the time at the beggining and…
0
votes
1 answer

Different TraceId's are generated in Micrometer for single HTTP request

I am recently trying to upgrade spring-boot version 2.7.3 and 2.7.10 to 3.1.0. Since spring-cloud-sleuth is not supported by spring-boot v3.x.x, we have to use micrometer for distributed tracing. However, the traceId is different in both the service…
0
votes
1 answer

What happens if openScope after observation stopped? (Missing log correlation for filter errors)

background: SpringBoot 3.1.0 - embedded tomcat Sample: https://github.com/PerryZhao/spring-filter-error-lost-log-correlation-demo/tree/main // Throw Exception in filter public class MyFilter extends GenericFilterBean { @Override public void…
0
votes
0 answers

Spring Boot 3 context propagation using micrometer does not work

We have a microservices architecture and are trying to implement distributed tracing, with the below somewhat naive implementation: I've got the following dependencies for micrometer and reactor:
Nestor Milyaev
  • 5,845
  • 2
  • 35
  • 51