Skip to main content

New Relic Connector

New Relic New Relic is an observability platform for monitoring application and infrastructure performance. This component allows sending metrics, logs, and events to New Relic observability platform.

API Documentation​

This component was built using the New Relic API.

Connections​

API Key​

Authenticate requests to New Relic using an API key.

After obtaining an API key from the New Relic Account Settings, the New Relic API key can be put directly into a New Relic connection.

InputCommentsDefault
API KeyProvide the API key from the developer console.
RegionSelect the New Relic data center region for the account.US

Actions​

Raw Request​

Send raw HTTP request to New Relic.

InputCommentsDefault
ConnectionThe New Relic connection to use.
Base URLThe base URL for the New Relic API.https://api.newrelic.com/v2
URLInput the path only (/labels.json). The base URL is already included (https://api.newrelic.com/v2). For example, to connect to https://api.newrelic.com/v2/labels.json, only /labels.json is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Send Detailed Logs​

Use the Log API to send a detailed log using a custom request body to New Relic.

InputCommentsDefault
MessageA JSON object containing the message of logs to send.
ConnectionThe New Relic connection to use.

Send Event Data​

Use the Event API to send custom event data to New Relic.

InputCommentsDefault
Event TypeThe event type name used to categorize the event in NRDB. Allowed characters: alphanumeric, underscores, and colons.
Additional AttributesKey-value pairs to include in the request body.
Account IDThe unique identifier of the New Relic Insights account.
ConnectionThe New Relic connection to use.

Send Logs​

Use the Log API to send log data to New Relic.

InputCommentsDefault
MessageA JSON string containing the message of logs to send.
TimestampA valid UNIX timestamp to be passed alongside the logs.
ConnectionThe New Relic connection to use.

Send Metric Data​

Use the Metric API to send custom metrics to New Relic.

InputCommentsDefault
Metric NameThe name of the metric to report.
Metric TypeThe type of metric to report. See metric data types for details.
Metric ValueThe numeric value to report for the metric.
AttributesA map of key-value pairs associated with this specific metric. Values can be strings, JSON numbers, or booleans. Keys are case-sensitive and must be less than 255 characters.
TimestampA valid UNIX timestamp to be passed alongside the logs.
ConnectionThe New Relic connection to use.