How to apply custom UI instrumentation using REST API

how to apply custom UI instrumentation using rest api

Hi, @himanshu.jain: I do not think it is possible to use a REST API to apply custom instrumentation. Which New Relic APM agent(s) are you using?

Java Agent, we faced a situation where on lower environment custom UI instrumentation was different than on production and due to this we want this to be part of CI - CD process

I think the best solution may be to implement custom instrumentation as an XML file, which you may then check into source control and deploy with your application: Java instrumentation by XML | New Relic Documentation.