Commit Graph
212 Commits
Author SHA1 Message Date
JHEandJaehong Kim d1b4a6505f Typo 2017-01-31 10:56:24 +09:00
HyunGil Jeong 0eb0b48436 #2522 Revert back to testing 0.9.x due to conflict with agent's thrift dependency 2017-01-25 18:52:40 +09:00
emeroad 60114a4388 #2477 change RetentionPolicy
- RetentionPolicy.SOURCE -> RetentionPolicy.RUNTIME
2017-01-25 18:11:13 +09:00
HyunGil Jeong b4d34f2d44 #2522 Recompile to test for libthrift v0.10.0+
Thfit v0.10.0 introduced breaking changes to generated `AsyncIface` methods. Thrift plugin integration tests implement and invoke these methods so changes have been made.
Unfortunately, this means binary incompatibilitiy with previous libthrift versions so integration tests for 0.9.x libthrift are removed.
2017-01-25 16:12:50 +09:00
HyunGil Jeong 78166d7f6e #2522 Disable integration tests for thrift 0.10.0
Disable thrift integration tests for 0.10.0+ until Pinpoint thrift plugin is updated to support libthrift v0.10.0.
2017-01-23 16:17:06 +09:00
huangpengjieandHyunGil Jeong 0ef3be1c68 add plugin for resin server 2017-01-23 14:44:43 +09:00
jaehong-kim 58f213bd09 change invalid config name. 2017-01-13 18:16:07 +09:00
koo.taejin 6a3fa56f71 [no issue] fix test
remove 2.0.0 version
2017-01-13 18:02:39 +09:00
koo.taejin 34d0fb6253 [no issue] fix test
change h2 version for Java 6 compatibility (1.4.193 -> 1.4.191)
2017-01-13 10:16:18 +09:00
koo.taejin 41a65bd507 #2463 add hikaricp plugin 2017-01-10 18:38:23 +09:00
jaehong-kim 4ab9333f3b add vertx plugin. 2017-01-09 11:38:54 +09:00
HyunGil Jeong d26c88f278 Fix simple inspection warnings
Mainly license template fixes
2017-01-02 19:45:05 +09:00
koo.taejin bcc8aec7a8 #2396 add commons dbcp2 plugin
add commons-dbcp2 plugin
2016-12-27 10:50:52 +09:00
minwoo.jung 378ed62e04 [#2362]Jetty config key is spelled wrong 2016-12-19 16:37:13 +09:00
koo.taejinandWoonduk Kang 1ad2a86cbd Add function of getting thread dump from agent #2286
1. added function of getting activeThreadDump
2016-12-15 18:03:39 +09:00
koo.taejin 67ef4e69fd [no issue] Fixed test case
Sometimes HttpClient3 stuck on execute releaseConnection method.
Set the so_timeout to ensure release connection .

"main" prio=10 tid=0x00007fb0e800d000 nid=0x1faa runnable [0x00007fb0ec4b1000]
   java.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        - locked <0x00000007ad42b490> (a java.io.BufferedInputStream)
        at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:181)
        at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:195)
        at org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:368)
        at org.apache.commons.httpclient.ChunkedInputStream.close(ChunkedInputStream.java:345)
        at java.io.FilterInputStream.close(FilterInputStream.java:155)
        at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:176)
        at org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:140)
        at org.apache.commons.httpclient.HttpMethodBase.releaseConnection(HttpMethodBase.java:1078)
        at com.navercorp.pinpoint.plugin.httpclient3.HttpClientIT.hostConfig(HttpClientIT.java:76)
2016-11-29 17:33:59 +09:00
koo.taejin 53ba8aa8d8 [no issue] Fixed test case.
Sometimes HttpClient3 stuck on execute releaseConnection method.
Set the connection timeout to ensure release connection .

"main" prio=10 tid=0x00007fb0e800d000 nid=0x1faa runnable [0x00007fb0ec4b1000]
   java.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
        - locked <0x00000007ad42b490> (a java.io.BufferedInputStream)
        at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:181)
        at org.apache.commons.httpclient.ChunkedInputStream.read(ChunkedInputStream.java:195)
        at org.apache.commons.httpclient.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:368)
        at org.apache.commons.httpclient.ChunkedInputStream.close(ChunkedInputStream.java:345)
        at java.io.FilterInputStream.close(FilterInputStream.java:155)
        at org.apache.commons.httpclient.AutoCloseInputStream.notifyWatcher(AutoCloseInputStream.java:176)
        at org.apache.commons.httpclient.AutoCloseInputStream.close(AutoCloseInputStream.java:140)
        at org.apache.commons.httpclient.HttpMethodBase.releaseConnection(HttpMethodBase.java:1078)
        at com.navercorp.pinpoint.plugin.httpclient3.HttpClientIT.hostConfig(HttpClientIT.java:76)
2016-11-21 20:08:50 +09:00
HyunGil Jeong a2ff727d0d #2215 Change default instrumentation engine to ASM 2016-11-02 18:16:53 +09:00
HyunGil Jeong 284642ec3d #2101 Add integration tests for tracing fallbacks and propagation 2016-11-01 18:06:54 +09:00
HyunGil Jeong 48a607cdd3 #2101 Add fallback method tracing 2016-11-01 18:06:54 +09:00
HyunGil JeongandWoonduk Kang 187c315e11 #2178 Add conditional registration of class transformers
Tomcat plugin checks if the application was launched via Tomcat's Bootstrap, or one of SpringBoot's many launchers.
JBoss plugin checks if the application was launched via JBoss' Main.
Configuration option is added to disable this check entirely.
2016-10-20 18:14:26 +09:00
jaehong-kimandWoonduk Kang 387b127dc7 add ant-style path pattern. 2016-10-20 16:51:44 +09:00
HyunGil JeongandWoonduk Kang 8bc15f2cd8 #2156 Add config option for bootstrap main classes 2016-10-18 11:30:56 +09:00
emeroad 997142d655 - fix typo
- remove unused import
 - fix unchecked warning (+1 squashed commits)
2016-10-17 19:42:20 +09:00
HyunGil JeongandWoonduk Kang cd51da314b #2151 Add enable/disable plugin configuration options 2016-10-14 16:38:51 +09:00
emeroad 7d9d929a20 #2001 jboss temporary fix
- fix testcase fail
2016-10-13 20:03:39 +09:00
jaehong-kimandWoonduk Kang c59f3aa886 add spring beans component-scan 2016-10-12 20:50:36 +09:00
HyunGil Jeong b2893069c3 #2001 jboss temporary fix - fix typo 2016-10-12 19:00:51 +09:00
emeroad 519e10c7e0 #2001 jboss temporary fix
- avoid transform class collision (Tomcat plugin)
 - add temporary option : profile.jboss.enable=false
2016-10-12 11:40:08 +09:00
emeroad 87d6fd60dc #2001 jboss temporary fix
- avoid transform class collision (Tomcat plugin)
 - add temporary option : profile.jboss.enable=false
2016-10-12 11:04:25 +09:00
emeroad a9deca0e29 #2001 jboss temporary fix
- avoid transform class collision (Tomcat plugin)
 - add temporary option : profile.jboss.enable=false
2016-10-11 19:15:48 +09:00
emeroad 911433bb33 cleanup ProfilerConfig 2016-10-08 17:53:45 +09:00
HyunGil JeongandGitHub 921ed6f557 Adds enable/disable configurations for mariadb and cassandra plugins (#2090)
* Add configuration for enabling mariadb and cassandra plugins
* Increase mariadb test coverage to include version 1.5+
2016-09-12 17:01:10 +09:00
koo.taejin d0a444aed4 Change log4j settings. #2086
1. reformatted
2016-09-09 17:57:16 +09:00
HyunGil JeongandGitHub 36fe15fafb #2072 Update mariaDB4j dependency (#2073) 2016-09-08 11:48:13 +09:00
HyunGil JeongandGitHub 96f720389b Split integration tests for testing Hystrix 1.4.1 and 1.4.2 (#2070)
Hystrix 1.4.1 and 1.4.2 dropped Java 6 support so these tests may fail when ran with java 6. ITs that tests 1.4.1 and 1.4.2 are now run with Java 7.
2016-09-07 17:07:44 +09:00
jiaqifengandHyunGil Jeong 3935cc5d49 Dev hystrix plugin (#1594)
* initial plugin files that support hystrix command.

* Add HystrixCommand asynchronous call IT test. Intercep HystixCommand.queue instead of execute for cover acynchronous call.

* remove useless code: HystrixCommandConstructorInterceptor is not needed, also scope is not needed too.

* support hystrix-core 1.4.20 and 1.5.2, some log should be removed.

* Add hystrix.subclass annotation to show the real hystrix command class name in transaction info.

* add integration test for hystrix plugin

* add support for hystric-core 1.5.3
2016-09-05 14:48:14 +09:00
koo.taejin 6aac68ddc1 #1774
1. remove pinpoint-tools in lib directory.
2. reformatted distribution.xml .
2016-09-02 17:49:47 +09:00
HyunGil Jeong f55bc8fa4a #2027 Remove shading bootstrap-core dependencies
pinpoint-commons, bootstrap-core, and bootstrap-core-optional jars are still added to bootstrap classloader search path, and to it's respective class pool in the case of Javassist instrumentation.
2016-08-31 19:12:45 +09:00
HyunGil Jeong 1be76c3798 #2027 Create module for bootstrap-core classes that require JDK7+ to compile 2016-08-31 19:07:38 +09:00
jaehong-kim 2e2dfd9dea add asm instrument 2016-08-29 10:59:40 +09:00
HyunGil Jeong b6dbc6b9c5 #1822 Add file appender to local, console appender to release
Agents built with local profile logs to a separate log file.
Agents built with release profile writes WARN/ERROR logs generated by the agent to console as well.
2016-08-18 18:18:00 +09:00
HyunGil JeongandGitHub 34bea749dd Fix test for Gson 1.1 (#1849) 2016-06-15 19:13:37 +09:00
HyunGil Jeong c43bc3da81 #1756 Support CPU usage collection on IBM jvms 2016-06-03 15:45:59 +09:00
HyunGil Jeong 2188fa8e8a #1825 Remove unnecessary usage of assembly plugin 2016-06-02 17:00:19 +09:00
HyunGil Jeong ed785fea62 #1821 Separate optional modules by jdk versions
Splits into 3 modules - jdk6, 7, and 8 so that each module is compiled against their specific jdk versions.
Also moves test codes in the java8-test module into their respective optional packages.
2016-06-02 16:26:12 +09:00
koo.taejin 709501c38d Add maven profile to separate local mode (development) and release mode. #1822
All configuration will be changed that is much lighter than current configuration.

local mode (development mode)
The local mode is relatively makes many log.

release mode
The release mode is relatively makes small log
2016-06-01 17:29:58 +09:00
emeroad db6e236465 modify bytecode.dump.classlist sample option 2016-05-27 15:32:57 +09:00
emeroad 825831ede7 #1811 add bytecodedump option 2016-05-27 11:49:05 +09:00
Sebastian Cardello e148806021 Added postgres agent default configuration 2016-05-19 12:29:03 -03:00