Giter Club home page Giter Club logo

Comments (2)

prymitive avatar prymitive commented on August 26, 2024

There is alert status in prometheus, possible values are unprocessed, 'active' and suppressed, unsee uses that to color alerts, I'm not very keep on adding more colors or different rendering modes based on some additional alert sub-status (e.g. a warning would be "active, but less active than others").
Sorting is an option, but that depends on how you group alerts, to get any proper sorting your grouping would need to include severity label (or whatever someone chooses to use), so that severity is a property of a group and we can sort groups.
But then https://masonry.desandro.com (which is used for alert grid rendering) would need to support, which doesn't seem the case.
It's doable but a bit vague how should that work. You can always color any label and/or filter based on that, so if there's a lot alerts and you want only those with severity=critical than you can get those in the UI.

from unsee.

lebinh avatar lebinh commented on August 26, 2024

I agree that we probably don't need more color in unsee, it's the most colorful on my desktop already (although I feel the different label colors aren't very useful). I guess a severity label would be enough to differentiate to some extend.

However, filtering is different from sorting though. Constantly changing the filter is more work compare to just set a default ordering and be comfortable that I won't miss an important alert, especially when there are a lot of others. Also that'd save sometime when looking for an alert to work on, just look at the top (instead of going up and down looking for what is the next important thing to fix).

Even if the grid framework doesn't support we can use some hack like remove + sort + append again? Assume the performance won't be too terrible and we don't have to do that too often.

from unsee.

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.