441 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
3
votes
1
answer
102
views
Spring Boot 4 Logging in via Oauth2 and Micrometer throws warnings
With Spring boot 4 and micrometer enabled when I login using Spring Security Oauth2, I get ~30 warnings per login with a sample below
2025年12月27日T13:10:37.772-05:00 WARN 27400 --- [ioEventLoop-5-1] [,...
6
votes
1
answer
164
views
No longer see trace/span IDs after upgrading to spring boot 4
After upgrading to Spring Boot 4 I don't see any span/trace ids in my logs where I used to
@GetMapping
fun hello(): String {
logger.info("Hello World!")
return "Hello World!&...
0
votes
1
answer
206
views
SpringBoot Reactive (Webclient) - TraceId not propagated to reactor?
I'm working on a Spring Boot application using Spring WebFlux with reactive WebClient and Micrometer for tracing. While tracing works correctly in the imperative (servlet) stack, the trace context (...
1
vote
0
answers
71
views
Spring boot kafka listener observation enrichment
I've a kafka based spring boot application (Micrometer + Otel) which consumes a lot of events from a lot of kafka topics and publishes its output on another set of kafka topics.
I want to enrich the ...
0
votes
1
answer
65
views
Spring Boot Actuator 'http.server.requests' metric MIN time
The actuator endpoint /actuator/metrics/http.server.requests can exhibit this informations:
{
"name": "http.server.requests",
"baseUnit": "seconds",
"...
0
votes
1
answer
250
views
micrometer tracing exporter autoconfiguration
Is there any autoconfiguration for OtlpGrpcSpanExporter? I see OpenTelemetryAutoConfiguration class in spring boot actuator but there's no autoconfiguration for exporter. Is it necessary to define a ...
0
votes
0
answers
139
views
Failed to send metrics to datadog: Payload too big
I'm using Micrometer 1.12.13 in a Spring Boot 3 project, with spring boot auto configured DatadogMeterRegistry to export metrics. My code looks like this:
MeterRegistry.counter("metric-name",...
1
vote
1
answer
197
views
how to use percentiles-histogram without risk of high cardinality and human-usable buckets?
I created my own advices in springboot 1 to monitor our apps, and only now try to learn what new versions of springboot offer(currently working with 3.3.1, but will move on to later version later), ...
-2
votes
1
answer
466
views
How to send metrics to Prometheus using Spring Boot 3.5, Micrometer, using Pushgateway, i.e. without scraping
I have a Spring Boot application that needs to send metrics to Prometheus, but I can't use the traditional scraping approach because my application runs in an environment where Prometheus can't reach ...
1
vote
1
answer
92
views
How can I get the start and stop times from an Observation which was run?
I have full control over an observation in my code:
Observation observation = Observation.createNotStarted("something", observationRegistry)
observation.observe(() -> doSomething(...
0
votes
1
answer
242
views
micrometer-registry-prometheus not showing exemplars
I would like to send metrics with exemplars using Spring Boot and Micrometer.
Part of the pom.xml:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId&...
1
vote
1
answer
264
views
Where can I find the place where Spring Boot kafka listener is setting the TraceId?
I'm searching for the file where Spring Boot Kafka listener is placing en deciding if the TraceId is collected from the header or it has to create a new one. I have debugged now for many hours but can'...
0
votes
1
answer
207
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 ...
-1
votes
1
answer
188
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 ...
-1
votes
1
answer
157
views
Spotbugs + Java: EI_EXPOSE_REP2 may expose internal representation by storing an externally mutable object into MyService.observationRegistry [closed]
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 {
...