Git Product home page Git Product logo

Comments (9)

sysulq avatar sysulq commented on September 13, 2024

nginx-vts-exporter does not support multiple instances right now. You need to run one exporter per nginx instance.

from nginx-vts-exporter.

bsushant-athena avatar bsushant-athena commented on September 13, 2024

In my case I have two instances of nginx and on top of that we have load balancer which chooses the nginx instance in round robin fashion so I can not hard code(id:port) or point to particular nginx instance. Then how do I add two separate nginx vts exporters for two instances of nginx?

from nginx-vts-exporter.

sysulq avatar sysulq commented on September 13, 2024

You should use exporter to connect nginx instance directly, instead of the load balancer.

from nginx-vts-exporter.

bsushant-athena avatar bsushant-athena commented on September 13, 2024

ok so to resolve this issue we have added nginx its exporter inside our nginx and now we get the required correct data.

from nginx-vts-exporter.

bsushant-athena avatar bsushant-athena commented on September 13, 2024

@hnlq715 One other question I've is , this module does not provide any uptime data but when I hit /status I could see the metrics there ; it is just exporter is not exposing . @hnlq715 can you take this as an enhancement ?

from nginx-vts-exporter.

sysulq avatar sysulq commented on September 13, 2024

yes, pull request is welcome:)

from nginx-vts-exporter.

bsushant-athena avatar bsushant-athena commented on September 13, 2024

I'm not familiar with go language , could you please do that and release a new version ? That will be really helpful :)

from nginx-vts-exporter.

sysulq avatar sysulq commented on September 13, 2024

No problem, I would take it into consideration. Thanks for your advise 😄
#29 also discussed this topic.

from nginx-vts-exporter.

sysulq avatar sysulq commented on September 13, 2024

Server info metrics added, and readme docs updated, please check the latest docker image.

from nginx-vts-exporter.

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.