Commit Graph

5020 Commits

Author SHA1 Message Date
yangxb2010000 22018d6a9f fix createExitSpan bug (#3257) 2019-08-14 00:10:51 +08:00
于玉桔 a0e816771c Webflux plugin optimization (#3243)
* webflux
2019-08-13 22:52:01 +08:00
Andy Ai 7eb5694a5f Java agent support undertow routing handler (#3173)
* Support undertow routing handler
2019-08-13 22:30:11 +08:00
kezhenxu94 136c7d4f42 Remove coveralls report due to its unavailability (#3260) 2019-08-13 21:49:30 +08:00
Gao Hongtao ea9d50d160 Sync docker-entrypoint.sh with latest application.yml (#3248) 2019-08-12 13:42:40 +08:00
kezhenxu94 45a2196f02 Clean up: remove unused codes (#3246) 2019-08-11 17:36:39 +08:00
kezhenxu94 e1b1465564 Add attention note to plugin development guide (#3245) 2019-08-11 13:35:23 +08:00
Alvin 90d525b164 Improve agent grpc auto reconnect (#3240)
* improve auto connect

* add config

* use int instread of atomic

* update format

* update doc

* update var name and doc

* fix
2019-08-11 12:30:17 +08:00
qxo a328a3bafc jdbc-commons:reduce unnecessary call ThreadLocal with ContextManager#stopSpan(span) (#3244) 2019-08-10 22:46:17 +08:00
于玉桔 8611124b33 Unified http status code usage (#3239)
* Unified http status code usage

* fmt
2019-08-10 18:17:17 +08:00
于玉桔 73cf05c5b9 fix component-libraries typo (#3241) 2019-08-10 17:07:18 +08:00
wuguangkuo 6c30223838 fix doc error (#3237) 2019-08-09 19:48:27 +08:00
Jared Tan 02affffa50 support elasticsearch address configuration with http scheme. (#3236)
* support elasticsearch address configuration with http scheme.

* update logical.
2019-08-09 19:15:04 +08:00
yantaowu 1bfda1dd65 Modify the thread pool of grpc server. (#3225)
* Modify the thread pool of grpc server.

* add license header

* make param confingable

* Add sharing and Jaeger config.

* Remove grpc thread config from yml
2019-08-09 09:14:55 +08:00
吴晟 Wu Sheng ffd25332eb
Update powered-by.md (#3228) 2019-08-07 23:32:03 +08:00
吴晟 Wu Sheng 0df76e4e38
Remove the scope-meta file (#3226)
* Remove the meta file
2019-08-07 17:35:12 +08:00
kezhenxu94 37acc3dc99 Add dependency licenses check (#3221)
* Add dependency licenses check
2019-08-07 09:45:23 +08:00
吴晟 Wu Sheng eff9faa8c9
Update backend-storage.md (#3222)
* Update backend-storage.md

* Update backend-storage.md

* Update ES-Server-FAQ.md
2019-08-06 21:19:00 +08:00
qxo 1ae04cf2bb improve AsyncSpan API: make #asyncFinish and #prepareForAsync can not invoke more than once (#3201)
* improve AsyncSpan API: make #asyncFinish and #prepareForAsync can not invoke more than once
make the API more strong: make the plugin code bug fail-fast
2019-08-06 08:30:29 +08:00
qxo c139316bbe ignore .checkstyle and .externalToolBuilders for eclipse (#3212) 2019-08-05 23:46:34 +08:00
吴晟 Wu Sheng b247dc979e
Move project master branch to 6.4.0-SNAPSHOT (#3220)
* [maven-release-plugin] prepare release v6.3.0

* [maven-release-plugin] prepare for next development iteration
2019-08-05 21:19:17 +08:00
吴晟 Wu Sheng e74637a261
GC time metrics should be total time. (#3216)
* GC time metrics should be total time.

* Add it to change log.

* FYI @hanamily you missed to change this in self observability.
2019-08-05 11:46:12 +08:00
于玉桔 7e0400dc00 Fix change log (#3215)
* fix changes.md typo

* fix typo
2019-08-05 10:50:39 +08:00
吴晟 Wu Sheng bb4ce945cf
Add change log for 6.3.0 release. (#3209)
* Add changelog for 6.3.0 release.

* Update CHANGES.md

Co-Authored-By: kezhenxu94 <kezhenxu94@apache.org>

* Update CHANGES.md
2019-08-03 18:46:14 +08:00
kezhenxu94 3549d074b0 Increase test service latency to help it to be counted (#3211)
The current latency of the test service is too slow, causing it's not counted and
the query result is 0, this patch increases the latency intentionally by sleeping
1 second
2019-08-03 18:18:32 +08:00
Andy Ai 532f430369 Fixed java agent cannot trace gRPC stream service (#3145)
* Fixed java agent cannot trace gRPC stream service
2019-08-03 17:38:39 +08:00
li.can 6e837153f2 Add jdk http plugin (#3171)
* add http

* update plugin

* Add StaticMethodsAroundInterceptor to be injected.

* move to options plugin

* move folder

* update pom

* support https

* add witness class

* Make JDK9-11 available for bootstrap instrumentation

* Remove temp folder of old bootstrap instrumentation requirement.

* remove witness ,work for jdk6,7,8,9,10,11

* Make JDK 12 works.

* move jdk-http-plugin to bootstrap-plugins folder

* add httpsclient

* update README.md
2019-08-03 10:26:20 +08:00
吴晟 Wu Sheng ff0ffb99ca
Add agent version in gRPC connection establish stage (#3205) 2019-08-02 17:07:32 +08:00
kezhenxu94 4db007ee79 Fix wrong time unit (#3203) 2019-08-02 13:53:02 +08:00
kezhenxu94 49f50a24a4 Support upgrade backend w/o rebooting agents (#3170)
* Support upgrade backend w/o rebooting agents
2019-08-02 09:25:17 +08:00
吴晟 Wu Sheng 2b274f3cc0
Make JDK 12 works. (#3197) 2019-07-31 23:24:53 +08:00
吴晟 Wu Sheng b091c0ae48
Make bootstrap instrumentation available in JDK9 - 11 (#3194)
* Make JDK9-11 available for bootstrap instrumentation

* Remove temp folder of old bootstrap instrumentation requirement.
2019-07-31 15:30:11 +08:00
makingtime 7b53d853e1 correct 3rd default alarm rule description (#3192)
* correct 3rd default alarm rule description

* unit change: 1000ms -> 1s
2019-07-31 07:50:11 +08:00
Steve Hu 0a057585b1 add a README.md to clarify the purpose of the docker file (#3191) 2019-07-29 23:09:46 +08:00
Alan Lau e92d01cae3 Add etcd config doc. (#3189) 2019-07-29 17:36:07 +08:00
Jared Tan 5d3312cccc Update Java-Plugin-Development-Guide.md (#3188) 2019-07-29 16:34:30 +08:00
于玉桔 26c6767c36 fix-3155 (#3186) 2019-07-29 14:43:49 +08:00
kezhenxu94 e8f94d55c3 Fix bug: NetworkAddressInventory uses wrong builder to convert data (#3183) 2019-07-29 14:07:37 +08:00
kezhenxu94 7958ba9aff Fix bug: state not updated when GRPC auto reconnect to the same server (#3181) 2019-07-29 12:57:07 +08:00
吴晟 Wu Sheng d66f775fe5
Remove javassist from agent dependency (#3176)
* Remove javassist dependency

*   Finish the PR.

* Change doc title level.

* Remove the duplicated codes.
2019-07-28 23:33:48 +08:00
Alan Lau 76d91635ee Support etcd configuration. (#2973)
* Support etcd configuration.
2019-07-27 22:02:40 +08:00
li.can 860fb0843c Add StaticMethodsAroundInterceptor to be injected. (#3174) 2019-07-27 15:52:49 +08:00
吴晟 Wu Sheng 8ef3cb7159
wrong refactor. (#3169) 2019-07-26 15:23:26 +08:00
彭勇升 pengys 16b8236506 1. All the inventories add last_update_time attribute, delete the mapping_last_update_time attribute in service inventory. (#3168)
2. Fixed the service inventory and net address inventory update bugs.
2019-07-26 14:02:27 +08:00
吴晟 Wu Sheng c76fb4053e
Set up the bootstrap instrumentation plugin framework (#3152)
* POC: Intercept successfully.

* Refactor codes

* Build the new core

* Setup the new core.

* Push the javassist version to 3.23.2-GA, as it is the last version supports JDK 1.6 compile, according to https://github.com/jboss-javassist/javassist/blob/rel_3_23_2_ga/pom.xml#L149-L160

* Finish the all codes.

* Document updated for bootstrap instrumentation.

* Add a notice to document.

* Remove unexpected file.

* Set javassist version right. Add judge in core interceptors

* Fixe no log bridge implementation
2019-07-25 22:00:07 +08:00
kezhenxu94 c11b9f102f Revert parallelism in CI IT build (#3164)
* Don't build JavaDoc since we don't host JavaDoc pages

* Update Jenkinsfile

* Revert back to where it's single-threaded job
2019-07-25 21:22:46 +08:00
彭勇升 pengys f658d9eb4d Simplify the PxxMetrics and ThermodynamicMetrics to improve performance (#3162)
* Feature of database session

* Make it configurable.

* Change the metrics process flow.
before: metrics entrance -> aggregate worker -> remote worker -> trans worker -> minute, hour, day, month persistence worker -> storage
after: metrics entrance -> aggregate worker -> remote worker -> minute persistence worker ->  trans worker -> hour, day, month persistence worker -> storage

* IntKeyLongValueHashMap instead of IntKeyLongValueArray.

* Make the OAP server can't startup.

* Finish

* Rename the method and fixed some test case issues.

* Rename field.

* no message
2019-07-25 19:08:36 +08:00
彭勇升 pengys 0cf998022d If transform throw exception, the stream observer won't call the onCompleted method, then the stream observer will wait it finish until the timeout. (#3163) 2019-07-25 08:54:14 +08:00
彭勇升 pengys 8605f4ccc0
Change the metrics process flow. (#3157)
* Feature of database session

* Make it configurable.

* Change the metrics process flow.
before: metrics entrance -> aggregate worker -> remote worker -> trans worker -> minute, hour, day, month persistence worker -> storage
after: metrics entrance -> aggregate worker -> remote worker -> minute persistence worker ->  trans worker -> hour, day, month persistence worker -> storage
2019-07-24 18:18:20 +08:00
Gao Hongtao 924f25fec4
Self observability of OAP backend (#3140)
* First commit

* Fix e2e test and some nits

* Documenting so11y and setting default values of it in dev env
2019-07-24 16:08:56 +08:00