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!

Introducing the Splunk Developer Program!

Hey Splunk community!  We are excited to announce that Splunk is launching the Splunk Developer Program in ...

Splunkbase Year in Review 2024

Reflecting on 2024, it’s clear that innovation and collaboration have defined the journey for Splunk ...

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...