Skip to main content
Filter by
Sorted by
Tagged with
Advice
3 votes
0 replies
84 views

I have a Spring Boot application running in Kubernetes. I’m trying to implement a graceful shutdown flow using a readiness probe: App receives SIGTERM. App should start returning 503 from /health so ...
Denis Stafichuk's user avatar
0 votes
2 answers
149 views

We're trying to verify that Micrometer runs on JDK 25, but when I try to build it (Mac OS, OpenJDK Runtime Environment Temurin-25.0.1+8), I get BUG! exception in phase 'semantic analysis' in source ...
jasondlee's user avatar
  • 296
1 vote
1 answer
84 views

We are running a Spring Cloud Stream (SCS) application (Spring Boot 3.5.6, SCS 4.3.0, Micrometer 1.15.4) with a Kafka Binder. It is a fairly huge system reading from 3 topics with 48 partitions ...
gira1's user avatar
  • 189
0 votes
1 answer
131 views

I wonder if it's possible to enable metrics for GC using GraalVM native-image in Spring Boot. When starting the container, I get: GC notifications will not be available because no ...
pixel's user avatar
  • 26.8k
0 votes
1 answer
60 views

The actuator endpoint /actuator/metrics/http.server.requests can exhibit this informations: { "name": "http.server.requests", "baseUnit": "seconds", "...
Figurinha's user avatar
  • 111
3 votes
1 answer
126 views

Context Java service in Kubernetes, multiple pods. Metrics exposed via Micrometer + Prometheus. Grafana dashboards use increase(...) and sum by (...) to count events in a time range. Counters are ...
user2989745's user avatar
0 votes
0 answers
35 views

I'm using an implementation of io.micrometer.core.instrument.binder.MeterBinder to bind a particular set of meters in my MeterRegistry. However, the objects that I'm metering can come and go during ...
Justin Bertram's user avatar
0 votes
0 answers
132 views

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",...
Tarik's user avatar
  • 1
0 votes
2 answers
361 views

I have a few Java applications that have working otel tracing implementations. The details of how this works is largely irrelevant (implemented using micrometer and spring-boot-actuator) but the point ...
Mak's user avatar
  • 21
0 votes
1 answer
48 views

I use micrometer + spring boot + prometheus to create, register and monitor the counters from the application, apart from counters we have timer and gauge. counter created inside application which has ...
user3917953's user avatar
-2 votes
1 answer
448 views

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 ...
PatPanda's user avatar
  • 5,478
0 votes
1 answer
127 views

The OTLP agent has a feature where you can add the values of request headers to a span as an attribute automatically through some configuration. How would you achieve this when using the tracing ...
Michael McFadyen's user avatar
1 vote
0 answers
105 views

I have a Camel Quarkus application, and I can successfully view the Camel metrics at http://localhost:8080/metrics. I’m using the Prometheus extension to expose the /metrics endpoint, and Micrometer ...
Haxed's user avatar
  • 2,937
1 vote
0 answers
54 views

I am using @Timed from micrometer-core on a few methods to capture the response time of methods in a very simple way like this - @Timed(percentiles = {0.50, 0.95, 0.99, 0.999}) It is a spring-boot ...
Abhinash Jha's user avatar
2 votes
1 answer
1k views

The Spring Boot 3.3 release notes mention: Spring Boot contains auto-configuration for simpleclient in a deprecated form which will be removed in Spring Boot 3.5.0. I would have expected the release ...
Robert Strauch's user avatar
1 vote
1 answer
86 views

I have full control over an observation in my code: Observation observation = Observation.createNotStarted("something", observationRegistry) observation.observe(() -> doSomething(...
vab2048's user avatar
  • 1,297
1 vote
1 answer
108 views

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
204 views

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
178 views

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,478
-1 votes
1 answer
148 views

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,478
1 vote
1 answer
103 views

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
1 vote
1 answer
93 views

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

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
272 views

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,270
0 votes
1 answer
68 views

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
58 views

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
81 views

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
117 views

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
1 vote
0 answers
121 views

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,478
0 votes
0 answers
33 views

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
214 views

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
217 views

I have many interfaces with @FeignClient annotations, and I provide name, url and config class parameters inside annotation. I got this libraries in my project: implementation("io.github....
Arseniy's user avatar
  • 11
0 votes
1 answer
162 views

Spring boot 3.4.2 with: io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter Managed by: mavenBom("io.opentelemetry:opentelemetry-bom:1.46.0") and mavenBom("io....
bir's user avatar
  • 1
1 vote
1 answer
341 views

I am integrating my Spring Boot application to Kibana and followed these steps: JDK: 17 step-1: Adding elastic-apm-agent added elastic-apm-agent.jar(1.51.1) into dockerfile. And I see the APM on ...
S.Balaban's user avatar
  • 196
0 votes
0 answers
101 views

I created a dynatrace 14 day trial account I have a spring boot application spring.application.name=dynatrace-example management.endpoints.web.exposure.include=health, metrics management.dynatrace....
Kris Swat's user avatar
  • 1,094
0 votes
0 answers
121 views

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
1 vote
1 answer
991 views

My use case is fairly simple. I have a SpringBoot app that does nothing but expose one rest endpoint. The rest endpoint does nothing but call two other external services I have no control over. The ...
PatPanda's user avatar
  • 5,478
1 vote
1 answer
333 views

I'm triing to add monitoring to my Spring application. A added dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-...
Михаил Воробьев's user avatar
1 vote
1 answer
363 views

I have the following piece of code: @PostMapping("/question") public String question(@RequestBody List<String> messages) { try (ExecutorService executor = Executors....
PatPanda's user avatar
  • 5,478
0 votes
0 answers
71 views

I have many java applications and they have been instrumented with Micrometer(SpringBoot natively support it). They send metric to OTLP Mimir. I have a NodeJS application which I want to instrument ...
Arpit Agarwal's user avatar
0 votes
1 answer
48 views

I have the following Java code public void histogram(final String metricType, final Tags tags, final long startTime) { long responseTimeMillis = System.currentTimeMillis() - startTime; ...
curiousengineer's user avatar
1 vote
1 answer
141 views

I have the following Java snippet that I am using to publish histogram metrics public class MessageConsumer { private MeterRegistry meterRegistry; private NormalRandomGenerator ...
curiousengineer's user avatar
0 votes
0 answers
124 views

I have been working on a project implemented using Spring Boot 2.7.8. The WebSocket protocol was chosen to handle real-time messaging, and STOMP over WebSocket is used for effective client-server ...
Javad Malekzaseh's user avatar
0 votes
0 answers
123 views

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
  • 31
-1 votes
1 answer
84 views

Is it possible to propagate the tracing info to a file uploaded to AWS S3, or to an SFTP? This way, if somebody is polling from a directory, I want for him to be able to continue using the same ...
fergardi's user avatar
0 votes
0 answers
205 views

I have a Springboot 3.4 web service with micrometer The endpoint is straightforward, the controller accepts a list of messages to be sent to an external rest API I have no control over. The processing ...
PatPanda's user avatar
  • 5,478
0 votes
0 answers
104 views

I am working with Spring Observability and Micrometer. I am trying to capture some metadata for my spans, specifically the param keys and values. I know I can use the @Observed annotation but it looks ...
fatjojo's user avatar
  • 37
2 votes
0 answers
174 views

We have a Springboot 3.4 web service with micrometer, serving traffic for two clients. Client one, we are lucky, is also using Springboot 3+. Like magic, Springboot is able to "propagate", &...
PatPanda's user avatar
  • 5,478
0 votes
1 answer
1k views

The question originally came from the problem with metrics configuration for Spring Cloud Gateway, as there are no documentation neither on Micrometer nor Spring Cloud nor Spring side. When i enable ...
kairoslav's user avatar
0 votes
1 answer
102 views

We are using Wildfly 33 (jboss 7.1.0) and we have configured it to use micrometer. It now sends the metrics via an Open Telemetry collector to a prometheus instance. This works great but the problem ...
giZm0's user avatar
  • 1,511

1
2 3 4 5
15