The New Relic Roku agent is designed to monitor system and video events in Roku applications. It provides a comprehensive API for tracking various types of events, including system, video, error, ad, and custom events. This document outlines the API methods available for interacting with the New Relic Roku Agent.
API reference
If you want to... | Use this API |
---|---|
Initialize the agent. | |
Start system logging | |
Begin video logging. | |
Stop video logging. | |
Process system log messages. | |
Set a custom attribute for events. | |
Set a list of custom attributes. | |
Send an APP_STARTED event. | |
Send a SCENE_LOADED event. | |
Send a custom event. | |
Send a system event. | |
Send a video event. | |
Send an HTTP_REQUEST event. | |
Send an HTTP_RESPONSE event. | |
Enable HTTP events. | |
Disable HTTP events. | |
Set the harvest time for events and logs. | |
Set the harvest time for events. | |
Set the harvest time for logs. | |
Set the harvest time for metrics. | |
Force immediate event and log harvest. | |
Force immediate event harvest. | |
Force immediate log harvest. | |
Update the agent configuration. | |
Add a domain substitution pattern. | |
Delete a domain substitution pattern. | |
Record a log message. | |
Record a gauge metric. | |
Record a count metric. | |
Record a summary metric. | |
Set a user identifier. |