Git Product home page Git Product logo

traffic-spy's People

Contributors

allpurposename avatar rwarbelow avatar teresafinn avatar treyx avatar

Watchers

 avatar  avatar  avatar

traffic-spy's Issues

edit UserAgent model

UserAgent class needs to be wrapped in TrafficSpy module or to avoid naming conflicts

client is able to view URL specific data

As a client
When I visit: http://yourapplication:port/sources/IDENTIFIER/urls/RELATIVE/PATH
and that identifier DOES exist
and that relative AND that path exist
Then I should see longest response time
And I should see shortest response time
And I should see average response time
And I should see which HTTP verbs have been used
And I should see most popular referrers
And I should see most popular user agents

As a client
When I visit: http://yourapplication:port/sources/IDENTIFIER/urls/RELATIVE/PATH
and that identifier DOES NOT exists
Then I should see a message that the url has not been requested

Create all views.erb

Go through traffic spy on jumpstart labs to figure out which views we require, then create them with simple html insides.

Client is able to view event details

As a client
When I visit http://yourapplication:port/sources/IDENTIFIER/events/EVENTNAME
And an event has been defined
Then I should see a page that displays an hour by hour breakdown of when the event was received (number shown at noon,1pm, 2pm, etc, for all 24 hours)
And I should see how many times it was received overall

When I visit http://yourapplication:port/sources/IDENTIFIER/events/EVENTNAME
And the event has not been defined
Then I should see a page displaying a message that no event with the given name has been defined
And I should see a hyperlink to the application events index

A client is able to view aggregate site data

As a client
When I visit http://yourapplication:port/sources/IDENTIFIER
And that identifer exists
Then I should see a page that displays the most requested URLS to least requested URLS (url)
And I should see a web browser breakdown across all requests (userAgent)
And I should see an OS breakdown across all requests (userAgent)
And I should see Screen Resolutions across all requests (resolutionWidth x resolutionHeight)
And I should see a Longest, average response time per URL to shortest, average response time per URL
And I should see a Hyperlinks of each url to view url specific data
And I should see a Hyperlink to view aggregate event data

As a client
When I visit http://yourapplication:port/sources/IDENTIFIER
And the identifier does not exist
Then I should see a "Some notification message"

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.