Code Monkey home page Code Monkey logo

Comments (6)

disjunction avatar disjunction commented on May 20, 2024

Hi. The /metrics path is excluded automatically, you don't need to do anything. Have you tested it?

from express-prom-bundle.

gmeher avatar gmeher commented on May 20, 2024

HI @disjunction, Thanks for your quick reply. @piks2252 and me works on same team.
please find the attachment, "/metrics" is retained in my data metrics and same is being scraped by Prometheus server, which is polluting our business/app APIs.
Screen Shot 05-11-2020 at 14 26
Screen Shot 05-11-2020 at 14 26 - 2

from express-prom-bundle.

disjunction avatar disjunction commented on May 20, 2024

I'm afraid it's due to the way you use the module or a potential conflict with multiple prom clients. Could you provide the how the prom-client and express-prom-bundle are defined in your project.json and also how you call promBundle() in your app?

from express-prom-bundle.

disjunction avatar disjunction commented on May 20, 2024

... and if you do anything directly with prom-client, please mention it too

from express-prom-bundle.

gmeher avatar gmeher commented on May 20, 2024

Hi @disjunction ,Thanks. we were running swagger-stats as well in our Application server.
after removing, it worked fine.
It would be better If you can mention in the readme, will be helpful for others.

from express-prom-bundle.

piks2252 avatar piks2252 commented on May 20, 2024

Thanks @disjunction for your support.

from express-prom-bundle.

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.