GithubHelp home page GithubHelp logo

Comments (1)

jonatan-ivanov avatar jonatan-ivanov commented on July 18, 2024 1

Thanks for the issue.

But I found micrometer-registry-prometheus is not include io.prometheus:prometheus-metrics-exporter-httpserver.

This is why the docs says exactly which dependency and class you need.
Micrometer does not depend on io.prometheus:prometheus-metrics-exporter-httpserver because users can make the Prometheus output public in various ways. They probably use a framework which takes care about this concern. People who still need that dependency, can add it.

So the doc could be

I think I would phrase this as "which you can find in io.prometheus:prometheus-metrics-exporter-httpserver (you need to add it as a dependency if you want to use it)...".
Do you want to open a PR? You can find the file here: prometheus.adoc. If so, please open it against the 1.13.x branch.

Meanwhile I found i have to align the version bewteen micrometer-registry-prometheus and prometheus-metrics-exporter-httpserver.

This is something that we can fix on the Prometheus Client side. If the Prometheus Client could publish a BOM, Micrometer could use that so when you bring in a Prometheus dependency, you don't need to define it's version since it is already defined in the BOM.
(You can open an issue here if you want.)

from micrometer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.