Giter Site home page Giter Site logo

Comments (4)

bhardgrove avatar bhardgrove commented on August 16, 2024

I use NWM to keep track of both packet loss and latency. I use a link with latency as the inbound value and packet loss as the outbound value. I can then use a scale and alarm based on packet loss percent.

I am using elasticsearch as a backend and had to write a datasource plugin to connect weathermaps to elasticsearch.

from network-weathermap.

jlixfeld avatar jlixfeld commented on August 16, 2024

Interesting approach. So then the latency and loss links are really just pseudo links connected to a fake node that is essentially a placeholder for the latency and loss links? (My understanding is that a link must connect two nodes).

from network-weathermap.

howardjones avatar howardjones commented on August 16, 2024

To answer your original question though, you can do this with nodes too. You can add a maximum value, and assign a scale, and a target, just as with links. Nodes only have one colourable element though, instead of two arrows, so you have to pick which of the 'in' and 'out' values to use. Because it shares almost all the code with links, you do still need to specify an in and out target though.

from network-weathermap.

howardjones avatar howardjones commented on August 16, 2024

Also, with a little more trickery you can do things like have the icon change - either change colour, or change for a different image file.

from network-weathermap.

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.