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
2 answers

Spring Boot 3.0.2 Microservices with Micrometer, Child is getting different trace ID than parent

I have a Parent that calls another microservice (child) with webclient. public Mono productFromIntegrator() { String url = "http://localhost:8282/product"; return Mono.deferContextual(contextView -> { try…
msuzuki
  • 105
  • 2
  • 15
0
votes
0 answers

Where can I get brace.Tracing with a non-standard server Spring Boot 3.0 application?

I use an injected brave.Tracing that comes with Spring Cloud Sleuth to build the GRPC tracing interceptor like this... public GrpcServer( final Set grpcServices, final Tracing tracing, @Value("${grpc.port:50000}")…
Archimedes Trajano
  • 35,625
  • 19
  • 175
  • 265
0
votes
0 answers

Micrometer tracing for Batch DataFetchers

I am implementing micrometer for our GraphQL service. One thing I am noticing is for @BatchMapping methods we are getting a DataFetcherObservationContext for each index in the incoming list. Example: I am looking up a group of skus and on each of…
0
votes
2 answers

Springboot 3.0.2 | ESAPI 2.2.0.0 | Log4j2 | micrometer tracing - Span ID and Trace ID not attached to logs

I am trying to print spanId and traceID when logging in my springboot application but not able to see in console. I am using springboot 3.0.2 version and using micrometer tracing as cloud-slueth is now deprecated. I am also using ESAPI for secure…
Rupesh
  • 11
  • 4
0
votes
1 answer

how to migrate usage of TracingClientHttpRequestInterceptor with RestTemplate to springboot 3 with Micrometer Tracing?

I started the migration of a service to SpringBoot 3 and now I have a problem code that used org.springframework.cloud.sleuth.instrument.web.mvc.TracingInterceptor restTemplate.getInterceptors().add(0,tracingInterceptor); I didn't find the…
0
votes
1 answer

how do u properly use observability and tracing with microservices, using micrometer NOT sleuth?

I'm making a simple microservices project/application with spring boot 3 and you are supposed to now use micrometer for tracing, logging, and monitoring. And guides on this really don't show this implemented in a microservices environment with a…
0
votes
0 answers

SpringBoot + Tracing/Traces: Non intrusive mechanism to collect/scrap/poll application traces (as in traceId, spanId, parentId)

Small question regarding SpringBoot web applications and tracing please. By tracing, I mean traceId,spanId,parentId. Most of all, how to collect/scrap/poll those traces. For example, logging: SpringBoot can send logs to external systems (send log…
PatPanda
  • 3,644
  • 9
  • 58
  • 154
0
votes
1 answer

Spring Actuator to expose /trace or /tracing endpoint for traceId spanId and parentId

Small question regarding SpringBoot actuator and a possible /trace /tracing endpoint please. I am referring to tracing, as in traceId, spanId and parentId please. Currently, actuator can expose endpoints like /metrics or /prometheus for metrics…
0
votes
0 answers

traceId is lost in a coroutine?

I am upgrading an application with Kotlin, Webflux to Spring Boot 3. Now I noticed that our logs are lacking traceIds. My suspicion is that this is due to coroutines, since I observed that the logs of the controller contain a traceId and in the logs…
0
votes
1 answer

management.tracing.sampling.probability not showing up in my microservices project. I'm using micrometer and webclient. how do i fix this?

so, I can use the property management.tracing.sampling.probability in my discovery server. But in my microservices classes i can't see or use the property in my yaml file. I've tried like every dependency possible. but I don't understand how i can…
0
votes
1 answer

Defining a RestTemplateBuilder bean causes traceId propagation across service boundaries to no longer work

The following code demonstrates that by including a RestTemplateBuilder bean into a project, micrometer-tracing will not propagate traceIds correctly across service boundaries. I am posting the sample code here as my client prohibits me from sharing…
Keith Bennett
  • 733
  • 11
  • 25
-1
votes
2 answers

How to manually create and inject TraceContext into Reactor Context in Spring Webflux?

Background: I have a service running on Spring Boot 3.1.0 which communicates via REST and AMQP. After it is invoked via REST, it publishes the REST payload's content to a RabbitMQ Queue using reactor-rabbitmq and immediately returns a HTTP…
-1
votes
1 answer

How can prometheus start reporting on path params as well?

Background: We have an application which acts as a gateway. Every URL served by the platform goes through this. URI is /v2/{endPoint}. With endpoint, there are mappings to hit the services URL accordingly. All our applications are spring-boot…
1 2 3 4
5