Let’s take a look at your questions one at a time.
Does this big news applies to both US & EU region?
Yes, it applies to all New Relic customers, regardless of region.
Are infra metrics alerts conditions are also moving to NRQL?
Yes, all non-NRQL condition types will be retired in favor of NRQL conditions.
Will these be replaced automatically in NRQL during migration by NR OR should I start writing them from scratch using NRQL conditions in Terraform and delete existing general and infra metrics monitoring AWS resources currently?
Our plan right now is to have an in-UI migration tool (for migrating conditions one-at-a-time) as well as a bulk migration tool, so that you have a couple of options to migrate these through the UI. We also have, already available, an in-UI Terraform script generator for NRQL alert conditions, so that once you have used the UI to perform a migration on a condition, you can look and see the pattern in Terraform and adjust your script.
In short, if you start switching over to using NRQL conditions right now, you will save yourself some work in the future. However, we will certainly have helper tools when the time comes.
I attempted to import Infra metrics condition in NRQL declared resource and it doesn’t allow me to import and reports resource doesn’t exist however with infra metrics resource declaration I can do this. Is there some mechanism to import Infra metrics conditions in NRQL conditions without writing fresh resources in Terraform if it has be done by customer?
It sounds like you’re trying to directly copy your Infra condition configurations into NRQL conditions, which you wouldn’t be able to do; they’re different APIs and expect different formats. Let me know if I’m reading the question wrong.
If I’m reading it right, once we have migration tools in place (I mentioned these above), you will be able to do a migration, grab the Terraform script from the NRQL condition, and then not save the change, but instead update your Terraform script.
You may want to contact your account team with this question, as they may have further suggestions based on your individual configuration.
How to get the condition ID for Infra metric conditions in NewRelic UI ? This is more of general question because I have to do API call to get the same.
That is a great question! Infrastructure conditions do not display their condition ID in the UI, so you have to do a little more to find that out.
Basically you have to load the condition with the network tab from the dev tools open, filter the network calls down to “alerts:condition”, and you’ll see it (here it’s 24983174):
I hope this helps!