You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are unable to use the migratesynthetics script to migrate most types of synthetics. This appears to be due to the fact that the script uses the synthetics REST API endpoint defined here. According to this documentation only supports synthetic creation using legacy synthetic agent versions.
Affected synthetic types we've come across are:
Scripted API
Scripted Browser
Simple Browser
Step Monitor
Ping synthetics appear to be unaffected
Steps to Reproduce
Create two separate NR accounts (A and B)
In account A, create one of the above synthetic types
Run the fetchmonitors script to fetch all monitors from account A - this will succeed
Run the migratemonitors script to migrate from account A to B (doesn't matter if you specify useLocal or not)
The migration fails
Expected Behavior
The monitor migrates successfully
Relevant Logs / Console output
We get the following log in logs/migration.log:
monitorsclient.py - ERROR - Error creating monitor <<monitor-name>>:{'status': 400, 'error': '{"errors":[{"error":"Monitor creation using legacy runtimes is not allowed as of August 26, 2024. Please refer to https://docs.newrelic.com/whats-new/2024/06/whats-new-06-26-eol-synthetics-runtime-cpm/"}],"count":1}'}
Your Environment
Not relevant to the issue.
Additional context
Per documentation, this issue would have started happening as of the 26th August. The monitors should now be created via the NerdGraph API instead.
The text was updated successfully, but these errors were encountered:
Description
We are unable to use the migratesynthetics script to migrate most types of synthetics. This appears to be due to the fact that the script uses the synthetics REST API endpoint defined here. According to this documentation only supports synthetic creation using legacy synthetic agent versions.
Affected synthetic types we've come across are:
Ping synthetics appear to be unaffected
Steps to Reproduce
Expected Behavior
The monitor migrates successfully
Relevant Logs / Console output
We get the following log in
logs/migration.log
:Your Environment
Not relevant to the issue.
Additional context
Per documentation, this issue would have started happening as of the 26th August. The monitors should now be created via the NerdGraph API instead.
The text was updated successfully, but these errors were encountered: