Git Product home page Git Product logo

Comments (4)

nhjjr avatar nhjjr commented on August 15, 2024

Can this new build include a name change for ping_loss_percent to ping_loss_ratio as mentioned in #22 to consolidate metric name changes?

from ping_exporter.

czerwonk avatar czerwonk commented on August 15, 2024

Totally agree. I will trigger a new build today

from ping_exporter.

aqw avatar aqw commented on August 15, 2024

It looks like 0.4.8 has been tagged and built. So in that sense, this is done.

However, if I may suggest: I agree with @nhjjreuter that changing the metric names all at once makes sense. Perhaps it would be good to address #22 (and perhaps also #60) and then bump the version to signify the breaking changes (to 0.5.0 or 1.0.0).

Thoughts?

from ping_exporter.

foogod avatar foogod commented on August 15, 2024

That sounds like a good idea to me too, though I'd also say if we're going to be making breaking changes, I'd suggest also changing the units to report seconds by default (so that you need to use the command line option if you still want ms, instead of the other way around). That way the whole thing is fully consistent with Prometheus best practices by default..

So maybe change the metric name to packet_loss_ratio, change the default to seconds, address the bug in #60, and then put out the result as 1.0.0 (to make it clear it's changing a bunch of stuff people might be relying on)?

(I would also say that if we're making a major version bump it would be nice to get PR #59 included as well, but that's currently blocked on upstream changes anyway, so I'm not sure it should hold up everything else..)

Since I've been hacking on this stuff recently anyway, I can put together a quick PR for all of the above, if you want.

from ping_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.