scobal / seyren Goto Github PK
View Code? Open in Web Editor NEWAn alerting dashboard for Graphite
License: Other
An alerting dashboard for Graphite
License: Other
Allow us to alert on a check to a specific room on a specific server.
If graphite is unavailable we should make sure the UI shows us on every page
Might be nice to have the ability to disable alerts for a length of time (for maintenance etc.) and have them automatically turned back on.
We currently don't display the result of hitting a button (save, delete). Also - enabling and disabling, paging, etc,.
We should build in a generic feedback (positive and negative) framework into main-controller
When you add a subscription the subscriptions list should auto-update. It's coded to do this but it's not currently working (consistently)
To enable nice auto-updating and nicer display we should move the check editing from being in place to it's own modal form
Make it easy to disable notifications for a subscription
We should correctly handle the scenario where the lower a lower value indicates a worse situation
Call the state 'Exception'
I think it might be useful to create a concept of groups. As it currently stands we might end up with say 10-20 checks per service. If we added groups of checks we could make the checks more manageable through the ui. Something like:
We could even group them by naming convention......
As a user I want to be able to manually run a check through the ui
How about we add a small graph (similar to the ones on the check page) to the create check form?
This should help make sure a valid graphite target has been entered and also help to set the correct warn and error levels
Currently the first field in the form (name) doesn't get focus after clicking Create Check
Might be nice to have the ability to customize the title and colour of the thresholds. For example instead of just error and warn we could have fyi, wtf and omg.
I suppose we need to show any checks at WARN or ERROR (possibly along with their graphite graphs for sexy times)
Just like subscription on the check page but for checks on the checks page
Most important:
checks.html --> checks table
home.html --> warn and error tables
check.html --> subscriptions
Less important:
checks.html --> alerts table
We could be much more colourful on the home page, the checks page and the check page.
We should apply the check to each metric in the response and generate separate alerts.
Allow us to choose:
Day (e.g. checkboxes for Sun, Mon, Tue, Wed etc.)
Time (07:00 to 17:00 on)
Find a nice way to hide these forms away by default. Maybe a button "Create check" that opens a form...
@neilprosser any chance you fancy having a crack at this?
My basic idea would be to just run all the checks every 10 seconds (presuming that under ordinary use we wouldn't end up creating a huge amount of alerts). Do you think we need something more?
We should update the fromState field whenever:
At the moment the notification service will send a message to each subscriber when an alert is fired.
I'm not sure if we should store every alert when the state is the same but we probably shouldn't send notifications unless the state changes.
This will be useful, oui.
Currently we can just go to older or newer alerts.
We should do proper paging including page numbers, total results, oldest, newest, etc,.
Bootstrap modal for confirming check deletion and subscription deletion
Before we release we need to make the following configurable:
Mainly need for check.html but might also be needed for the front page
We should draw the target along with the warn and error levels on some graphs (maybe last hour, last day, last week?)
Or possibly grey them out.
In case we fire lots of alerts in a short space of time.
Maybe send 10 notifications then an email explaining that no more emails will be sent
Put as much detail as possibly into email notifications
I don't think we're going to need these as strings, lets go for floats
Currently we notify based on the previous state of the check but we really need to notify based on the previous state of the specific alert for the given target
If a check is firing alerts I'd like to be able to add notes to the check.
eg;
check-db-server-is-up - ERROR
MP - We're looking into it
A4J - Bon
It might be useful to put a message like "This check has no subscriptions" in place when there are no subscribers
We should do this every minute or so
Will be good to see what has happened along with what is happening
After our discussion earlier it might be cool to show people how to do alerting on waves:
timeshifted metrics
holt winters
I suspect this will be useful as a starting point for basic examples too
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.