Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

Issue with Casting `TraceContext` in `micrometer-tracing-test` Library

Description: I am encountering an issue while working with the micrometer-tracing-test library in a Java project. Map<String, String> baggageFromParent = ((SimpleTraceContext) context)....
Jagdish Raika's user avatar
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
1 vote
1 answer
29 views

Observability with java spring boot actuator and micrometer annotation @Counted is ignored while @Timed works fine

Following documents and examples I try to implement @Counted and @Timed annotation based observability, basing on spring boot actuator, micrometer. There are no build or run errors. a method in the ...
Gil Shapir's user avatar
0 votes
1 answer
39 views

Get both metrics and traces in Mongodb in Spring

I followed the Spring's documentation to see traces in Mongodb by adding the bean @Bean MongoClientSettingsBuilderCustomizer mongoMetricsSynchronousContextProvider(ObservationRegistry registry) { ...
2shar's user avatar
  • 111
-1 votes
1 answer
48 views

What is the simplest way to add corellationId to logging.pattern.console?

Initially I had such logging configuration in my spring boot 3.4 app: logging: ... pattern: file: "%d [%thread] %-5level %-50logger{40}- %n" console: "%d [%thread]%-...
gstackoverflow's user avatar
2 votes
2 answers
100 views

Spring boot 3.4+ webclient reactive depracated metrics filter alternative

I have spring boot 3.4+ reactive webflux app we have been using below config to get prometheus metrics (Spring Boot 2.x) private ExchangeFilterFunction metricsWebClientFilterFunction(String name) {...
donm's user avatar
  • 1,230
0 votes
1 answer
28 views

How to replace ZipkinSpanExporter to my Own in spring boot application?

I have an application based on spring boot 3.4 I have application.properties with lines: management.tracing.sampling.probability=1 management.zipkin.tracing.export.enabled=false and dependencies: // ...
gstackoverflow's user avatar
0 votes
1 answer
38 views

How to propagate micrometer traces to Ldap server using unboundId sdk?

Based on official spring boot documentation Propagating Traces To automatically propagate traces over the network, use the auto-configured RestTemplateBuilder, RestClient.Builder or WebClient.Builder ...
gstackoverflow's user avatar
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
13 views

How to set micrometer prometheus response content

I use latest quarkus-micrometer-registry-prometheus library 1.14.4 expose the default metrics. But our company service collect metrics by text/plain context. Collector send request without any header, ...
Weever's user avatar
  • 25
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

15 30 50 per page
1
2 3 4 5
50