newrelic-experimental/nr-account-migration

migrate-monitors : Private minions are not handled correctly. Allow specifying target location name for private minion.

Opened this issue · 3 comments

Summary

Description

Private minion location name end up being different in different accounts and the migration script is unable to find a matching private minion.

Steps to Reproduce

Create two accounts with different private minion names. Try to move to source monitor to target account. It will fail as same private minion location name is not found in target account

Expected Behavior

Source monitor should migrate to target account without errors.

Possible Solution

Allow passing a targetLocationName which should be used when monitor is created in target account

Additional context

The locationName is not the same as displayed in UI. A unique locationName_SomeNumber id is created for the private location.

This is available in a separate branch. Not merged as only 1 customer has asked for this.

Hello @adiosspandit ..I am running into an issue when attempitng this migration from one account to another for synthetics.
Probably a user error as I am new to python
I know this comment is not relevant here. Kindly let me know if you are willing to look into my issue so that I can provide more details.
Any help would be very highly appreciated