Splunk AppDynamics

IBM java agen

Ahmedkhalil
Communicator

Dears,

i am checking my agent BytecodeTransfomrer and found all of entries are mentioning 

Matching runtime class : no class match found 

is this normal Logs or there is some issues in my installation 

Labels (1)
0 Karma
1 Solution

Peter_Holditch
Builder

That's perfectly normal.  Tha agent logs the loading of al the classes in your application.  "no class match found" in the ByteCode log simply indicates that no rule was found that requires that the class named in the log entry be instrumented.

ie this:

[AD Thread-BCI Transform Processor0] 11 Jul 2017 10:16:44,785 Matching class name org/springframework/boot/SpringApplication Matching class bytecode. : No class match found.

Indicates that no rule matched the org.springframework.boot.SpringApplication class

You can tell what HAS been instrumented from entries like:

[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching class name ch/qos/logback/core/ConsoleAppender Matching class bytecode. : Class match found.
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method <init> (()V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method setTarget ((Ljava/lang/String;)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method getTarget (()Ljava/lang/String;)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Matching method targetWarn ((Ljava/lang/String;)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Matching method start (()V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Applying method interceptor logger.LogbackAppender at ch/qos/logback/core/ConsoleAppender.start (()V) id:21
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method getTargetStreamForWindows ((Ljava/io/OutputStream;)Ljava/io/OutputStream;)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method isWithJansi (()Z)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method setWithJansi ((Z)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,964 Method start with signature ()V in class ch/qos/logback/core/ConsoleAppender has been successfully verified

which in this cae shows a loggin interceptor being applied.

This is briefly described here: https://docs.appdynamics.com/display/PRO43/Bytecode+Transformer+Logging

 

View solution in original post

0 Karma

Peter_Holditch
Builder

That's perfectly normal.  Tha agent logs the loading of al the classes in your application.  "no class match found" in the ByteCode log simply indicates that no rule was found that requires that the class named in the log entry be instrumented.

ie this:

[AD Thread-BCI Transform Processor0] 11 Jul 2017 10:16:44,785 Matching class name org/springframework/boot/SpringApplication Matching class bytecode. : No class match found.

Indicates that no rule matched the org.springframework.boot.SpringApplication class

You can tell what HAS been instrumented from entries like:

[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching class name ch/qos/logback/core/ConsoleAppender Matching class bytecode. : Class match found.
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method <init> (()V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method setTarget ((Ljava/lang/String;)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,959 Matching method getTarget (()Ljava/lang/String;)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Matching method targetWarn ((Ljava/lang/String;)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Matching method start (()V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,960 Applying method interceptor logger.LogbackAppender at ch/qos/logback/core/ConsoleAppender.start (()V) id:21
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method getTargetStreamForWindows ((Ljava/io/OutputStream;)Ljava/io/OutputStream;)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method isWithJansi (()Z)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,961 Matching method setWithJansi ((Z)V)
[AD Thread-BCI Transform Processor3] 11 Jul 2017 10:16:44,964 Method start with signature ()V in class ch/qos/logback/core/ConsoleAppender has been successfully verified

which in this cae shows a loggin interceptor being applied.

This is briefly described here: https://docs.appdynamics.com/display/PRO43/Bytecode+Transformer+Logging

 

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...