Commit Graph

644 Commits

Author SHA1 Message Date
Stephen Ni 51161ae6a5
Report the agent version to OAP (#397) 2022-11-29 09:16:00 +08:00
Stephen Ni 6cb2b4290f
Print meter size when it exceeds the maximum value (#392) 2022-11-21 14:25:33 +08:00
吴晟 Wu Sheng 70b3e88b0f
Release 8.13.0, begin 8.14.0 iteration (#378) 2022-11-06 21:46:51 +08:00
pg.yang 6fce184cfe
Update guava-cache,jedis,memcached,ehcache plugins to adopt uniform tags (#303) 2022-09-10 21:58:55 +08:00
Lv Lifeng 1c14a87067
Add plugin to support impala jdbc driver (#302) 2022-09-10 21:10:46 +08:00
吴晟 Wu Sheng b8f99e95e5
Begin 8.13.0 iteration, 8.12.0 release is on vote (#301)
* [maven-release-plugin] prepare release v8.12.0

* [maven-release-plugin] prepare for next development iteration

* Create changes-8.12.0.md

* Update CHANGES.md
2022-09-01 16:51:48 +08:00
Jeffrey H. Lei 42ea174ed9
Force the injected high-priority classes in order to avoid NoClassDefFoundError. (#292)
Co-authored-by: leihuazhe <leihuazhe@sensorsdata.cn>
2022-08-16 17:40:47 +08:00
Brandon Fergerson 3e71ae4cdd
fix: reconnection race condition (#290) 2022-08-08 22:42:11 +08:00
YoyoFx 881a42d228
Fix CVE-2022-24823 and CVE-2022-25647 Vulnerability (#288) 2022-08-05 08:17:03 +08:00
吴晟 Wu Sheng f8deb7c30b
Fix CI through clear context forcedly. (#231) 2022-06-23 18:59:47 +08:00
吴晟 Wu Sheng 8de87f5556
Begin 8.12.0 iteration (#214)
* [maven-release-plugin] prepare release v8.11.0

* [maven-release-plugin] prepare for next development iteration

* Create changes-8.11.0.md

* Update CHANGES.md
2022-06-18 12:05:56 +08:00
吴晟 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
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
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
Brandon Fergerson 4b24b7d795
Add log endpoint name (#171) 2022-05-09 15:00:56 +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
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
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
Cool-Coding a5ccbca693
[Feature] Add JDK ThreadPoolExecutor plugin(#8743) (#146) 2022-04-12 20:12:54 +08:00
Oliver 3c8e5347f5
Optimize document and fix typo (#148) 2022-04-10 20:17:02 +08:00
Oliver fb1983937e
[Chore] Fix comment's grammar and modifier's order (#138) 2022-04-04 20:34:10 +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 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
xu1009 65bfd386ee
change Z (#102) 2022-01-30 00:00:00 +08:00
吴晟 Wu Sheng 395ce4f86a
Release 8.9.0 and set next version to 8.10.0 (#101)
* [maven-release-plugin] prepare release v8.9.0

* [maven-release-plugin] prepare for next development iteration
2022-01-28 21:23:43 +08:00
xu1009 634cf279a9
Support collecting metrics of ZGC (#89)
Co-authored-by: litexu <litexu@tencent.com>
2022-01-13 15:11:00 +08:00
吴晟 Wu Sheng 7b160b5fec
Follow protocol grammar fix `GCPhrase -> GCPhase` (#90) 2022-01-12 23:10:58 +08:00
Daniel Qian ff5de395a0
Enhance `returnedObj` expression to support Array, List and Map (#84)
* Enhance `returnedObj` expression to support Array, List and Map for apm-customize-enhance-plugin and `@Tag`

* update doc & add UnitTest for @Tag annotation

* update e2e test accordingly
2021-12-15 15:00:22 +08:00
Daniel Qian bc90371daa
Add returnedObj expression support for apm-customize-enhance-plugin (#83)
* issue #8292, add returnedObj expression support for apm-customize-enhance-plugin

* update apm-customize-enhance-plugin use plugin V2 API
2021-12-14 22:34:25 +08:00
geekymv 2ba2e1964d
Fix comments (#82) 2021-12-10 20:28:33 +08:00
BuYan 3c967c146b
[#8227] adjust trySampling() comments (#80) 2021-12-02 16:40:16 +08:00
Daniel Qian 3b93a9c398
Optimize ProfileTaskChannelService (#78)
related issue  https://github.com/apache/skywalking/issues/8221
1. Avoid ProfileTaskChannelService.addProfilingSnapshot throw IllegalStateException(Queue full)
2. Increase ProfileTaskChannelService.snapshotQueue default size from 50 to 4500
2021-12-02 15:14:34 +08:00
Jared Tan b169ef3cdd
Support set instance properties in json format (#67)
* set instance properties in json format: agent.instance_properties_json

* add docs.

* Update docs/en/setup/service-agent/java-agent/configurations.md

* polish and add e2e.

* update

* Update test/e2e/case/expected/service-instance.yml

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/util/InstanceJsonPropertiesUtil.java

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>

* update

* update SW_INSTANCE_PROPERTIES_JSON

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2021-11-07 18:51:34 +08:00
wankai123 ec1b7a19a4
Initialize 8.9.0 iteration (#59) 2021-10-27 22:57:09 +08:00
吴晟 Wu Sheng 71dd60d5e8
Fix instrumentation v2 API doesn't work for constructor instrumentation. (#51) 2021-10-13 22:56:38 +08:00
Daming 7d36faaf0f
Add Kafka LogReporter and make grpc log reporter sharing grpc channel with reporters (#20) 2021-09-23 10:50:34 +08:00
Jiajing LU a7a74a4067
Chore: Add benchmark and improve docs for exception-ignore plugin (#25)
* add benchmark and improve docs

Signed-off-by: Megrez Lu <lujiajing1126@gmail.com>

* modify changelog and copy benchmark results to the docs
2021-09-14 16:38:54 +08:00
Daming 2b51932055
Update TLSChannelBuilder.java (#16) 2021-09-01 07:54:17 +08:00
Daming dd0d8afe88
Support mTLS for gRPC channel (#15) 2021-08-31 15:56:30 +08:00
吴晟 Wu Sheng fc79937619
Doc polish, remove unrelated documents and fix source code LICENSE (#5) 2021-08-27 10:08:36 +08:00
kezhenxu94 a6b174a09d
Set up CI and clean up (#3) 2021-08-27 07:50:30 +08:00
吴晟 Wu Sheng 6950bb137f
Rename common modules. (#2) 2021-08-27 00:27:39 +08:00