Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support loading agent dynamically #170

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tjstqq
Copy link

@tjstqq tjstqq commented Apr 2, 2020

according to Java Agent and Instrumentation APIs,add entry "agentmain" and "Agent-Class" config in MANIFEST

@CLAassistant
Copy link

CLAassistant commented Apr 2, 2020

CLA assistant check
All committers have signed the CLA.

pom.xml Outdated
<source>1.6</source>
<target>1.6</target>
<source>1.7</source>
<target>1.7</target>
<encoding>${project.build.sourceEncoding}</encoding>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TTL support jdk 1.6, so do not modify the source/target level please.

@tjstqq tjstqq closed this Apr 2, 2020
@tjstqq tjstqq reopened this Apr 2, 2020
@codecov-io
Copy link

codecov-io commented Apr 2, 2020

Codecov Report

Merging #170 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #170   +/-   ##
=========================================
  Coverage     74.68%   74.68%           
  Complexity      133      133           
=========================================
  Files            15       15           
  Lines           470      470           
  Branches         52       52           
=========================================
  Hits            351      351           
  Misses          104      104           
  Partials         15       15

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c3c03e4...fb47e05. Read the comment docs.

@zscgrhg
Copy link

zscgrhg commented Apr 15, 2020

我发现动态加载有时候会失败,ttl值没有正常生效。但是又找不到规律

@tjstqq
Copy link
Author

tjstqq commented Apr 16, 2020

我发现动态加载有时候会失败,ttl值没有正常生效。但是又找不到规律

能否把调用的情况详细贴出来,方便分析下

@zscgrhg
Copy link

zscgrhg commented May 1, 2020

我发现动态加载有时候会失败,ttl值没有正常生效。但是又找不到规律

能否把调用的情况详细贴出来,方便分析下

暂时解决这个问题了,刚开始我是在junit rule 里面加载agent,这样会出现随机的结果,有时候生效,有时候无效,后面我改成在junit runner静态初始化的时候加载,就OK了。

@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 1ee0142 to a71685b Compare May 1, 2020 09:15
@oldratlee oldratlee force-pushed the master branch 3 times, most recently from 429ee1a to ce9999a Compare May 27, 2020 09:01
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 12a6014 to 40641ae Compare July 12, 2020 14:31
@oldratlee oldratlee force-pushed the master branch 4 times, most recently from bbab269 to 8af8392 Compare August 2, 2020 08:47
@oldratlee oldratlee force-pushed the master branch 8 times, most recently from b0d8320 to 9a41a04 Compare August 14, 2020 09:05
@oldratlee oldratlee force-pushed the master branch 7 times, most recently from 7d5683c to 251f61c Compare December 10, 2023 15:40
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 722c221 to efc5d4d Compare December 21, 2023 23:30
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from caaa6bc to fcb140a Compare December 30, 2023 12:27
@oldratlee oldratlee force-pushed the master branch 4 times, most recently from 4babb5b to 18ae310 Compare February 8, 2024 11:00
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 5ef8ac4 to e18e3ee Compare February 22, 2024 19:18
@oldratlee oldratlee force-pushed the master branch 4 times, most recently from 6dbb1df to 59d762a Compare March 6, 2024 11:52
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 2c5d3b6 to 88fc619 Compare August 6, 2024 11:00
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 244300e to c9beab0 Compare August 15, 2024 04:57
@oldratlee oldratlee force-pushed the master branch 2 times, most recently from 357cf9a to b94b36a Compare September 9, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants