Commit Graph

956 Commits

Author SHA1 Message Date
zifeihan 8a2a0008ba
Add `slowTraceSegmentThreshold` to forcibly sample slow traces (#5707) 2020-10-30 14:30:19 +08:00
mrproliu af41da0e93
Support choose files to activate the meter analyzer (#5748) 2020-10-29 23:46:07 +08:00
kezhenxu94 92bb474c2d
Improve Kubernetes service registry for ALS analysis (#5722)
The current implementation of envoy ALS K8S analysis is based on the hierarchy, pod -> StatefulSet -> deployment, StatefulSet, or others. It's freaky and different from the Istio Kubernetes registry.

The new path is pod -> endpoint -> service, and we should leverage Informer API instead of raw Kubernetes API.
2020-10-29 18:22:38 +08:00
Daming 0c4827d056
remove finagle-6.25.0-scenario (#5747) 2020-10-29 07:50:57 +08:00
kezhenxu94 f6858cf25f
docs: remove dead links (#5729) 2020-10-26 18:16:44 +08:00
1095071913 dbf6639b5a
Update powered-by.md (#5723) 2020-10-25 20:21:28 +08:00
Gao Hongtao 9ce47d5bdc
Meter Analysis Language (#5531) 2020-10-21 16:45:47 +08:00
Ax1an 287b8b9be5
Add syncBulkActions config to avoid the large amount of metrics data written ES in a single sync bulk request. (#5699) 2020-10-21 12:23:32 +08:00
momo0313 3fba656a8c
Update powered-by.md (#5703)
added essence.com.cn
2020-10-21 11:20:57 +08:00
zifeihan f5e38b88e3
Add agent config `PROPERTIES_REPORT_PERIOD_FACTOR `, Avoid the instanceTraffic record properties is null. (#5688) 2020-10-20 12:02:27 +08:00
吴晟 Wu Sheng 86ba4258c1
Add browser performance dashboard. (#5686)
* Add browser performance dashboard.

* Fix file header missing.

* Make sure the templates in A-Za-z
2020-10-19 23:13:01 +08:00
mrproliu 7b2a0b4dac
Provide labeled meter when receive meter (#5659) 2020-10-17 22:36:12 +08:00
zifeihan 06bec02869
Fix application start duration log "Failed to load class org.slf4j.impl.StaticLoggerBinder." (#5678)
* Fix application start duration log "Failed to load class "org.slf4j.impl.StaticLoggerBinder"." when use kafka reporter. because kafka reporter use slf4j-api, but no implementor for slf4j.

* Polishing.

* Adapter slf4j Logger of agent used to skywalking agent Logger.

* Make the comments more accurate.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-17 09:44:42 +08:00
Daming 98968122e9
Provide Thrift Plugin (#5644) 2020-10-16 16:09:47 +08:00
xbkaishui d5a28baa65
Support Nacos auth (#5669)
* Support Nacos auth
2020-10-16 14:46:53 +08:00
kezhenxu94 d113f58645
test: add a tool to select a suitable group for a new plugin test and remove the outdated group size of plugin tests (#5676) 2020-10-16 08:44:55 +08:00
Rei Shimizu f48e4961ec
docs: fix broken istio-architecture svg (#5664)
* docs: fix broken istio-architecture svg

* server -> service
2020-10-15 00:19:35 +08:00
Gallardot b24e3f3737
Fix typo in backend-storage.md (#5662) 2020-10-14 17:07:17 +08:00
吴晟 Wu Sheng 2b9de2007f
Separate UI template files for further enhancement. (#5656)
* Separate UI template files for further enhancement.

* Add doc about the UI template.
2020-10-13 20:04:08 +08:00
mrproliu 494c146ed5
Provide meter agent test tool support (#5648) 2020-10-13 07:58:14 +08:00
吴晟 Wu Sheng 803f6f2839
Add SW_NO_UPSTREAM_REAL_ADDRESS config doc (#5650)
* Add SW_NO_UPSTREAM_REAL_ADDRESS config doc

* Fix legal config issue.

* Update docs/en/setup/backend/configuration-vocabulary.md

* Add a test case to verify the module config initializer, which only supports 4 simple types.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-10-12 20:52:53 +08:00
xbkaishui 77a16c50ce
Fix typo issue (#5635) 2020-10-09 16:40:50 +08:00
吴晟 Wu Sheng ea3b099978
Add a missing link of the health check doc. (#5634) 2020-10-08 18:52:11 +08:00
Hoshea Jiang a785be4f2b
Add more details about committer (#5631)
* Add more details about committer
2020-10-07 16:30:25 +08:00
xbkaishui 117afff36f
Support Alarm to dingtalk (#5628)
* Add dingtalk webhook

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-10-05 20:16:18 +08:00
xbkaishui c9b6a78ca9
Limit Sql body size (#5626) 2020-10-04 23:22:32 +08:00
code 5ed9762db6
new components id for envoy proxy (#5629)
Signed-off-by: wbpcode <comems@msn.com>
2020-10-04 22:09:26 +08:00
xbkaishui 2c729b5d69
Support group concept in the alarm core (#5615) 2020-10-03 23:26:29 +08:00
吴晟 Wu Sheng 103cf00672
Support JDK 11 compiling and upgrade dependencies (#5579)
* Upgrade dependencies and make the JDK11 compiling passed.

* Update license and fix license check file.

* Add CI for JDK11 compiling.

* Update doc.
2020-09-29 10:34:21 +08:00
Ax1an 59e8764088
Optimizing grafana self monitoring dashboard. (#5574) 2020-09-28 17:34:57 +08:00
vcjmhg 806666b4cc
add webflux webclient plugin (#5493) 2020-09-27 22:38:07 +08:00
mrproliu a68be426a0
Provide metrics APIs for agent plugin (#5523) 2020-09-26 21:30:37 +08:00
kezhenxu94 ea69ae6a58
Update als_setting.md (#5562) 2020-09-26 12:30:13 +08:00
zifeihan 84d49c4412
Add kafka config for how long does kafka query server topic will trigger timeout (#5554) 2020-09-25 13:03:51 +08:00
zhang-wei 5b5a122b2c
doc fix (#5548) 2020-09-23 23:25:30 +08:00
harvies fa62c637c2
remove minor version test tasks (#5544)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-23 21:17:54 +08:00
zhang-wei 7135414c3c
Fixed some bugs with browser-recevier (#5543) 2020-09-23 18:48:06 +08:00
harvies c33a55cda1
Test for mongo3.x support version (#5539) 2020-09-22 22:08:58 +08:00
harvies 1ff25ac4f4
Support mongo driver 4.x version. (#5512) 2020-09-22 17:09:24 +08:00
吴晟 Wu Sheng 075cb981a9
Add `MOUNT` config in the agent core. (#5529) 2020-09-22 07:14:34 +08:00
hailin0 e200ef1045
Add support for xxl-job (#5519) 2020-09-20 10:04:32 +08:00
Daming fe77465540
Update How-to-enable-kafka-reporter.md (#5517) 2020-09-18 21:55:18 +08:00
xbkaishui f397c1bb49
support build individual module (#5489)
* support build single module

* enforce maven version must greater than 3.6

* update build doc to support maven3.6+
2020-09-16 08:12:42 +08:00
Gao Hongtao 50d2ff75bc
Parse TLS mode from ALS (#5454)
* Parse tls mode from als

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Polish code

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2020-09-13 14:52:39 +08:00
xbkaishui c408cf9678
Alarm support wechat webhook (#5474)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-12 21:35:42 +08:00
Evan 29de696c42
exception-ignore-plugin (#5426) 2020-09-09 15:07:01 +08:00
Xin,Zhang 1b5dd9b3f3
Move spring webflux into optional plugin (#5445)
* Move spring webflux into optional plugin

* Fix compile check

* Fix check style

* Adjust code

* add docs

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

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-09 09:53:07 +08:00
CoderGang c89e766f0d
Fix the bug #5443 and add documents for the local E2E remote debugging. (#5457)
* fix the E2E bug when running locally with multiple `docker-compose.yml` files #5443

* add documents for the for local remote debugging.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-09-09 00:26:11 +08:00
Evan 4f1dab7003
Support segment status based on entry/first span only (#5416) 2020-09-05 20:20:21 +08:00
Gao Hongtao 35264e6171
Support SSL for prometheus telemetry and prometheus fetcher (#5431)
* Support SSL for prometheus telemetry and prometheus fetcher
* Documents
* Clear up abandunt dependencies
* Update license

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-09-05 17:01:09 +08:00
Gao Hongtao 1473c04d3e
Introduce label system to histogram (#5425) 2020-09-04 14:49:47 +08:00
Evan 0e132685e6
fix doc on recently pr (#5432) 2020-09-03 23:20:36 +08:00
zhang-wei 9143f1342d
Support HTTP api for browser recevier (#5429)
* support http api
2020-09-03 17:12:07 +08:00
Evan 15b0068fdf
Add superdataset replicas number config (#5424)
* distinct the number of metrics or common record index with super dataset index.
2020-09-01 23:06:21 +08:00
Gao Hongtao 30ce1959a7
Hot reload gRPC certs of OAP. (#5376) 2020-08-31 23:11:01 +08:00
zhang-wei 7ef8b3e476
Support Browser protocol at OAP (#4228) 2020-08-31 15:46:37 +08:00
Gao Hongtao 6b6e4d7624
Update als_setting.md (#5414)
Add an example to present how to integrate skywalking and istio als.
2020-08-31 09:30:26 +08:00
hailin0 ca957699dc
Add support for quartz-scheduler (#5413) 2020-08-30 23:48:26 +08:00
Lu Jiajing 9442a51c11
JsonLogger implementation (#5356) (#5357) 2020-08-29 23:17:29 +08:00
zifeihan cbb2e1793b
Update configuration-vocabulary.md and trace-sampling.md (#5409) 2020-08-29 15:29:52 +08:00
zifeihan 6227db19cd
Save error trace segment even that segment will abandoned by sampling mechanism (#5407)
* Save some error trace segment, event this segment abandoned by server side trace sampling mechanism.
* Support forceSaveErrorSegment config to control force save some error segment.

Co-authored-by: echo <zifeihan@foxmail.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-08-28 20:37:19 +08:00
吴晟 Wu Sheng b11c3519e0
Fix bug. (#5400) 2020-08-27 19:51:58 +08:00
lazycathome fda4bbd29d
Update powered-by.md (#5398) 2020-08-27 17:37:16 +08:00
zhang-wei c5df0760f2
Support IN filter expressions in OAL (#5390) 2020-08-26 23:50:59 +08:00
huawei 17225487d7
Update vote check list (#5380)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-08-26 10:12:03 +08:00
吴晟 Wu Sheng e878c11158
Open more grpc config in the default application.yml (#5379) 2020-08-26 08:48:18 +08:00
xbkaishui 481257ade5
fix typo error (#5374)
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-08-24 22:11:16 +08:00
Daming 6c1659c56a
[plugin/test] Plugin test with jdk14 (#5352)
* plugin test with jdk14

* introduce jdk14 container

* remove docker:build

* remove BUILD_NO and introduct image_version

* Update docs/en/guides/Plugin-test.md

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-08-24 20:17:22 +08:00
hailin0 1b54b61a88
Add support for spring @Scheduled (#5339) 2020-08-23 17:13:49 +08:00
Jared Tan 3dfa40ebb5
support Slack alarm hooks (#5364) 2020-08-22 17:18:09 +08:00
xbkaishui 79c1c0cc76
Support http header tag (#5348) 2020-08-20 10:43:28 +08:00
Gao Hongtao 19836e64bb
Add labeled metrics to alarm system (#5276) 2020-08-18 22:55:01 +08:00
Evan a6e45d04c9
spring annotation enhance (#5320) 2020-08-17 10:14:40 +08:00
Evan 68317dd910
Add agent plugins selector (#5293) 2020-08-14 15:06:30 +08:00
于玉桔 ab5555fe27
Support @KafkaPollAndInvoke annotation to replace @Trace when just using the Kafka scenario agent plugin (#5304) 2020-08-13 21:18:04 +08:00
kezhenxu94 ecc18b9be3
Support !=, like filter expressions in OAL (#5269) 2020-08-11 09:37:21 +08:00
吴晟 Wu Sheng 7f7e96b088
[IMPORTANT] Query traces with tags as condition (#5270) 2020-08-11 07:24:40 +08:00
于玉桔 e37fc2e439
Support spring-kafka (#5254) 2020-08-10 19:13:19 +08:00
Evan 2df3c683ba
Super Size Dataset record index es rolling step (#5282) 2020-08-10 14:49:11 +08:00
于玉桔 69297b9ec6
Support Apache ShardingSphere-Elasticjob (#5153) 2020-08-10 10:48:23 +08:00
吴晟 Wu Sheng 29a9d1cf76
Add iQIYI.COM at the powered by page (#5279) 2020-08-09 18:38:03 +08:00
吴晟 Wu Sheng 6910ff3d07
Add Customization Config section for plugin development. (#5249) 2020-08-06 14:44:42 +08:00
zshit dd6f439df1
support collecting feign params (#5235) 2020-08-06 13:09:31 +08:00
吴晟 Wu Sheng 6c487ddd16
Remove unnecessary document. (#5240) 2020-08-05 20:34:15 +08:00
于玉桔 7a20c260bb
Add HBase hbase-client plugin (#5225) 2020-08-05 17:55:20 +08:00
于玉桔 4149ac59fe
The Dubbo plugin can collect more information by custom (#5209) 2020-08-04 23:26:56 +08:00
Daming 052818041b
Fix typo (#5214) 2020-08-03 12:38:37 +08:00
吴晟 Wu Sheng 78a355e6c3
Update README.md (#5206) 2020-07-30 19:02:48 +08:00
Daming f9257f5274
Provide kafka as collector/reporter (#4847) 2020-07-30 11:55:49 +08:00
Ax1an 5d7da1aead
Add internalComHost and internalComPort config to Nacos. (#5192) 2020-07-29 15:54:10 +08:00
吴晟 Wu Sheng bebaf9bd4d
Update doc links for adopting the 2 nodejs agents. (#5182) 2020-07-27 17:28:50 +08:00
吴晟 Wu Sheng 906c2329fc
Changelog of 8.1.0 release. (#5180) 2020-07-27 13:57:57 +08:00
mrproliu 925c0d74c7
Provide server-side meter (#4972) 2020-07-25 21:17:32 +08:00
Jared Tan db9f8e6e00
Support Jetty server advanced configuration. (#5147) 2020-07-25 17:41:49 +08:00
songzhendong 119af6ea1c
Add Tomcat 9 install document for java agent (windows) (#5169)
Add Tomcat 9 install document for java agent (windows)

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-07-24 22:10:31 +08:00
吴晟 Wu Sheng 2c676ead24
Add OAP configuration vocabulary documentation. (#5149) 2020-07-23 08:24:40 +08:00
Stalary 1877d0fcf4
Add jvm_thread metrics (#5129) 2020-07-22 09:05:32 +08:00
songzhendong b363b0ea4f
Add Nacos back into SkyWalking as an option(nacos-1.3.1) (#5137) 2020-07-21 23:30:06 +08:00
Evan e0325a4407
Configmap configuration (#4959) 2020-07-20 12:35:35 +08:00
吴晟 Wu Sheng 0339889e11
Fix backend-telemetry.md format (#5107)
* Update backend-telemetry.md

Fix doc format.

* Update backend-setup.md

Remove out-of-date inventory documentation.
2020-07-16 17:40:18 +08:00
xin a6c3aad8fa
Fix config file and document typo for ttl (#5087) (#5088) 2020-07-12 17:36:35 +08:00
Gao Hongtao b6661b5164
Add health checker module (#5046) 2020-07-10 00:30:43 +08:00
wangwei 20062c6863
add istioctl ALS command for document (#5066)
* add istioctl ALS command

* add note
2020-07-09 15:06:45 +08:00
songzhendong 6ba9c7f81b
Dynamic Configuration Zookeeper Implementation (#5040) 2020-07-07 09:43:44 +08:00
killGC 73ee3103e2
support sampleRate as Dynamic Configuration (#4968) (#4987) 2020-07-07 08:40:44 +08:00
Ax1an a3ae7b4dc6
Fix no data bug of oap self observability instance_metrics_second_aggregation metrics. (#5028) 2020-07-06 13:03:36 +08:00
caoyixiong 80a534b1bb
support Graphql Logic endpoint (#5030) 2020-07-05 23:37:09 +08:00
Gao Hongtao 1654a0fbf0
Add opencensus reciever (#5029)
Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2020-07-05 20:53:16 +08:00
吴晟 Wu Sheng 310b8857b2
Update Java-Plugin-Development-Guide.md (#5020)
Fix doc format.
2020-07-03 17:31:24 +08:00
于玉桔 00619a9a3d
Java agent memory leak when enhance `Worker thread` at use Thread Pool (#5009) 2020-07-02 09:27:06 +08:00
gongdewei 1817386391
Support cache mode in the agent. (#4858) 2020-07-01 23:20:50 +08:00
吴晟 Wu Sheng a93f1b3c3c
Support `logic-endpoint` series tag(s). (#4985)
* Support `logic-endpoint` series tag(s).

* Enhance the plugin dev doc.

* Update Java-Plugin-Development-Guide.md

fix punctuation

Co-authored-by: caoyixiong <32847163+IanCao@users.noreply.github.com>
2020-06-30 00:07:53 +08:00
caoyixiong 31f42343f6
add brpc-java plugin (#4958) 2020-06-27 14:57:29 +08:00
mrproliu cc9ea271a7
Provide agent-side meter api (#4816) 2020-06-22 14:07:34 +08:00
dagmom 08897ce5f8
New feature provided : new plugin for influxdb-java client (#4846) 2020-06-21 22:35:45 +08:00
于玉桔 c778a0d6c2
Support Quasar fiber tracing (#4951) 2020-06-20 22:30:03 +08:00
天马行空 520cee30f3
Update powered-by.md (#4948) 2020-06-19 16:50:27 +08:00
OWL c34bf6f81b
dxy join in skywalking (#4940) 2020-06-17 19:31:56 +08:00
xiaoyu 164124fc22
provider shardingSphere 4.0.0 4.0.1 plugin. (#4927) 2020-06-15 17:03:17 +08:00
xiaoyu a24efcf5e9
ShardingSphere plugins conflict among themselves. (#4921)
* Fix shardingSphere plugin test fail if have some same ENHANCE_CLASS define.

* support 4.1.0 and 4.1.1

* support 4.1.0 and 4.1.1
2020-06-14 18:48:07 +08:00
novayoung 46fede56b1
Add "Hydee Soft" to the powered-by page (#4914) 2020-06-12 14:36:34 +08:00
songzhendong 86fd1900de
Update backend-cluster.md (#4910) 2020-06-12 07:50:40 +08:00
Xin,Zhang 7b99019c49
Refactory spring gateway plugin (#4878) 2020-06-12 00:25:41 +08:00
吴晟 Wu Sheng dacacf7bbd
Update README.md (#4908) 2020-06-11 20:07:20 +08:00
Gao Hongtao 5038f07094
Update prometheus fetcher for so11y (#4902) 2020-06-11 16:58:28 +08:00
xiaoyu 9a9401fdb6
provide shardingSphere(4.0.0,4.0.1, 4.1.0 ,4.1.1) plugin. (#4894) 2020-06-11 14:49:04 +08:00
吴晟 Wu Sheng 101442bedc
Fix a wrong config and update the youtube video. (#4899) 2020-06-11 11:06:37 +08:00
吴晟 Wu Sheng df83490ae6
UI is ready for 8.0.0 release. (#4896) 2020-06-10 20:35:46 +08:00
何延龙 d982576af4
PHP component (#4882) 2020-06-09 15:55:19 +08:00
吴晟 Wu Sheng eb1cc71b6e
Clean up removed configurations. (#4884) 2020-06-09 12:03:59 +08:00
吴晟 Wu Sheng 98e29a6028
Update README.md (#4870)
Fix a missing link
2020-06-08 11:11:06 +08:00
Gao Hongtao 4f0f39ffcc
Ingest prometheus metrics through meter system (#4783) 2020-06-08 09:19:34 +08:00
songzhendong f3d907bf6d
Remove nacos (#4867)
* Add annotation(AlarmCore.start)

* Upgrade nacos version to 1.2.0

* Revert "Upgrade nacos version to 1.2.0"

This reverts commit 4d7b06f6d20ee09ad377ad6ef736aeab429314e0.

* Update nacos version to 1.2.0(Solve the security problem of the old version of fastsjon)

* Recovery annotation

* Recovery annotation

* Update nacos version to 1.2.0

* Update tls_key_generate.sh path

Update tls_key_generate.sh path

* Add annotation(AlarmCore.start)

* Revert "Upgrade nacos version to 1.2.0"

This reverts commit 4d7b06f6d20ee09ad377ad6ef736aeab429314e0.

* Update nacos version to 1.2.0(Solve the security problem of the old version of fastsjon)

* Recovery annotation

* Recovery annotation

* Update tls_key_generate.sh path

* Execution Authority

* Remove nacos

* remove nacos code

* remove nacos

remove nacos

* remove nacos

remove nacos

* remove nacos

* remove nacos

Co-authored-by: songzhendong <289505773@qq.com>
Co-authored-by: songzhendong <songzhendong@xiaomi.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-06-06 14:23:12 +08:00
吴晟 Wu Sheng d094a0f7c0
Support UI template management. (#4843) 2020-06-01 23:06:14 +08:00
Jared Tan 42d79bf08d
Fix too many mang ipv4 records reported by the agent when deployed in container. (#4817) 2020-05-25 16:15:10 +08:00
吴晟 Wu Sheng a10e044932
Group Parameterized Endpoints (#4802)
* Group Parameterized Endpoints. Configure the grouping rules for parameterized endpoints, to improve the meaning of the metrics.
2020-05-20 22:50:22 +08:00
Evan 17757b7046
Add Baidu to the powered-by page (#4798) 2020-05-17 20:01:01 +08:00
吴晟 Wu Sheng 2dd9a3fd19
Add v8 upgrade document and fix some tiny doc issues. (#4787)
* Add v8 upgrade document and fix some tiny doc issues.

* Add link to STAM paper.
2020-05-14 18:43:32 +08:00
mrproliu 8af10bed11
Support regex to include or exclude the names in alarm module (#4775)
* Support regex to include or exclude the names, requested through mail list, https://lists.apache.org/x/thread.html/rb6d91093776cf61880425449d3d25f9d560cd32363c0075de9a85d13@%3Cdev.skywalking.apache.org%3E

Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-05-13 14:34:16 +08:00
TerrellChen cd41b223b8
Delete removed method in 8.0.0 (#4778) 2020-05-12 23:21:25 +08:00
吴晟 Wu Sheng 39adda09f3
Make the default application.yml more friendly in the configuration s… (#4777)
* Make the default application.yml more friendly in the configuration section.

* Fix an issue in python e2e.
2020-05-12 16:55:31 +08:00
mrproliu 749af3e04e
Alarm support multiple scope (#4769)
* Support service relation and database access alarm

* support service instance relation alarm

* support endpoint relation alarm

* document and format the name

* resolve issues

* add database access and endpoint relation rule example

* resolve code format

* remove unnecessary getter and setter package declare

* remove unnecessary fields

Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-05-11 00:28:10 +08:00
吴晟 Wu Sheng 2880699860
Make OAL controlled by the receivers. (#4767)
* Split the official_analysis.oal into different parts

* Add Envoy OAL define.

* Fix license.
2020-05-09 21:39:19 +08:00
mrproliu 816878897c
Support multiple ways to analyze segments in rest (#4745)
* support multiple segments analyze

* Support multiple ways to analyze segment data

* Change to support single or list of the segment data, add the document

* fix document and change the lua agent commit id

Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-05-08 22:54:36 +08:00
kikupotter b5c9a64fa9
Update powered-by.md (#4760)
* Update powered-by.md

* Update powered-by.md

Change order

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-05-08 18:45:22 +08:00
吴晟 Wu Sheng 377315edbb
Make sure the DB service could be generated. (#4757) 2020-05-08 11:14:16 +08:00
songzhendong d713076f01
Update the path of tls_key_generate.sh script (#4756) 2020-05-08 08:59:19 +08:00
Efe Kaptan d19ba41678
Mariadb JDBC plugin (#4740)
* Add Mariadb JDBC plugin and provide tests

* Refactor component name

* Reformat plugin description and remove healthcheck span from the test

Co-authored-by: Efe Kaptan <Efe.Kaptan@webtrekk.com>
Co-authored-by: zhang-wei <pknfe@outlook.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-05-07 20:54:30 +08:00
kezhenxu94 c9ac104120
Add python project into the project page (#4752)
* Add python project into the project page

* Update README.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-05-07 08:25:59 +08:00
Jared Tan d51c788113
support user to customize an endpoint (#4716)
* support user to customize an endpoint with toolkit.

* fix code style.

* add md.

* Update docs/en/setup/service-agent/java-agent/Application-toolkit-trace.md

Co-Authored-By: 吴晟 Wu Sheng <wu.sheng@foxmail.com>

* add test case.

* fix expecteddata.tml.

* fix data.

* fix expecteddata.tml.

* remove operationId in expectedData.yaml.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-29 19:39:52 +08:00
吴晟 Wu Sheng 217bb624f6
Support percentile function in the meter system. (#4725)
* Support percentile function in the meter system.

* Update document.

* Fix formats.
2020-04-29 08:43:26 +08:00
吴晟 Wu Sheng 7c84e77bf2
Support histogram function in Meter system. (#4719)
* Support histogram function in Meter system.
* Add histogram in the document.
* Support infinite-
2020-04-27 14:38:38 +08:00
innerpeacez 3bc6cb270c
k8s doc https://github.com/apache/skywalking-kubernetes (#4715)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-26 12:38:20 +08:00
吴晟 Wu Sheng 071708a4a3
Support default value in labeled-value and heatmap query. (#4711)
* Support default value in labeled-value and heatmap query.

* Update a little document.
2020-04-25 21:24:15 +08:00
J-Cod3r 2b41aea639
log4j2 support AsyncAppender print tid (#4670)
* log4j2 support AsyncAppender print tid
2020-04-25 17:35:22 +08:00
zhang-wei 0babc1a6ff
Modification Plugin-test.md (#4706)
* modification doc

* modification doc

* Update docs/en/guides/Plugin-test.md

* Update docs/en/guides/Plugin-test.md

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Brandon Fergerson <fergerson92@gmail.com>
2020-04-25 14:51:09 +08:00
吴晟 Wu Sheng b635e254c4
Provide Meter(metrics) system (#4694)
Here are the basic and simple usages of the MeterSystem APIs.

## Meter Creation
New meter could be created based on metrics name, function, scope and data type. 
1. Metrics name is still the storage entity name.
2. Functions are every similar with the OAL function, just accepting different input.
```java
final MeterSystem meterSystem = MeterSystem.meterSystem(getManager());
meterSystem.create("test_long_metrics", "avg", ScopeType.SERVICE, Long.class);
```
NOTICE, this creation should only be called in the `module#prepare` stage, otherwise, `Can't create new metrics anymore` exception will be raised after the **CORE** module `start` stage finished. You may find out, there is a chance `create` could be executed successfully in your own `module#start` stage, but it it just because of the sequence of provider loaded by the class loader, **no guarantee, so please don't do that**.

## Runtime Calculation
`AcceptableValue` is the object created at the runtime to accept new metrics value.
```java
         final MeterSystem service = getManager().find(CoreModule.NAME).provider().getService(MeterSystem.class);
        Executors.newSingleThreadScheduledExecutor().scheduleAtFixedRate(new Runnable() {
            @Override
            public void run() {
                final AcceptableValue<Long> value = service.buildMetrics("test_long_metrics", Long.class);
                value.accept(MeterEntity.newService("abc"), 5L);
                value.setTimeBucket(TimeBucket.getMinuteTimeBucket(System.currentTimeMillis()));
                service.doStreamingCalculation(value);
            }
        }, 2, 2, TimeUnit.SECONDS);
```

## Meter Functions
Right now, only `avg` function has been implemented. I submit this PR as soon as possible to get your feedback. I will add more functions.

## Notice
1. Make slow trace query available in the sampled record. Logically, they are the same thing. The UI doesn't need to concern about the trace as a special case.
2. Endpoint dependency will be removed from the dashboard. Because no query available for it. We will provide a new page for that in 8.1
3. Comparison page will be removed due to dashboard is powerful enough to replace it.
2020-04-24 23:33:13 +08:00
Weiyi Liu cf7482a79c
Fix typo. (#4693) 2020-04-23 11:25:40 +08:00
Jared Tan ecd7d99799
fix profile main function file link. (#4650) 2020-04-14 19:57:19 +08:00
songzhendong b3b8aaea6b
Add Tomcat 9 's Java agent deployment instructions(Linux) (#4645) 2020-04-13 18:12:54 +08:00
kezhenxu94 00e8f2d886
Fix bug that the agent heart beats too frequently (#4640)
* Fix bug that the agent heart beats too frequently

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-04-12 20:48:44 +08:00
mrproliu 5646dfbb23
fix wrong correlation header name document (#4638)
Co-authored-by: Mrproliu <mrproliu@lagou.com>
2020-04-12 07:51:11 +08:00
吴晟 Wu Sheng 44cae97c25
Set up restrict length rules for service, instance and endpoint (#4633)
* Set up restrict length rules for service, instance and endpoint

* Adjust two env names.
2020-04-10 17:59:21 +08:00
吴晟 Wu Sheng 6fe2041b47
Make 8.0.0 Core available. New protocol and register removed. (#4599)
Here are the list of changes we made in this pull request. Top 3 are the principle changes, others are following these principles.
1. New agent and mesh report protocol. 
2. New agent header protocol. 
3. Service register, instance register and network address register have been removed permanently.
4. Service traffic, instance traffic and network alias metrics are added to replace the service, instance and network address inventory.
5. Register process has been removed.
6. Metrics stream process supports insert only mode, especially for traffic entities.
7. Metrics stream process supports no-downsampling mode for traffic entities and network alias.
8. Remove all register mechanism and cache in the java agent.
9. Remove MONTH step in GraphQL query.
10. Update UI to remove MONTH step query, the max query range is 60 days now.
11. Simplify the TTL to metrics and record. And the unit has been formatted in Day unit. No specific TTL for ElasticSearch storage.
12. Buffer mechanism of trace receiver and mesh receiver has been removed due to no register.
13. New service id, instance id and endpoint id rules, including service relation, instance relation and endpoint relation id rules.
14. Java agent support `keep tracing` mode, meaning, agent generating tracing context even the backend is unconnected/unavailable.
15. Plugin test tool up to date, in order to support new protocol.
16. Plugin tests expected data files updated.
17. E2E tests updated.
18. Telemetry of Grafana config has been merged into one.
19. Documentation updates.
20. [TBD] InfluxDB storage implementation is not available, need @dmsolr to fix later, in order to reduce the master change block by this PR.
2020-04-10 11:03:24 +08:00
Brandon Fergerson 50a5416117
Update Plugin-test.md (#4623) 2020-04-08 20:22:04 +08:00
吴晟 Wu Sheng fa9a44b750
Version number changed including a little documentation. (#4597) 2020-03-31 12:57:20 +08:00
吴晟 Wu Sheng 4474907fef
[Inventory Design Change] Remove endpoint register and endpoint inventory (#4570)
* Finish step one, source and entity changed.

* Step 2, finish the basic and core DAO changes.

* Step 3. Change all source codes of backend, and make project compiling successfully.

* Make startup successful and persistence works.

* Fix dead codes in the MySQLTableInstaller.

* Fix mischange.

* Fix MySQL storage bootstrap error.

* Rollback dependency change.

* Simply enable tailing logs from container no mater it's in CI or not

* Fix segment table issue.

* Fix MySQL Instanller.

* Support Influxdb implementation of new endpoint traffic.

* Set and modify timeout to 90mins

* Remove unnecessary entity in the EndpointTraffic.

* Fix wrong entity builder and make name more clear.

* Fix 2 equal methods bug.

* Fix InfluxDB identifier(name) conflict issue.

* Fix endpoint topology query, endpoint id should be changed as a string.

* Fix a missing change.

* Fix a wrong commit.

* Column name can't be changed, due to it affect the hybrid metadb(h2/mysql) query, change it explicitly with double quotation marks.

* Fix formats.

* Remove endpoint/operation register from the agent. and change the plugin tests(without local tests). operationId relation codes have been removed from agent too.

* Try to fix the hytrix case.

* Fix 3 cases.

* Try to fix cases.

* Fix 2.

* Fix one.

* Fix the serviceId type mis-change.

* Fix int query

* Fix hystrix case.

* Fix a case.

* Fix EndpointCallRelationDispatcher set the source/dest endpoint without id encoding.

* Update documentation and add 2 test cases.

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
2020-03-28 22:51:41 +08:00
yi.liang 1bc4082821
fix elasticsearch-5.x-plugin when use es6.x TransportClient error (#4517)
* up ui

* up ui

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* fix elasticsearch-5.x-plugin on es6.x TransportClient error, Found class org.elasticsearch.common.transport.TransportAddress, but interface was expected
up elasticsearch-6.x-plugin support TransportClient

* const string witnesses
add some unit test
recommended to change ; to ,

* const string witnesses
add some unit test
recommended to change ; to ,

* up ES6.X test-plugin

* up es6.x test-plugin

* up es6.x test-plugin

* up es6.x test-plugin

* add DeleteIndexRequest

* up es6.x test-plugin

* remove TransportCaseController.java

* fix TransportActionNodeProxyExecuteMethodsInterceptorTest

Co-authored-by: yi.liang <yi.liang@zhangmen.cn>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: 梁懿 <liangyi@xforceplus.com>
Co-authored-by: aderm <394102339@qq.com>
2020-03-27 13:50:27 +08:00
Scott 54d8c95cf2
Add sf express to the powered by page. (#4577) 2020-03-27 08:54:33 +08:00
Randy Abernethy a45fb308f8
Syntax, grammar and basic cleanup. (#4575)
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-27 07:54:41 +08:00
kezhenxu94 509b20e7ce
Add JDK13, JDK14 to build matrix (#4574)
Motivation:

Guarantee that the agent supports JDK13 and JDK14

Modifications:

Add JDK13 and JDK14 to build matrix

Result:

Build with JDK13 and JDK14
2020-03-26 22:13:28 +08:00
heguoya cb5ff88d95
Add yunda express to the powered by page. (#4571)
* Update powered-by.md

* Update powered-by.md

Change order.

* Update powered-by.md

Change to official company name.

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-26 12:34:30 +08:00
mrproliu 569baf3236
Correlation protocol implement (#4555)
Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-26 09:02:14 +08:00
songzhendong d53b27de1a
Update How-to-build.md (#4568)
Modify Eclipse and IDEA  steps
2020-03-25 17:07:28 +08:00
kezhenxu94 e7f66c911e
[CI] Reorganize the Plugin Tests to speed up the PR checks (#4566) 2020-03-24 23:33:15 +08:00
吴晟 Wu Sheng 7c9b6cf054
Fix a typo. (#4558)
* Update How-to-release.md

* Update How-to-release.md

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-24 08:57:47 +08:00
吴晟 Wu Sheng 2ec8e2ad7b
Update the announce process. (#4553)
* Update the announce process.

* Update How-to-release.md

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-23 15:54:24 +08:00
吴晟 Wu Sheng 259a147682
Add miss doc about collecting parameters in the profiled traces. (#4552) 2020-03-23 09:41:02 +08:00
cngdkxw 2e9f001633
Add spring cloud feign 2.x plugin (#4526) 2020-03-20 20:28:30 +08:00
吴晟 Wu Sheng 1c7529a559
Add a miss link about apdex documentation. (#4543) 2020-03-20 08:24:35 +08:00
mrproliu 919c8af377
SkyWalking Cross Process Correlation Headers Protocol (#4509)
* provide the data transmission protocol

Co-authored-by: Mrproliu <mrproliu@lagou.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: zhang-wei <pknfe@outlook.com>
2020-03-19 11:39:44 +08:00
吴晟 Wu Sheng 5d12e586c3
Add the UI usage documentation (#4533)
* Add UI documentation.

* Fix

* Fix size.
2020-03-18 12:16:57 +08:00
kezhenxu94 dcd66ee6e9
Rewrite the E2E test framework and tests (#4510)
Motivation:

According the feedback from the community, the e2e tests are hard for
them to understand and get them started, so this pull request aims to
rewrite the e2e tests with some improvements:

- debuggable locally, now you can run every individual case directly
inside the IDE, just like running a plain unit test.

- same functionalities of multiple counterparts share the same codes,
cases like different storages and cluster coordinators share the same
codes, easy to add more similar cases.

- the "end" now extends to the Doccker images, meaning that some bugs
like #4483 and #4471 can be more easily and early to be discovered.

- codes style and license headers are checked

Modifications:

- adopt jupeter (a.k.a junit 5), testcontainers as the new test
framework, all containers are orchestrated by docker-compose.yml,
well-known technology that developers should be familiar with.

- rewrite all test cases and verify them.

- reorganize the workflows in GitHub Actions.

Result:

- new e2e test should be easy to add.

- closes https://github.com/apache/skywalking/issues/4472
2020-03-16 23:45:14 +08:00
kezhenxu94 69e3d80e24
Add selector property in application.yml (#4514)
### Motivation

 Ease the efforts of modifying configurations in automatic workflow and scripts, like Docker and helm chart.

 ### Modification

 Add a `selector` property into `application.yml` to enable switching configuration simply by environment variables or system properties, and filter the unselected options, leaving only selected one.

 ### Result

 - We can switch a configuration by environment variables or system property

 - Closes #4511
2020-03-15 23:28:14 +08:00
Gao Hongtao 78d14ebbd6
Enable OAP gRPC SSL transportation (#4470)
* Enable OAP gRPC SSL transportation

Porting to OpenSSL to enable SSL transportation. The server private
key is in the format of PCKS#8, certificates is x509 though.

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Add netty-tcnative-boringssl-static 2.0.26 licnese

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update docs/en/setup/backend/grpc-ssl.md

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

* Update docs/en/setup/backend/grpc-ssl.md

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

* Add SSL to grpc remote client and sharing server

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update documents

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Fix nits

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Fix test case

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Add e2e-ssl and remove other test cases temporarily

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Add TLS relevant files

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Decrease timeout

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Test config works

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* triger CI on oap-ssl branch

* Disable agent ca

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Switch to sharing server

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Add agent log to console

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Upload log files

* Change backend

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Revert "Change backend"

This reverts commit 7a085711e3653d3bf642aa84f73650e22595e383.

* Update backend

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Revert e2e

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Ignore TSL relevant files

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Polish codes

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

* Update certificates expires year to 2120

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-15 08:15:28 +08:00
吴晟 Wu Sheng e69391a207
Support Secrets Management File in the ElasticSearch 6/7 storage (#4493)
* Temp commit

* Support secretsManagementFile file.

* Update doc.

* 1. Support JKS/pass runtime change too.
2. Follow review.

* Fix format.

* Fix username/password/trustPass haven't been updated in the es client.

* Fix doc issue.

Co-authored-by: Jared Tan <jian.tan@daocloud.io>
2020-03-13 20:50:14 +08:00
pengfei 37e93a6f41
add KubeSphere in powered-by list (#4504)
* add KubeSphere in powered-by list

Signed-off-by: FeynmanZhou <pengfeizhou@yunify.com>

* move KubeSphere alphabetically

Signed-off-by: FeynmanZhou <pengfeizhou@yunify.com>
2020-03-13 10:53:46 +08:00
yoje ced5cb2828
Add finagle plugin (#4441)
* Add finagle plugin (#4433)

* fix failed checks for pr(#4441)
* Add licenses for some files
* Update Supported doc
* Add finagle to test component-libraries.yml

* Add finagle automatic tests into CI

* Add comments

* update comments

* Remove CompatibilityChecker

* Move query-protocol submodule to the right version

* Remove `enhancedInstance.setSkyWalkingDynamicField` in `ClientTracingFilterInterceptor`.

* Update expectedData.yaml of finagle tests

* Use lazy ContextCarrier injection.

* Add comments for `ContextCarrierHelper`

* Fix ContextHolderFactory to avoid context pollution

Co-authored-by: huangyongjie <huangyongjie@tigerbrokers>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-11 13:04:58 +08:00
kezhenxu94 9c974b80b4
Fix unclear doc and add missing variable (#4484)
* Revert "[BugFix] Docker InfluxDB cannot be enabled (#4483)"

This reverts commit 73d0802cd6.

* Fix unclear doc and add missing variable
2020-03-11 07:46:59 +08:00
Gao Peng ccb23d0faf
#4463 FAQ for Maven compilation failure with error like python2 not found (#4473)
* #4463 FAQ for Maven compilation failure with error like python2 not found

* #4463 FAQ for Maven compilation failure with error like python2 not found

* Update maven-compile-npm-failure.md

* Update docs/en/FAQ/README.md

Co-Authored-By: 吴晟 Wu Sheng <wu.sheng@foxmail.com>

* Update docs/en/FAQ/maven-compile-npm-failure.md

Co-authored-by: kezhenxu94 <kezhenxu94@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2020-03-09 19:54:58 +08:00
吴晟 Wu Sheng b059f7f935
Correct the words for new PMC (#4468)
* Update committer.md

* Update committer.md

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-09 15:15:50 +08:00
吴晟 Wu Sheng cbc692908f
HTTP doc error about SpanLayer. (#4464) 2020-03-09 00:56:56 +08:00
吴晟 Wu Sheng 0439dccc30
Update Plugin-test.md (#4459) 2020-03-08 14:12:03 +08:00
Daming da44d28547
Introduce Agent-Test-Tool suite (#4458)
* Introduce Agent-Test-Tool suite

* rename term
2020-03-08 09:15:41 +08:00
吴晟 Wu Sheng 698376ec7d
Remove a wrong statement in the release guide (#4456) 2020-03-07 16:59:31 +08:00
吴晟 Wu Sheng 238007d3a5
Update How-to-release.md (#4451) 2020-03-06 23:25:46 +08:00
Jared Tan aa21765628
support http api for upstream trace. (#4399)
* support http api.

* e2e

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-03-06 21:07:39 +08:00
mrproliu 0df2d0a5e9
Provide profile exporter tool (#4416) 2020-03-04 20:28:14 +08:00
吴晟 Wu Sheng d32450aa7d
Support name column(s) in the storage for 3rd party integration, like Kibana. Default OFF (#4439)
* Support dynamic column in the source.

* Support activeExtraModelColumns as a default OFF option.

* Fix words

* Update backend-setup.md

Fix format issue.
2020-03-04 14:44:54 +08:00
aderm 467ef8bffc
Update to actions/checkout@v2, fix checks error: reference is not a tree. (#4419) 2020-02-27 22:31:58 +08:00