Monaco doesn't support Synthetic API v2, but you can configure Synthetic monitors API v2 via the Settings API.
To use Synthetic API v2, you need a token that has at least following permissions:
settings.write
)settings.read
)DataExport
)Definitions of network availability monitoring (NAM) are covered by the following schemas:
The easiest way to create a new NAM configuration is to create it on the environment, get its configuration by downloading settings, and filtering for the settings you need.
List the required configuration in the config.yaml
file. Each configuration needs to be in a separate JSON file. The following is an example (where values under config/template
need to point to your specific configuration):
configs:- id: NAM-configconfig:template: monitor-config.jsontype:settings:schema: builtin:synthetic.multiprotocol.configscope: MULTIPROTOCOL_MONITOR-D48EB7B8D7BC7B71- id: NAM-nameconfig:template: monitor-name.jsontype:settings:schema: builtin:synthetic.multiprotocol.namescope: MULTIPROTOCOL_MONITOR-D48EB7B8D7BC7B71- id: NAM-outageconfig:template: monitor-outage.jsontype:settings:schema: builtin:synthetic.multiprotocol.outage-handlingscope: MULTIPROTOCOL_MONITOR-D48EB7B8D7BC7B71- id: NAM-thresholdsconfig:template: monitor-thresholds.jsontype:settings:schema: builtin:synthetic.multiprotocol.performance-thresholdsscope: MULTIPROTOCOL_MONITOR-D48EB7B8D7BC7B71- id: NAM-schedulingconfig:template: monitor-scheduling.jsontype:settings:schema: builtin:synthetic.multiprotocol.schedulingscope: MULTIPROTOCOL_MONITOR-D48EB7B8D7BC7B71