For REST API requirements for synthetics, see Use the API.
Synthetic monitoring attributes
Here are the attributes that can be used when creating and managing monitors with the Synthetics REST API:
Synthetics API attribute | Definition |
---|---|
| String: The version number. |
| Integer: The number of monitors returned. |
| Array of strings: Email addresses for alert notifications with New Relic. |
| Integer: Number of minutes between checks. Valid values include 1, 5, 15, 30, 60, 360, 720, and 1440. |
| The UUID for the specific synthetic monitor. |
| Array of strings: Array of locations by full label. |
| String: The monitor's name. |
| String: The |
| String: The BASE64 encoded text for scripted monitors. |
| Double: Value for the Synthetics SLA report, in seconds. |
| String: Valid values include |
| String: Type of monitor. Valid values include:
|
| String: The URI for |
| Integer: The specific user ID. |
| Object: options for
|
Specific monitor endpoint
When making REST API calls for a specific monitor, include the monitor_uuid
as part of the endpoint. The monitor_uuid
is the GUID which is part of the URL. For example, a selected synthetic monitor has this URL:
https://synthetics.newrelic.com/accounts/nnnn/monitors/ab123-c456d-e78-90123-f45g
The monitor_uuid
is the value that follows /monitors/
.
For more help
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's and and documentation.