Commit Graph

6827 Commits

Author SHA1 Message Date
吴晟 Wu Sheng b83865f6cd
Optimize gRPC Log reporter to set service name for the first element (#206) 2022-06-15 23:17:14 +08:00
Oliver 88a7778637
[Polish] Code level polish (no logic change) (#166) 2022-06-13 10:02:08 +08:00
huangjikun c8840b010c
Avoid FileWriter scheduled task NPE (#205)
[Bug] fileOutputStream in FileWriter has been flushed and cleared when switching to a new file, which causes NPE. 

Fix https://github.com/apache/skywalking/issues/9201
2022-06-11 15:45:33 +08:00
ForestWang123 372d754030
Fix argument type name in postgresql plugin and add type name checking (#194)
* Fix argument type name of Array in postgresql-8.x-plugin and add type name checking in ArgumentTypeNameMatch and ReturnTypeNameMatch

* Update docs/en/setup/service-agent/java-agent/Java-Plugin-Development-Guide.md

* fix methods matchers in PgStatementInstrumentation

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2022-06-10 21:24:46 +08:00
吴晟 Wu Sheng d468806f43
Remove duplicate ServiceComb plugin codes. (#189)
Follow https://github.com/apache/skywalking-java/pull/127#issuecomment-1140764345
2022-05-31 10:46:53 +08:00
zhyyu e81638ea4e
Add `plugin.jdbc.trace_sql_parameters` into Configuration Discovery S… (#174)
Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
2022-05-30 20:42:30 +08:00
吴晟 Wu Sheng a8214514ae
Remove JDK 14 from tests (#187)
* Remove JDK 14 from tests

* Remove jdk14-with-gson test.
2022-05-30 16:28:03 +08:00
Jiajing LU 1b30a0c088
Fix tcnative lib relocation (#186) 2022-05-30 15:54:39 +08:00
吴晟 Wu Sheng 7dcc695f3e
Clean up years ago legacy codes (#185) 2022-05-26 15:43:41 +08:00
andotorg 5bc1d1d1f1
Support `-Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector` in gRPC log report. (#182)
Co-authored-by: andotorg <xieyan9@tal.com>
2022-05-22 13:56:29 +08:00
wuwen 42377bb274
Fix Span not finished in gateway plugin when the gateway request timeout. (#175) 2022-05-14 20:45:36 +08:00
Brandon Fergerson 4b24b7d795
Add log endpoint name (#171) 2022-05-09 15:00:56 +08:00
hutaishi bd7912106a
Apache ShenYu (incubating) plugin support grpc,sofarpc,motan,tars (#170) 2022-05-07 10:23:23 +08:00
hutaishi d45818911d
gRPC plugin support trace client generic call (#168) 2022-05-05 11:07:49 +08:00
xzyJavaX edc69ed847
Fix NPE in elasticsearch plugin (#167) 2022-04-29 12:53:14 +08:00
Anders Guo 8ae57d25a0
Change the dateformat of logs to yyyy-MM-dd HH:mm:ss.SSS (#165) 2022-04-26 07:54:10 +08:00
zhyyu 88c4c71598
Add trace-sampler-cpu-policy-plugin (#135)
Co-authored-by: yuzhongyu <yuzhongyu@cestc.cn>
2022-04-25 18:27:53 +08:00
wuwen 4d76f3e2fb
Fix NPE in gateway plugin when the timer triggers webflux webclient call. (#164) 2022-04-25 09:28:27 +08:00
lbc97 81ded4acf5
servicecomb 2.0 plugin (#127) 2022-04-22 18:45:35 +08:00
hutaishi 504f9c415b
[Feature] [ShenYu]<Apache ShenYu (incubating) plugin support dubbo proxy>(#8869) (#162) 2022-04-21 17:43:50 +08:00
kezhenxu94 72bc256418
Fix dead link checker (#161) 2022-04-19 21:22:36 +08:00
Cool-Coding cc42b50047
Remove redundant 'shade.package' property(#8904) (#160)
Co-authored-by: 杨光永 yangguangyong <riguang2007@gmail.com>
2022-04-19 15:11:23 +08:00
Hoshea Jiang 65032a9b48
Add layer field to event when reporting (#159) 2022-04-18 16:24:43 +08:00
吴晟 Wu Sheng 07cc03a35f
Update CHANGES.md (#158) 2022-04-18 07:20:23 +08:00
Brandon Fergerson 9125933f56
instance properties bug fix (#157) 2022-04-16 13:38:00 +08:00
吴晟 Wu Sheng 0ac754730c
Begin 8.11.0 iteration (#155) 2022-04-13 08:51:17 +08:00
xu1009 46d99c5d69
Support default database(not set through JDBC URL) in mysql-5.x plugin (#154) 2022-04-12 22:30:19 +08:00
Cool-Coding a5ccbca693
[Feature] Add JDK ThreadPoolExecutor plugin(#8743) (#146) 2022-04-12 20:12:54 +08:00
hutaishi fab9ce53bd
Add skywaliking plugin for support Apache ShenYu (incubating) gateway (#8796) (#147) 2022-04-10 22:39:32 +08:00
Oliver 3c8e5347f5
Optimize document and fix typo (#148) 2022-04-10 20:17:02 +08:00
吴晟 Wu Sheng 74d11ce7a2
Fix doc, webflux plugin is not required by spring gateway plugin, according to test scenarios. (#149) 2022-04-10 09:11:05 +08:00
Cool-Coding 23c724658a
Fix Grpc 1.x plugin could leak context due to gRPC cancelled (#140) 2022-04-06 22:43:21 +08:00
Oliver fb1983937e
[Chore] Fix comment's grammar and modifier's order (#138) 2022-04-04 20:34:10 +08:00
xiarixigua 5607f87a54
Fix the bug that maybe causing memory leak and repeated traceId when use gateway-2.1.x-plugin (#133) 2022-03-31 13:11:43 +08:00
kezhenxu94 07f2f7c6a1
Pin dead-link-checker to fixed version (#131) 2022-03-26 22:52:19 +08:00
Oliver 6eac49dd23
Remove unnecessary InterruptedException catch (#130) 2022-03-26 22:14:03 +08:00
吴晟 Wu Sheng 233cce5bb6
Make sure the parent endpoint from existing first ENTRY span (#129)
* Make sure the parent endpoint in tracing context from existing first ENTRY span, rather than first span only.
2022-03-25 18:58:11 +08:00
吴晟 Wu Sheng 8a0f79743c
Make sure Tomcat thread plugin working in Tomcat 9 (#128) 2022-03-24 17:02:37 +08:00
吴晟 Wu Sheng ff584717d9
Clean doc of previous namespace (#125) 2022-03-18 11:47:07 +08:00
吴晟 Wu Sheng b3ab1aed81
Add cluster concept to the configuration, and enhance namespace concept (#123)
* [Important] Namespace represents a subnet, such as kubernetes namespace, or 172.10.*.*. Make namespace concept as a part of service naming format.
* [Important] Add cluster concept, also as a part of service naming format. The cluster name would be
    1. Add as {@link #SERVICE_NAME} suffix.
    2. Add as exit span's peer, ${CLUSTER} / original peer
    3. Cross Process Propagation Header's value addressUsedAtClient[index=8] (Target address of this request used on the client end).
* [Breaking Change] Remove deprecated `agent.instance_properties` configuration.
  Recommend `agent.instance_properties_json`.
* The namespace and cluster would be reported as instance properties, keys are `namespace` and `cluster`. Notice, if
  instance_properties_json includes these two keys, they would be overrided by the agent core.
* [Breaking Change] Remove the namespace from `cross process propagation` key.
2022-03-12 22:33:18 +08:00
Daming 18e5386b72
test: support to the custom base image by configuration (#122) 2022-03-07 20:50:57 +08:00
Brandon Fergerson f328380fbd
Add graphql v16+ plugin (#121) 2022-03-06 13:30:05 +08:00
Brandon Fergerson 9ec0940ad9
Renamed graphql-12.x-plugin to graphql-12.x-15.x-plugin (#120) 2022-03-06 12:59:44 +08:00
Brandon Fergerson f29d1f72f8
fix broken cross process (#119) 2022-03-06 07:20:07 +08:00
Brandon Fergerson 5014529708
Vertx 4 Core Plugin (#118) 2022-03-05 23:22:44 +08:00
Zimmem 2bd58bce7a
fix the trace breaking bugs in WebFlux server and WebClient(#114)
* Fix the bug that maybe generate multiple traces when invoking HTTP requests by Spring WebFlux server and WebClient.
2022-03-01 20:47:18 +08:00
Brandon Fergerson bf126a6afb
Add witness classes to graphql and vertx-core-3.x plugins (#113) 2022-03-01 10:55:11 +08:00
dashanji 74b130c827
add java agent injector link (#112) 2022-02-27 18:56:33 +08:00
洪阿南 9efec16c1b
fix Dubbo3.x Context problem #8525 (#110) 2022-02-25 12:08:57 +08:00
AlexQin f0c22f32dd
Ignore the synthetic constructor created by the agent (#111)
* Resolves #8532, ignored the synthetic constructor created by java agent

Co-authored-by: qinjunjie <qinjunjie@jiuqi.com.cn>
2022-02-16 18:09:09 +08:00