mediainbox / sm-topline-stats

Quickly pull top-line metrics about StreamMachine listening

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sm-topline-stats

sm-topline-stats is a utility to assist in pulling aggregated streaming metrics from a StreamMachine analytics installation.

Installation

npm install sm-topline-stats

Metrics

Currently, sm-topline-stats supports:

  • Sessions: Total number of sessions that were active during the period.
  • Cume (Unique IPs): Number of unique IP addresses that listened during the period. This will both undercount and overcount unique listeners (undercount offices and overcount mobile users), but is widely used in the industry regardless.
  • TLH: Total Listening Hours. The sum of all duration sent during the period, converted to hours.

All stats only count sessions that have been active for at least one minute.

About

Quickly pull top-line metrics about StreamMachine listening

License:MIT License


Languages

Language:CoffeeScript 92.6%Language:Dockerfile 3.7%Language:JavaScript 2.1%Language:Shell 1.5%