We don’t really have a means of a completely copying a measurement, but we do allow for re-selection of probes used for a previous measurement. In other words:
This is a lot easier, as
you simply have to modify the probes
value in
your POST request.
Say for example that your original measurement looked like this:
{
"definitions": [
{
"target": "example.com",
"af": 6,
"packets": 3,
"size": 48,
"description": "Ping measurement to example.com",
"interval": 240,
"resolve_on_probe": false,
"type": "ping"
}
],
"probes": [
{
"type": "area",
"value": "WW",
"requested": 50
}
],
"is_oneoff": false
}
Assuming that the old
measurement had id 123456789
, The
new one would be a near-copy save for the probes
section:
{
"definitions": [
{
"target": "example.com",
"af": 6,
"packets": 3,
"size": 48,
"description": "Ping measurement to example.com",
"interval": 240,
"resolve_on_probe": false,
"type": "ping"
}
],
"probes": [
{
"type": "msm",
"value": "123456789",
"requested": 50
}
],
"is_oneoff": false
}
Note however that like every measurement you create, there’s no way to guarantee that every probe you request will be available. Especially for one-offs, if the probe is down or overly busy, such selected probe(s) won’t be allocated to your measurement.