Giter VIP home page Giter VIP logo

alert_manager's People

Contributors

anurag619 avatar awi2004 avatar deshraj avatar devty1023 avatar dminor avatar gautamanghore avatar jamonation avatar jmaher avatar kaustabh avatar mikeling avatar mishravikas avatar parkouss avatar pbaisla avatar projjol avatar sambuddhabasu avatar sashakruglov avatar tb123 avatar theharshest avatar vaibhavmagarwal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alert_manager's Issues

server.py: default display to 2 months of data

right now we pull all data, we should default to 2 months (60 days). that will make queries faster and the UI more usable.

For filtering, we should stick to this as well, but if we do that, we need a method to adjust the time range we are looking at. (another option in the topnav bar possilbly

add ability to search by platform

I would like to ability to filter the results by platform, with 2 ways to view it:

  1. url parameter: &platform=linux64
  2. a top line search filter- this doesn't exist, so we would need to add a static div at the top that would have filters for available platforms (with the current one selected). Upon selection it would filter the UI

[backend] - poll bugzilla bugs and mark ones that are resolved

when a bugzilla bug is resolved it would be nice to go in and verify it is and mark the alert as resolved/fixed. This would be easier if we could detect this automatically, here is a general workflow:

  1. create a python script that queries all bugs from the database where the status = 'investigating'
  2. in this script use the bugzilla api to query the status of each bug
  3. build a 'conflict' list of all bugs that are resolved
  4. create a field in the alert table that we can use as a flag for bug_conflict- set that to true for all alerts that have a bug in the conflict list

[ui][alert.html] - for all bugs in the conflict state, show a red ! in the UI

I would like to have a simple visible method to view all bugs in the conflict state (where the bug is resolved in the bug database, but not in the alert table).

We could add a red ! and/or mark the entire bug in a red or increased font :)

Ideally I would like a new page or a way to query just the conflict bug/alerts so I can go through and clean them up on a regular basis.

[ui][alert.html] - reorganize the UI and put tools in a more compact list

right now the UI is layed out from left to right:
date, branch, test, platform, percent, graphurl, changeset, tbplurl, bug,status

I would like to see, graphurl, changeset, tbplurl stacked on top of each other so we don't take up so much horizontal space. Right now we take up 2 lines of text with wrapping of the test name, this would take up 3 lines of text.

add ability to search by testname

it would be great to search by test name as well, 2 ways:

  1. url param: &testname=tp5o
  2. drop down selection in the search field- this wouuld be a static div at the top of the page with the current test selected and when a new one is selected we would reload the page with the new filtered tests.

this should work in conjunction with other parameters:
&rev=xyz&platform=linux64&testname=tp5o

Problem with View/Hide merged alerts

Currently view and Hide merged alerts is implemented in such a way that if you click on hide merge alerts after viewing them it does not hide and if again you click on view alerts it shows them again thus creating multiple copies as you keep on repeating the process

[ui][alert.html] - add the ability to change bug number after entering it

when there is no bug, we have a link 'add bug #', that when you click it an add bug form is popped up to enter a bug. Once this is done, there is no way to change that.

Sometimes we close a bug as a duplicate and it would be nice to make this easier to change. One thought is a little + sign next to the bug number (hyperlink) which would pop open the add bug form.

[setup] - create a docker image for testing locally

we can use the public data and hack on the UI easily- but if we want to work on the server or parsing, we need raw data or a workable server.

We should create a docker image/script so we can setup the webserver, config, database, clone the repo, and test that we can get http://localhost/data/alertsbyrev to print out some data.

we should include some sample data as well :)

parse_news.py: [backend] for a suspect build, ensure we have builds for the changeset before it

many times we find a regression that is for a specific revision. unfortunately we don't have data for changesets prior, sometimes 3 or 4 changesets.

There are 2 things to sort out here:

  1. we didn't do the platform build
  2. we did the build, but didn't run the perf test

For item #1, we don't build desktop builds for android only (*.java) changes. Likewise some b2g specific changes or test-only changes.

This is why I don't want it to be automatic, but I would like to have a one click button to bring me to a way to launch a build if it is missing. If we do a build, most likely we will run the talos test that was missing. Also in this case we need to context switch out for 3-5 hours until the build is done (pgo takes even longer).

For item #2, we can easily trigger the talos job that wasn't run.

Lastly to reduce the effect of noise, I always do 3 retriggers of each job (2 prior, the suspect changeset, 1 after).

Here is a reference to the arbitrary build scheduler:
http://johnzeller.com/blog/2014/03/12/triggering-of-arbitrary-buildstests-is-now-possible/

Ideally this would be a single click button so we could sanity check we are doing the right thing before scheduling a bunch of jobs.

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.