Server needs to report the number of calls successful daily

RESOLVED FIXED

Status

Cloud Services
Operations: Metrics/Monitoring
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: RT, Assigned: whd)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

User Story

As a product manager I want to know daily the number of calls being successful so that I know how the service gets used.  

A call means:
* Call is initiated on one end and accepted on the other end
* Websocket set-up on both ends
* We can't detect bi-directionnal media so this is not required to qualify a call as being succesful.
Comment hidden (empty)
Katie, we would need to know what is the info you need to get logged here in order to get these stats out?
Flags: needinfo?(kparlante)

Comment 2

3 years ago
We should be able to report this with the websocket.summary log data. It would be good to confirm that the data is right and we're currently logging all setup successes (https://bugzilla.mozilla.org/show_bug.cgi?id=1071244). That said, nothing is blocking us from working on the machinery to add this to the dashboard now.

I'll take the bug and move it to Mozilla Services ::
Operations / Metrics along with the other similar bugs.
Assignee: nobody → kparlante
Component: Server → Operations: Metrics/Monitoring
Flags: needinfo?(kparlante)
Product: Loop → Mozilla Services

Updated

3 years ago
Blocks: 1036059

Comment 3

3 years ago
:whd, handing this off to you to generate the json

- daily_call_success.json (or similar)
- no segmentation
- count Type=websocket.summary AND state=connected (per day)
Assignee: kparlante → whd

Comment 4

3 years ago
Alexis, if we're counting successful call setups, and we see one callId twice (or more) in the websocket.summary logs (with a successful state), does that count as one call or two calls?
Flags: needinfo?(alexis+bugs)
This should count as one call.

CallIDs are unique for each calls, and you can have multiple calls from a call url token.
Flags: needinfo?(alexis+bugs)

Comment 6

3 years ago
So, updated requirements for whd:

- daily_call_success.json (or similar)
- no segmentation
- count Type=websocket.summary AND state=connected (per day)
- count unique callIds

Comment 7

3 years ago
Closing, this is being reported in the dashboard: https://metrics.services.mozilla.com/loop-server-dashboard/#DAILY%20CALLS
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.