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
彭勇升 pengys
8d234a91e5
Feature of database session in OAP server. ( #3147 )
...
* Feature of database session
* Make it configurable.
* Make the OAP server can't startup.
2019-07-24 13:43:19 +08:00
Xin,Zhang
bf504ab733
Update demo environment ( #3149 )
...
* Update demo environment
* Update Jenkinsfile
2019-07-24 10:31:36 +08:00
Purge yao
cf7d7454e4
Add logging.file environment parameter support ( #3146 )
2019-07-23 13:47:11 +08:00
li.can
137b142aab
Support servlet 2.5 for Jetty,Tomcat,SpringMvc ( #3120 )
...
* servlet 2.5
* method exist
* update MethodUtil
* Update MethodUtil.java
Add a comment to the new core util method. @candyleer I am concerning this method will be used widely even unnecessary.
2019-07-22 15:21:59 +08:00
qxo
f4ca4c8a6e
fixed for #3135:createEntrySpan should get SamplingService only if it required ( carrier is valid) ( #3137 )
2019-07-21 23:10:03 +08:00
吴晟 Wu Sheng
f83dc64602
Fix a wrong comment. ( #3134 )
2019-07-21 18:38:19 +08:00
彭勇升 pengys
8306ad4531
Reduce the number of threads to improve performance. ( #3133 )
...
* Refactor Persistence worker.
* 1. Provide InsertRequest and UpdateRequest interface for prepare persistence.
2. Implement the ids query for H2 metrics DAO.
* Refactor worker framework
* Use queue to receive asynchronous batch request.
* Rename the Datacarrier thread name.
* Fixed some mistake.
* New mistake.
2019-07-21 15:51:24 +08:00
吴晟 Wu Sheng
ab9bc9226b
Fix H2 metrics read bug, can't read expected existing metrics. ( #3132 )
...
Make agent mock works as usual.
2019-07-21 15:07:35 +08:00
彭勇升 pengys
594994ffae
1. Provide InsertRequest and UpdateRequest interface for prepare persistence. ( #3131 )
...
2. Implement the ids query for H2 metrics DAO.
2019-07-21 13:56:12 +08:00
kezhenxu94
3fd1f072f1
Speed up ci/e2e builds ( #3130 )
...
* Make use of multi-thread builds of maven
* Bump up maven version to get rid of parallel build bug
* Apply the same to E2E tests
* Apply the same to JavaDoc task
* Revert E2E settings
* Add maven tuning opts
* Increase maven fork process memory
2019-07-21 10:08:39 +08:00
彭勇升 pengys
6de3e55280
Too many EndOfBatchContext instance created. ( #3129 )
2019-07-21 00:26:17 +08:00
吴晟 Wu Sheng
d256fc348e
OAP internal RemoteService protocol change and code refactor ( #3128 )
...
* Remove the worker id, and add worker name for remote handler only.
* Remote metrics and inventory classes mapping too.
* Refactor codes.
2019-07-20 23:47:17 +08:00
彭勇升 pengys
6338de392f
Improve OAP server performance. ( #3127 )
...
* Improve OAP server performance.
2019-07-20 22:59:52 +08:00
于玉桔
b1dea4c540
Provide a configuration to control the length of the peer field ( #3105 )
...
* Fix 3096
2019-07-20 16:50:28 +08:00
kezhenxu94
758b085c4f
Fix that e2e fails occasionally ( #3125 )
...
* Override ES settings in FAQ
* Resend traffic data when invalid
* Remove unsupported ES setting
* Use seperated buffer directory and remove unnecessary web app 2
2019-07-20 13:22:10 +08:00
qxo
1a36c38b29
ignore .factorypath for vscode temp file ( #3123 )
2019-07-20 01:00:54 +08:00
彭勇升 pengys
8d70533921
Fixed buffer lost. ( #3118 )
2019-07-19 22:07:53 +08:00
彭勇升 pengys
ed507b78ef
Dirty-Read in concurrency ( #3117 )
...
* Fixed the problem of dirty reading of the storage implementation of elasticsearch.
* Fixed a mistake.
2019-07-19 14:22:01 +08:00
吴晟 Wu Sheng
d2f52f28b4
Make #finish more stable in async APIs ( #3115 )
...
* Make finish more stable in async APIs
2019-07-18 23:08:46 +08:00
吴晟 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