Skip to content

Commit

Permalink
[#10844] Backport: Add new Main classes to SpringBootDetector
Browse files Browse the repository at this point in the history
  • Loading branch information
donghun-cho committed Apr 8, 2024
1 parent 80f78eb commit 546a049
Show file tree
Hide file tree
Showing 36 changed files with 52 additions and 49 deletions.
2 changes: 1 addition & 1 deletion agent/src/main/resources/profiles/local/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# Reactor Netty
Expand Down
2 changes: 1 addition & 1 deletion agent/src/main/resources/profiles/release/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# Reactor Netty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down Expand Up @@ -533,4 +533,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down Expand Up @@ -875,4 +875,4 @@ profiler.kafka.producer.enable=false
profiler.kafka.consumer.enable=false
// you must set target that handles ConsumerRecord as a argument for remote trace
// ex) profiler.kafka.entryPoint=clazzName.methodName
profiler.kafka.consumer.entryPoint=
profiler.kafka.consumer.entryPoint=
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down Expand Up @@ -873,4 +873,4 @@ profiler.kafka.producer.enable=false
profiler.kafka.consumer.enable=false
// you must set target that handles ConsumerRecord as a argument for remote trace
// ex) profiler.kafka.entryPoint=clazzName.methodName
profiler.kafka.consumer.entryPoint=
profiler.kafka.consumer.entryPoint=
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down Expand Up @@ -872,4 +872,4 @@ profiler.kafka.producer.enable=false
profiler.kafka.consumer.enable=false
// you must set target that handles ConsumerRecord as a argument for remote trace
// ex) profiler.kafka.entryPoint=clazzName.methodName
profiler.kafka.consumer.entryPoint=
profiler.kafka.consumer.entryPoint=
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -395,4 +395,4 @@ profiler.grpc.server.enable=true
# Therefore, tracking stream request that you want can be difficult.
# please be sure that this description.
profiler.grpc.server.streaming.enable=true
profiler.grpc.server.streaming.onmessage.enable=true
profiler.grpc.server.streaming.onmessage.enable=true
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -395,4 +395,4 @@ profiler.grpc.server.enable=true
# Therefore, tracking stream request that you want can be difficult.
# please be sure that this description.
profiler.grpc.server.streaming.enable=true
profiler.grpc.server.streaming.onmessage.enable=true
profiler.grpc.server.streaming.onmessage.enable=true
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ profiler.undertow.excludeurl=
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down Expand Up @@ -895,4 +895,4 @@ profiler.kafka.consumer.entryPoint=
profiler.hbase.client.enable=true
profiler.hbase.client.admin.enable=true
profiler.hbase.client.table.enable=true
profiler.hbase.client.params.enable=true
profiler.hbase.client.params.enable=true
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ profiler.vertx.http.client.entity.statuscode=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down
2 changes: 1 addition & 1 deletion plugins-it/jtds-it/src/test/resources/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ profiler.bloc.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down Expand Up @@ -328,4 +328,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -379,4 +379,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -379,4 +379,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -379,4 +379,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -363,4 +363,4 @@ profiler.json.jsonlib=true
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=true
profiler.netty.http=true
profiler.netty.http=true
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -382,4 +382,4 @@ profiler.netty.http=false

profiler.process.tracing.enabled=true

#which package of runnable instance can be thread plugin trace.
#which package of runnable instance can be thread plugin trace.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ profiler.vertx.http.client.entity.statuscode=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down Expand Up @@ -376,4 +376,4 @@ profiler.resttemplate=false
###########################################################
# recommend netty plugin disable, when using VERTX.
profiler.netty=false
profiler.netty.http=false
profiler.netty.http=false
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JDBC #
Expand Down
2 changes: 1 addition & 1 deletion plugins/akka-http/src/test/resources/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ profiler.vertx.http.client.entity.statuscode=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=

###########################################################
# JSP #
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/httpclient3/src/test/resources/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/httpclient4/src/test/resources/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down
2 changes: 1 addition & 1 deletion plugins/jboss/src/test/resources/pinpoint.config
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ profiler.jboss.tracerequestparam=true
###########################################################
profiler.springboot.enable=true
# Classes for detecting application server type. Comma separated list of fully qualified class names. Wildcard not supported.
profiler.springboot.bootstrap.main=org.springframework.boot.loader.JarLauncher, org.springframework.boot.loader.WarLauncher, org.springframework.boot.loader.PropertiesLauncher
profiler.springboot.bootstrap.main=


###########################################################
Expand Down
Loading

0 comments on commit 546a049

Please sign in to comment.