3scale/issues-test — Issue #329: Monitoring for enterprise (system)
Author: HakubJozak
Created: 2012-02-10 17:46:52+00:00
State: open

The part below is for the front-end part, but it require to coordinate.

Specific to the system part:

add telogical and telegraph data whenever is given to us (this week), telogical probably by monday. In the meantime:

add 3scale service management methods (report, authorize, authrep) for testing the whole thing

-----

Monitoring GUI
**************

1) On the provider side:

In 2nd level menu add API Monitor, this should only be visible with a switch that we control (yes/no)

Dashboard | ... | #{name company} Monitor

The Api Monitor views will only be reads. When in "Api Monitor" the 3rd level menu will be.

Overview | Methods | Events | Uptime | Response Time | Settings [1]

Note that "#{name company} Monitor" instead of "API Monitor" because eventaully, we want the providers to see the 3scale Monitor too.

+ 1 View Methods:
=================

(list of methods monitored by the API that are introduced to Api2ls by us)

(compact list)
Icon (current status) | "method name" (link to view by method) | "up since" | "events (link)" | "uptime (link)" | "reponse time (link)"

+ 1.1 View "events": equivalent to http://www.api2ls.com/apis/28-facebook --> but only for the events of the method
+ 1.2 View "uptime": equivalent to http://www.api2ls.com/apis/28-facebook/uptime --> only for the method, filter by dates like stats
+ 1.3 View "response time": equivalent to http://www.api2ls.com/apis/28-facebook/response_times --> only for the method, filter by dates like stats

(instead of a fixed image can we generate the plots like the stats?)

+ 2 View Events: (leave the events for last since they are not as critical as the other two)
================
View list of events for all the methods, sorted chronologically reverse, hence all the events for all the methods mixed.

Combo to select a particular method and that should be equivalent to the "View events 1.1"

+ 2 View Uptime:
================

Stats for the uptime of all methods at once, each method its own line. Filters by date and filters by method as done by top applications.

+ 3 View Response times:
========================

Stats for the response times of all methods at once, each method its own line. Filters by date and filters by method
as done by top applications.

The issue here is that response time depends on the source (US/EU/global) and also depends on the stages of a request (connect, total, etc.)

The plots should show the response times of all the methods selected (one line per method). The location and the stages of a requests are exclusive filters (the defaults all, and total time). The methods should not be exclusive (very similar to what we have to top applications)

+4 Settings:
=========

Checkbox: "Allow users to see API Monitor?" Yes/No

If yes => on the 2nd level menu on the buyer side the same should appear:

Dashboard | ... | #{name company} Monitor

If they go to #{name company} Api Monitor, they have the same 3rd level submenu that provider without the Settings options, since it does
not make sense.

Tasks

https://www.pivotaltracker.com/story/show/13685919