Commit Graph

4951 Commits

Author SHA1 Message Date
吴晟 Wu Sheng 5b039e9747 All NEW OAL Runtime Engine (#3109)
* Change OAL generator tool to runtime.

Step 1. change project structure. API links and maven pom.

* Part of metrics class generation

* Metrcis class generated.

* Set up the basic structure of new OAL engine.

* Finish metrics generation.

* Support dispatcher generation.

* Format codes.

* Generate dispatcher all methods.

* Implement disable in hardcode.

* Clear up

* Fix compile startup.

* Update license and document of new OAL engine.

* Fix rat.

* Disable class output in default

* Copy from @kezhenxu94 's test PR, https://github.com/apache/skywalking/pull/3110

* Wait for the mount command to finish
2019-07-18 19:47:23 +08:00
qxo c7916d9f27 improve ContextManager.stopSpan performance: call ThreadLocal only once (#3068)
* improve ContextManager.stopSpan and awaitFinishAsync performance: call ThreadLocal only once
For the [JMH benchmark test](https://gitlab.com/qxo1/Common-JMH-benchmark/-/jobs/251025992) :
On gitlab CI(java 8): call ThreadLocal once vs twice fast over 10%
My T480 java 8 : fast over 40%; java 11: fast over 50%;

[The JMH benchmark code ](https://github.com/qxo/Common-JMH-benchmark/blob/master/src/main/java/test/ThreadLocalGetXTimeBenchmark.java)

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/ContextManager.java

Co-Authored-By: kezhenxu94 <kezhenxu94@163.com>

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/ContextManager.java

Co-Authored-By: kezhenxu94 <kezhenxu94@163.com>

* Update apm-sniffer/apm-agent-core/src/main/java/org/apache/skywalking/apm/agent/core/context/ContextManager.java

Co-Authored-By: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2019-07-18 00:17:04 +08:00
彭勇升 pengys d4c7006525
Config item name is wrong. (#3101) 2019-07-17 17:24:00 +08:00
zhangwei ed99079d20 Fix service cluster plugin bug (#3074)
* fix 3069
2019-07-17 14:40:45 +08:00
彭勇升 pengys 54b01223de Aggregate worker will hold the metrics while there is no new metrics in. (#3100) 2019-07-17 13:59:54 +08:00
Daming 8faa356403 Using ArrayList to instead of LinkedList (#3093)
* Using ArrayList to instead of LinkedList
2019-07-17 13:26:00 +08:00
kezhenxu94 f84e1de593 Add docs of e2e development guide (#2984)
* Add docs of e2e development guide
2019-07-17 10:57:56 +08:00
kezhenxu94 673b0bbcff Fix bug conflicts when containers start simultaneously (#3092)
The e2e containers' names of single mode and cluster mode
would conflict when they start up simultaneously in Jenkins job.
2019-07-16 10:29:19 +08:00
彭勇升 pengys 1057463812 Correct spelling errors in the network protocol. (#3091)
* Correct spelling errors in the network protocol.

* update protocol submodule commit id.
2019-07-16 09:19:48 +08:00
彭勇升 pengys 9025359163 Fixed a mistake that inject v1 segment producer into v2 standardization worker. (#3090) 2019-07-15 23:13:04 +08:00
Jared Tan a90ed12921 update ui submodule. (#3083) 2019-07-15 18:44:06 +08:00
li.can 979fa73343 add aspectJ path (#3080) 2019-07-15 17:18:44 +08:00
kezhenxu94 4db1773d3e Fix wrong logger names (#3075)
* Fix wrong logger name

* Fix more wrong logger names in agent side
2019-07-15 00:35:15 +08:00
kezhenxu94 37efd1f95a Add e2e cluster tests (#3016)
* Add e2e cluster tests
2019-07-14 23:25:41 +08:00
吴晟 Wu Sheng 34b63ae135
Make persistent period configurable. (#3070) 2019-07-14 16:13:32 +08:00
Daming 1d13d735bb setup your ide (#3063)
* setup your idea

* add anchors

* fix

* Update docs/en/guides/How-to-build.md

Co-Authored-By: kezhenxu94 <kezhenxu94@163.com>

* Update docs/en/guides/How-to-build.md

Co-Authored-By: kezhenxu94 <kezhenxu94@163.com>
2019-07-13 22:33:52 +08:00
吴晟 Wu Sheng 73a4d3c1de
Update Java-Plugin-Development-Guide.md (#3067) 2019-07-13 19:34:19 +08:00
Daming 8f76ff2fe6 add optional-plugins into ImportControl check list (#3061) 2019-07-12 19:24:51 +08:00
于玉桔 d996d7bf4a fix (#3057) 2019-07-12 19:52:03 +09:00
Alan Lau faec2b02b4 Fix typos. (#3058) 2019-07-12 16:38:16 +09:00
彭勇升 pengys 10449aa51c Logger class is incorrect. (#3054) 2019-07-12 09:46:36 +09:00
Alan Lau 52b674e3a5 Fix isSelf address. (#3051) 2019-07-12 08:25:41 +09:00
zhangwei deb2d90029 fix deleteIndex repeat append namespace (#3017)
* fix deleteIndex repeat append namespace

* fix deleteIndex repeat append namespace

* fix checkStyle

* fix

* fix test assert

* update test method name

* fix test

* fix

* del elastic.search.namespace

* fix check style

* update ITElasticSearchNamespaceClient to ITElasticSearchClientOfNamespace

* move undoFormatIndexName to ITElasticSearchClien

* move #getIndex to ITElasticSearchClient

* add deleteByModelName and deleteByIndexName

* add deleteByModelName and deleteByIndexName

* revert ITElasticSearchClient#getIndex

* Use whitebox get from powermock to get this.

* undo namespacePrefix
2019-07-12 07:53:11 +09:00
吴晟 Wu Sheng 8b2cfa2cd8 Try to fix MySQL TTL failure. (#3038) 2019-07-10 23:29:13 +08:00
吴晟 Wu Sheng ba24490166 Remove "IDs can't be null" in backend, as UI hasn't fixed this for a long time. (#3039) 2019-07-10 17:32:45 +08:00
evanxuhe 3bc03f8eec Add lixiang.com to powered-by page (#3030) 2019-07-09 20:30:57 +09:00
Jared Tan ded295bd6c add 富国基金管理有限公司 to powered by page. (#3019)
* add 富国基金管理有限公司 to powered by page.

* Update powered-by.md
2019-07-08 15:43:35 +09:00
zygfengyuwuzu b21db17148 Add 北京宅急送快运股份有限公司 to powered by page (#3001)
* Update powered-by.md

北京宅急送快运股份有限公司

* Update powered-by.md
2019-07-04 15:35:50 +08:00
Gao Hongtao 8c91f14ba6 Sync docker configuration with 6.2.0 (#2994) 2019-07-03 17:02:05 +08:00
Gao Hongtao 01b963c109 Adding deadline to gRPC client (#2987)
* Set up 10 seconds deadline after gRPC client sending
 * The duration of deadline contains three segments: connecting,
   request and response

For blocking stub, I just set deadline before invoke service. For
bi-streaming stub, I found all of them are used as a blocking style,
that after getting streaming response client stub just close current
streaming. Base on above reality, I pick the same way as blocking one.
2019-07-03 14:34:04 +08:00
kezhenxu94 9d7649d907 Set charset in web hook and replace magic number (#2986) 2019-07-03 09:22:53 +08:00
zhousiliang163 6c85693ca1 fix issue #2979 (#2980)
* fix issue #2979

* remove the unused import, which causes the CI failed
2019-07-02 11:34:19 +08:00
于玉桔 48ffd09239 Spring @Async plugin support (#2902)
* spring_async_plugin

* fix

* fix

* fix

* fix

* format fix

* rename

* fix

* fix version

* Update SWCallable.java

* Update Supported-list.md

* Update Supported-list.md
2019-07-02 07:46:25 +08:00
Xin,Zhang 47f7b98905 Fix the status is incorrect (#2982) 2019-07-01 23:32:45 +08:00
于玉桔 1e25678b9e Logback support AsyncAppender print tid (#2750)
* AsyncAppender

* improve performance

* fix mdc issue

* fix mdc

* add Async demo
2019-07-01 21:12:19 +08:00
吴晟 Wu Sheng 0225711e26
Check duplicate providers in bootstrap (#2976)
* Enhance module manager
2019-07-01 15:54:12 +08:00
吴晟 Wu Sheng 11e7cd44f7
[Revert]etcd configuration is not implemented (#2974)
* etcd configuration is not implemented and the provider definition is copied from cluster management, which could cause multiple loading by module manager.

* Fix a missing delete.
2019-07-01 11:03:38 +08:00
kezhenxu94 d1a521b705 Add end to end tests (#2935)
e2e test setup. cc @hanahmily @peng-yongsheng @IanCao @zhaoyuguang @JaredTan95 

# e2e test case
One single standalone Spring service, accessing H2 database. This service has been installed the agent. 
OAP runs in single mode with H2 storage too.

The e2e test will verify the results through GraphQL query
1. Traces exist.
2. Service/Service Instance/Endpoint exist and have expected metrics.
3. Topology exists and match expected.
2019-06-30 20:44:24 +08:00
Roshi 7f3ff150ab One more time for heigher performance (#2930)
V3(this commit) has 20% performance improvement leverages from no `false-sharing` of CPU cache mechanism.
  /**
     * Benchmark                                                 Mode  Cnt         Score         Error  Units
     * AtomicRangeIntegerTest.testGetAndIncrementV1Performance  thrpt    5  13496720.554 ±  240134.803  ops/s
     * AtomicRangeIntegerTest.testGetAndIncrementV2Performance  thrpt    5  39201251.850 ± 1005866.969  ops/s
     * AtomicRangeIntegerTest.testGetAndIncrementV3Performance  thrpt    5  45832615.061 ± 2987464.163  ops/s
     */
2019-06-29 15:18:03 +08:00
吴晟 Wu Sheng 4faa950c14
Move master to 6.3.0 (#2968)
* [maven-release-plugin] prepare release v6.2.0

* [maven-release-plugin] prepare for next development iteration
2019-06-29 13:49:36 +08:00
kezhenxu94 decd9a70e3 Fix typo in LICENSE (#2970) 2019-06-29 12:07:29 +08:00
于玉桔 502ec8a974 Sync UI (#2966) 2019-06-28 15:49:06 +08:00
caoyixiong 9b6cf4c24d
Merge pull request #2965 from apache/wu-sheng-patch-1
No password in demo env
2019-06-28 01:12:26 -05:00
吴晟 Wu Sheng 145e0f5bef
Update README.md 2019-06-28 13:44:04 +08:00
吴晟 Wu Sheng dca8989af4
Add changelogs of 6.2.0 (#2964) 2019-06-28 11:44:18 +08:00
吴晟 Wu Sheng 55d71e0ec3
Update UI, revert #2952 and fix JVM CPU usage again (#2961)
* Update UI.

* Fix CPU time again

* Update UI.
2019-06-28 10:53:44 +08:00
SummerOfServenteen c82a230d4c Add shuaibaoshop.com to powered-by page (#2959)
* Update powered-by.md

* Update powered-by.md

Change list order
2019-06-27 21:07:15 +08:00
daming 6827839c21 typo (#2960) 2019-06-27 19:34:17 +08:00
caoyixiong c74ad8d317 remove stackDepth when its 0 (#2957) 2019-06-27 18:11:43 +08:00
kezhenxu94 90dadd9264 Do not report coverage on failure (#2953) 2019-06-27 16:24:36 +08:00