Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
88 views

Propagate new micrometer tracing context to Reactor Mono

Processing the message from SQS - which has initial traceId in the message and wanted to use the same traceId while processing the message, but unable to reset the traceId in the tracing context. we ...
nmanandhan's user avatar
-1 votes
1 answer
49 views

Tracing per endpoint using Spring Boot and micrometer

I have a REST API which exposes two endpoints. Endpoint 1 is a low traffic, but mission critical. We need to trace everything from the controller layer all the way to the repository. Endpoint 2 has ...
PatPanda's user avatar
  • 5,094
-1 votes
1 answer
41 views

Spotbugs + Java: EI_EXPOSE_REP2 may expose internal representation by storing an externally mutable object into MyService.observationRegistry

Small question regarding a Spotbugs finding I am having a hard time fixing. In this super simple class: import io.micrometer.observation.ObservationRegistry; @Service public final class MyService { ...
PatPanda's user avatar
  • 5,094
0 votes
1 answer
42 views

Is there way to persist traces on a disk instead of sending them to Zipkin?

I have spring boot 3.4 application configured for metrics. I've added dependencies: implementation("io.micrometer:micrometer-tracing-bridge-otel") implementation("io....
gstackoverflow's user avatar
0 votes
1 answer
81 views

How to put argument values to traces of method annotated with @Observed

I have a method annotated with @Observed annotation: @Observed( name = "foo", contextualName = "foo", ) fun foo(arg1: String, arg2: Integer){...} When I go to Zipkin I see ...
gstackoverflow's user avatar
0 votes
0 answers
52 views

Spring Webflux + Micrometer: difference between .tap(Micrometer.observation(observationRegistry)) before and after the operation to measure

I would like to generate metrics (time) and traces for a reactive operation. Here is the reactive operation, very straightforward: @GetMapping("/question") Flux<String> ...
PatPanda's user avatar
  • 5,094
0 votes
0 answers
116 views

Spring Boot 3.4 ECS Logging and Micrometer Tracing Discrepancy

Environment Spring Boot 3.4 ECS Structured Logging (logging.structured.format.console=ecs) Micrometer Tracing with Brave (io.micrometer:micrometer-tracing-bridge-brave) Issue Description I've ...
Francisco Atradius's user avatar
0 votes
0 answers
88 views

Spring boot 3 with micrometer 1.4+, how to skip tracing but continue to report metrics

While upgrading to Spring boot 3.4 I'm struggling to figure out how to "only" skip tracing for certain uris/paths while continuing to report metrics. For some endpoints like actuators and ...
Micke's user avatar
  • 268
0 votes
0 answers
71 views

Intermittent Spring Boot micrometer failed to send metrics to elastic: premature EOF after Elastic 8.16 upgrade

I am using spring boot 3.3.6, looks like it is using micrometer-elastic-registry:1.13.6. I didn't see this errors until I upgrade Elastic from 8.11.4 to 8.16. There were no changes to anything else so ...
Xli's user avatar
  • 21
0 votes
0 answers
100 views

Custom WebClient Metrics Tag From The MDC

I am trying to add a custom tag to the http.client.requests WebClient metrics that are provided by Spring Boot. I have a value that I have placed in the MDC which I want to use for this custom tag. My ...
Tucker Mullens's user avatar
0 votes
0 answers
158 views

SpringBoot 3 application does not creating traceId and spanId when micrometer dependency is referred from another project

I'm trying to generate traceId and spanId in my application. However I've kept io.micrometer dependency in another common module (which does not have main). when I use common-modules jar in my ...
range121's user avatar
0 votes
1 answer
53 views

What is the difference between getAsyncExecutor and threadPoolTaskScheduler in Spring MVC ASyncConfigurer?

Could someone please tell me the difference between getAsyncExecutor and threadPoolTaskScheduler, as explained in the spring async-instrumentation document? I created the config below, as mentioned in ...
tuk's user avatar
  • 6,916
0 votes
1 answer
57 views

How to overwrite @TimedAspect from micrometer.core for WebFlux

TimedAspect catches errors by try/catch that doesn't work in Mono/Flux world. (success calls are okey) Or how i can fix, for catching errors in WebFlux + GraphQl with my own attributes in metrics (for ...
nick's user avatar
  • 1
0 votes
0 answers
130 views

Set new trace Id for each loop iteration instead of using existing trace id

I have a spring boot 3.1.x application with dependency on micrometer-tracing and micrometer-tracing-bridge-otel libraries. There is a service bean that sends multiple http requests to a different ...
RKodakandla's user avatar
  • 3,502
1 vote
0 answers
160 views

Configure Spring Boot to expose all Actuator endpoints on one port while serving Micrometer metrics on a different port

I'm working on a Spring Boot application where I want to achieve the following: All Actuator endpoints (like /actuator/health, /actuator/info, etc.) should be exposed on the default application port (...
Clarence's user avatar
  • 107

15 30 50 per page
1
2 3 4 5
14