Agent configuration and payload specification
This page describes the configuration parameters of the Insight Agent, as well as the specifications of the payload that the agents send the Insight Collector for reporting.
Agent configuration
The agent supports the following configuration parameters:
Name | Type | Description | Example |
---|---|---|---|
collectorURL | String | Endpoint of the NAGRA Insight Collector service | |
operatorId | String | Operator token, secret used to identify the tenants | “abcXYZ123" |
appName | String | Name of the application | “My Video Player" |
appVersion | String | Version of the application | “1.0" |
deviceType | String | Type of device (handheld, desktop, stb) | “handheld" |
samplingInterval | Integer | Number of seconds between each metrics sample. | 30 |
reportingInterval | Integer | Number of seconds between each report that submits a collection of samples. (The actual reporting time should include a +-10% random jitter) | 300 |
Payloads
There are two types of payload that the Insight Agent sends to the collector. Each of them is sent to a different API endpoint and are defined below:
Playback Metrics
Playback Events
API specification document
The direct use of our API is strongly discouraged as it might change anytime without notice. You should use our agents (i.e. SDK) as they are actively maintained and provide a stable API as well as other desirable features such as data quality checks.