question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resilience4J metrics is not adding in to prometheus metric

See original GitHub issue

@RobWin Tried the following example, the only difference in the docker-compose configuration

    ports:
      - 9090:9090
    #network_mode: "host"

I see the resilience4J metric in actuator/metrics, however, I could not find in prometheus. Could you please let me know what is missing.

Screen Shot 2020-01-13 at 5 43 01 AM

Here is what I see in Prometheus metrics

Screen Shot 2020-01-13 at 5 45 18 AM

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Banashricommented, Apr 22, 2020

Is this issue solved?

0reactions
akarsh100commented, Jul 11, 2021

I figured it out…I checked the targets and my metrics target was down. I was getting this error https://github.com/prometheus/prometheus/issues/5196 I used the “produces = TEXT_PLAIN_VALUE” in my metrics endpoint to make it work. PS: I was using my own metrics endpoint and not the spring actuator one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Micrometer
Resilience4j provides a module for Micrometer which supports most popular monitoring systems like InfluxDB or Prometheus. The module expects that
Read more >
Integration of Resilience 4j and Prometheus
resilience4j -prometheus uses the Prometheus Java library and resilience4j-metrics uses Dropwizard Metrics. You should add resilience4j- ...
Read more >
Micrometer: Spring Boot 2's new application metrics collector
Micrometer is a dimensional-first metrics collection facade whose aim is to allow you to time, count, and gauge your code with a vendor ......
Read more >
Guide to Resilience4j
Learn how to use the most useful modules from the Resilience4j library to ... modules to our pom.xml (e.g. here we add the...
Read more >
Creating Monitoring Dashboards. Guidelines for developers
A typical metric could be the rate of non-2XX status code responses. ... Figure 2: Prometheus metrics exposed by Spring Boot Actuator.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found