Skip to main content

All Questions

0 votes
0 answers
32 views

Spring Boot Prometheus PushGatewayManager: Unable to push metrics due to SocketTimeoutException

I'm encountering an issue with my Spring Boot application where it fails to push metrics to Prometheus Pushgateway. The issue is happening intermettently The error message indicates a ...
Dhruv's user avatar
  • 43
0 votes
1 answer
598 views

sum(increase(my_metrics(...)[30m])).... not working in prometheus

I have configured a custom prometheus mertic named "my_metrics" in my code which is simply capturing a special failure condition of my API. After deployment, if I want to check what the ...
Sachin Mankotia's user avatar
0 votes
0 answers
291 views

How to capture any slf4j log.error() call in a Rest api using Prometheus metrics

I have a requirement that for a particular API*(which involves multiple classes and methods), if it fails due to any condition (there will be n number of conditions/validations in end to end API), I ...
Sachin Mankotia's user avatar
0 votes
0 answers
88 views

Spring boot : Prometheus query to get Number of Major garbage collections per min in last 10 mins

I have a requirement to get Number of Major garbage collections per min in last 10 mins, and if that number exceed 2, I need to generate alert manager alert. Based on online search, I think I need to ...
Sachin Mankotia's user avatar
0 votes
0 answers
379 views

http_client_requests_seconds_count metric giving random value after each refresh of /actuator/prometheus url

In my rest API, I am calling another API from another application. In order to capture total number of calls made from my API to that API, I am using http_client_requests_seconds_count metric under /...
Sachin Mankotia's user avatar
0 votes
1 answer
309 views

Push alerts from Prometheus/Grafana into DB

We are using Prometheus/Grafana with our Microservices, most of them are Spring Boot but not all. We are going to push some alerts (according configuration) to SQL DB. I know there are such ...
EK.'s user avatar
  • 2,968
0 votes
0 answers
312 views

How to monitor a spring boot app in a container docker

I have a prometheus which is up on a container on docker windows using docker desktop . I have a spring boot app which is on a container on docker in windows also . I won't to monitor the spring boot ...
Marouen Ghozzi's user avatar
0 votes
1 answer
847 views

Add endpoint as the receiver in the prometheus alert configuration

I am trying to activate my spring boot application endpoints with the alerts, for the required event that is defined in the alert rules of prometheus is broken, so that I want to add my application ...
Sowbharni's user avatar
0 votes
1 answer
355 views

How to properly create Prometheus metrics with unique field

I have a system that regularly downloads files and parses them. However, sometimes something might go wrong with the parsing and I have the task to create a Prometheus alert for when a certain file ...
user3240544's user avatar
2 votes
0 answers
575 views

Getting slow operation for GET /Actuator/Prometheus api

I have a spring boot actuator and grafana project but Prometheus execution is very slow and taking around10-15 second, is there any way to execute Prometheus in a millisecond. application.properties ...
Saurabh's user avatar
  • 51
1 vote
1 answer
2k views

How to find the processing time of Kafka messages?

I have an application running Kafka consumers and want to monitor the processing time of each message consumed from the topic. The application is a Spring boot application and exposes Kafka consumer ...
Vinod Kumar Payakat Venugopal's user avatar
1 vote
1 answer
2k views

Spring Boot application monitoring with Prometheus

We are working on the Monitoring and Alerting mechanism for Spring boot application hosted on the physical server. After some research, decided to go with Actuators - To monitor application in ...
Krupa's user avatar
  • 303