Giter Site home page Giter Site logo

Comments (9)

sysulq avatar sysulq commented on May 27, 2024 4

I got it, and will fix it ASAP, thanks for reporting!

from nginx-vts-exporter.

towolf avatar towolf commented on May 27, 2024

@virtualroot Could you verify this?

from nginx-vts-exporter.

towolf avatar towolf commented on May 27, 2024

Here's a visual:
image

from nginx-vts-exporter.

hadret avatar hadret commented on May 27, 2024

I went through the code and to my limited understanding, these are quite simple counters. I'm not sure where the problem lies and whether it is actual problem, but please let me know @towolf do you agree with the following:

  1. All of the requests (total, 1xx, 2xx etc.) are counters (i.e. they only grow over time).
  2. Initial counter should equal number provided and observed in vts (i.e. not zero or random number).
  3. Counter should be updated as per value provided by vts we changed over time.

In my observation, the last point is not "entirely" true. Counters are updated, but they differ from what I can see in vts. I cannot tell whether the problem is with my logic (as in: my expectations are not matching reality) or is it a broken software or maybe broken implementation.

@hnlq715 would you be so kind and find some spare moment to have a quick look onto the aforementioned PR #60 -- maybe it's some small omission/gotcha.

from nginx-vts-exporter.

towolf avatar towolf commented on May 27, 2024

The values are cumulated and that is wrong. They should be added.

It's also visible here, the total should match:

image

from nginx-vts-exporter.

sysulq avatar sysulq commented on May 27, 2024

@towolf
please check v0.10.3

from nginx-vts-exporter.

hadret avatar hadret commented on May 27, 2024

@towolf & @hnlq715 many thanks you guys!

from nginx-vts-exporter.

towolf avatar towolf commented on May 27, 2024

@hnlq715 confirmed fixed, the numbers agree now. Thanks!

from nginx-vts-exporter.

sysulq avatar sysulq commented on May 27, 2024

nice

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.