eleddy / collective_stats_logviewer Goto Github PK
View Code? Open in Web Editor NEWPyramid application to gather data from a log that has collective.stats enabled and display meaningful information from it (Noisebridge Advanced Python Class)
Pyramid application to gather data from a log that has collective.stats enabled and display meaningful information from it (Noisebridge Advanced Python Class)
For each url, there is one main stat that is displayed. Under Slow Pages it's average rendering time, Server Chokers it's total server time, and Memory Hogs it's percent of memory used. We want to color code those values depending on how severe they are.
eg, if a url has an average rendering time greater than 10 seconds, it should be red, between 5-10, orange, and between 1.5-5, yellow. These are just arbitrary thresholds and colors, but you get the idea.
We'll need to assign css classes which will change the color of the text (we may already have some we can use as part of the bootstrap library), and then use jquery to check the value of that stat, and add a class as necessary.
/cc @teddymcw, @pitonisaX, @plesf
Right now when a user clicks a link to reveal more details about a url, it sends an ajax request to the server and populates detailed information about that url based off of information it receives back. The problem is that if the user clicks that link again to collapse those details, another ajax request is sent. If they click it again to see those details, ANOTHER ajax request is sent. Really, we only need to have one sent the first time. We should find a way to prevent subsequent ajax calls after the first one.
/cc @teddymcw, @pitonisaX, @plesf
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.