Use Telemetry to report statistics from an IStats object
at a regular interval to a WebSocket or HTTP server.
Example
// Streamer statistics reporting to a websocket SSL server with a frequency of 1 second consttelemetry = newTelemetry('wss://address/metrics'); telemetry.report(newStreamerStats(streamer), 1);
Use Telemetry to report statistics from an IStats object at a regular interval to a WebSocket or HTTP server.
Example