Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

APM Custom Instrumentation

apm
javaagent

#1

Quick query on Custom Instrumentation:

We are a creating a custom Instrumentation, we are facing a issue here.

Error:

The class LinkCreate does not match a loaded class in the JVM. Either the class has not been loaded yet or it does not exist.

Our functionlity will call this class name LinkCreate .

Have anyone faced this before ?

Regards
Moses


#2

Heya @moses.arock

The class has to be loaded and called within the JVM to be instrumented with the Custom Instrumentation Editor. Does LinkCreate show up in a thread profile?


#3

Hi, @moses.arock: Make sure you specify the fully-qualified class name in the XML file or custom instrumentation editor:

com.domain.blahblah.LinkCreate.methodName

#4

Thanks @philweber and @jfalleur, I will give a try and post here If I am able to progress.


#5

Thanks @moses.arock - I look forward to hear how that goes. :slight_smile:


#6

@RyanVeitch @philweber @jfalleur

I tried to give the fully qualified class name and still i have same issue.

Regards


#7

Hi @moses.arock, have you attempted using the Custom Instrumentation UI to try and accomplish what you’re after? It might be worth a look, to help you get the XML files defined correctly for your methods.

This may help highlight the method name our agent sees for your class method, which you could then copy/paste into your XML file.

Let us know if this approach won’t work for your use-case!

Best!
~ @jlangdon