Commit Graph

513 Commits

Author SHA1 Message Date
Wing c778007c02
refine backend doc (#7559) 2021-08-25 14:17:08 +08:00
吴晟 Wu Sheng db2bc93573
Separate agent docs to avoid long single page. (#7537) 2021-08-23 20:10:01 +08:00
Daming a2e011f9b0
Kafka extra producer configuration enhancement (#7526) 2021-08-23 17:16:19 +08:00
Wing 8f7d16a18e
Refine backend doc (#1) (#7522)
* Refine dynamic-config.md

* Refine dynamical-logging.md

* Refine endpoint-grouping-rules.md
2021-08-21 14:00:26 +08:00
kezhenxu94 1af2e46e33
Add a new API to test log analysis language (#7475) 2021-08-18 16:40:25 +08:00
kezhenxu94 6bb4d35ce8
Add all agent config to `agent.conf` file for convenient containerization use cases (#7470)
* Add all agent config to `agent.conf` file for convenient containerization use cases

* Fix name and default value
2021-08-18 10:25:28 +08:00
王旺 77bf5de7f6
Polish otel receiver doc (#7464)
* modify receiver and vm-monitoring doc

* Polish the doc.

* Add changelog.

Co-authored-by: wang <wang@163.com>
Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
2021-08-16 11:31:15 +08:00
hailin0 ce45397c56
Fix kafka-reporter-plugin shade package conflict (#7463)
* Fix kafka-reporter-plugin shade package conflict

Don't shade lz4, snappy or zstd package because they call native library files.
2021-08-15 21:55:45 +08:00
Wing cf08a2da37
refine backend doc (#7451) 2021-08-13 21:06:17 +08:00
Yihao Chen ac4330c0bc
Add a doc section for Python agent log reporter. (#7430) 2021-08-10 15:39:09 +08:00
wankai123 4e7d80fb88
Support Metric level function `serviceRelation` in `MAL` and binding envoy metrics into the topology. (#7399)
* Support Metric level function `serviceRelation` in `MAL`.
* Support envoy metrics binding into the topology.
* add istio args
* remove istio 1.7

Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
Co-authored-by: Jared Tan <jian.tan@daocloud.io>
Co-authored-by: Zhenxu <kezhenxu94@apache.org>
2021-08-06 17:09:13 +08:00
Gao Hongtao 1f28d2036a
Add logging module to load log configuration dynamically (#7377)
* Add logging module to load log configuration dynamically

Signed-off-by: Gao Hongtao <hanahmily@gmail.com>
2021-07-29 19:55:22 +08:00
pkxiuluo ffc69dc6f3
ES storage support set order of index template. (#7378) 2021-07-27 20:13:31 +08:00
Jared Tan 90de9f9515
add sending Envoy Metrics to OAP example within envoy 1.19 and bump up to Envoy V3 api. (#7366)
* bump up envoy metrics service sinks version. and update envoy.yaml config for demo.
2021-07-23 22:59:51 +08:00
吴伟杰 da9426dd6e
Upgrade agent plugin for ElasticJob 3.0.0 GA version (#7345)
* Upgrade agent plugin for ElasticJob 3.0.0 GA version.

* Remove 3.0.0 alpha support.
2021-07-22 15:30:00 +08:00
wankai123 a1c53bb866
doc: Add Self Observability service discovery (k8s) (#7339) 2021-07-20 18:02:51 +08:00
kezhenxu94 902b6c540b
Fix dead links (#7338) 2021-07-20 08:54:05 +08:00
Cool-Coding 467a95b61d
Fix the problem of -meters metrics topic isn't created with namespace prefix (#7325) (#7330) 2021-07-19 14:58:24 +08:00
吴伟杰 06e589fab0
Remove plugins for ShardingSphere legacy and unstable versions (#7323)
Remove the following plugins due to they are legacy and unstable releases.
1. sharding-jdbc-1.5.x-plugin
2. sharding-sphere-4.x-rc3-plugin
3. sharding-sphere-4.x-plugin (This is for RC1 and RC2)

To people who want to use these removing versions, you still could copy the plugins from SkyWalking's 8.6.0 release to the '/plugins' folder to activate, unless SkyWalking has some core level APIs upgrade. This is very rare to happen.
2021-07-18 20:35:54 +08:00
吴晟 Wu Sheng a6afcac86e
Logically revert #6642 and partial #7153 to reduce unnecessary thread and concurrency process (#7318)
The key logic behinds all these is, metrics persistence is fully asynchronous.

* The core/maxSyncOperationNum setting(added in 8.5.0) is removed due to metrics persistence is fully asynchronous.
* The core/syncThreads setting(added in 8.5.0) is removed due to metrics persistence is fully asynchronous.
* Optimization: Concurrency mode of execution stage for metrics is removed(added in 8.5.0). The only concurrency of prepare stage is meaningful and kept.
* Remove the outside preparedRequest list initialization, worker instance could always build a suitable size list in the first place (Reduce Array.copy and GC load a little).
2021-07-17 16:03:50 +08:00
wankai123 9f3ff517d1
Support envoy cluster manager metrics (#7294) 2021-07-16 15:35:48 +08:00
吴晟 Wu Sheng 8df362b929
Adjust ElasticSearch index refresh period as INT(flushInterval * 2/3) (#7310)
Adjust index refresh period as INT(flushInterval * 2/3), it used to be as same as bulk flush period. At the edge case, in low traffic(traffic < bulkActions in the whole period), there is a possible case, 2 period bulks are included in one index refresh rebuild operation, which could cause version conflicts. And this case can't be fixed through core/persistentPeriod as the bulk fresh is not controlled by the persistent timer anymore.

This PR should avoid the following exception in the low load case, especially when bulkActions is set larger than the number of a metric type.
2021-07-16 12:10:35 +08:00
wankai123 2870b222b4
doc: separate infra monitoring doc to vm and k8s (#7301) 2021-07-15 10:23:49 +08:00
吴晟 Wu Sheng de975c7e2b
Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293)
* Performance: remove the synchronous persistence mechanism from batch ElasticSearch DAO. Because the current enhanced persistent session mechanism, don't require the data queryable immediately after the insert and update anymore.
* Performance: share `flushInterval` setting for both metrics and record data, due to `synchronous persistence mechanism` removed. Record flush interval used to be hardcoded as 10s.
* Remove `syncBulkActions` in ElasticSearch storage option.
* Increase the default bulkActions(env, SW_STORAGE_ES_BULK_ACTIONS) to 5000(from 1000).
* Increase the flush interval of ElasticSearch indices to 15s(from 10s)

Add these 2 references. According to these, **(same _index, _type and _id) in same bulk will be in order**
1. https://github.com/elastic/elasticsearch/issues/50199
2. https://discuss.elastic.co/t/order-of--bulk-request-operations/98124

Notice, the order of different bulks is not guaranteed by the ElasticSearch cluster. We are going to have the risk of dirty write. But consider we set over 20s period between flush, and index flush period is 10, we should be safe.

Recommend 5000 bulk size and 15s flush interval only. The persistent period has been set to 25s.
2021-07-14 17:19:49 +08:00
whl12345 9e022d1a73
Provide plugin for Guava Cache (#7235) 2021-07-08 11:58:09 +08:00
Sergi Castro d15b67bd97
Allow configuring max request header size (#7249)
* Allow configuring max request header size

This allows configuring the HTTP max request header size from the jetty
server.
By default it uses 8192, the same jetty default.
2021-07-06 15:10:15 +08:00
Daming 5dd56a5ca4
Upgrade etcd cluster coordinator and dynamic configuration to v3.x (#7215) 2021-07-05 11:23:11 +08:00
Jared Tan 0efc733901
Replace zuul proxy with spring cloud gateway 2.x. in webapp module. (#7220) 2021-07-04 10:24:56 +08:00
mrproliu 156678a8bf
Move ehcache-2.x plugin as optional (#7236) 2021-07-03 16:56:05 +08:00
liqiangz 0f62d9289f
Add agent plugin to support Sentinel (#7190) 2021-07-03 00:20:14 +08:00
吴晟 Wu Sheng f32d3d0720
Enhance the storage session mechanism (#7221) 2021-07-01 23:25:52 +08:00
Jing da5af095ab
Fix bug with error topic in kafka fetcher md. (#7223) 2021-07-01 21:06:41 +08:00
吴晟 Wu Sheng 536b7d2328
Support connectTimeout and socketTimeout settings (#7214) 2021-07-01 08:20:59 +08:00
吴伟杰 0975809e43
Add an agent plugin for ShardingSphere 5.0.0-beta (#7171) 2021-06-30 21:00:20 +08:00
kezhenxu94 dcefc69edf
Doc: update doc to declare that zookeeper 3.5+ is required in cluster coordinator (#7212) 2021-06-30 19:21:02 +08:00
吴晟 Wu Sheng 50a0bcbf73
Optimize L1 aggregation, enhance gRPC client between L1 and L2 aggregation. (#7206)
1.0Performance: Add L1 aggregation flush period, which reduces the CPU load and helps young GC.

2. Replace do not direct send after the first aggregation to reduce the network #6400.

3. Enhance the DataCarrier to notify the consumer in no enqueue event in short term.

4. L1 aggregation flush period still works even no further metrics generated, powered by <3>

5. Fix gRPC remote client OOM. The concurrency control mechanism failed.
2021-06-30 19:14:20 +08:00
Alvin a966eea35c
Support prepare and save metrics concurrency (#7153) 2021-06-29 14:34:29 +08:00
wallezhang 1bc69370bf
feat: add neo4j-4.x-plugin (#7099) 2021-06-22 15:36:51 +08:00
吴晟 Wu Sheng 09944e00a9
Update log-analyzer.md (#7141) 2021-06-21 10:36:37 +08:00
吴晟 Wu Sheng 02c572a3db
Polish log doc (#7140) 2021-06-21 09:33:44 +08:00
kezhenxu94 6caf29733f
Add FluentBit integration E2E test and doc (#7138) 2021-06-20 21:56:45 +08:00
吴晟 Wu Sheng ed4310920a
Reorganize document menu. (#7137) 2021-06-20 14:13:46 +08:00
wankai123 19a068d708
Feature: support endpoint name grouping by OpenAPI definitions. (#7130) 2021-06-20 07:57:10 +08:00
mrproliu 553dd7c061
Disable spring sleuth analyzer by default (#7106) 2021-06-11 16:59:57 +08:00
Wing 8258407b7a
Refine backend doc (#7092) 2021-06-10 08:50:51 +08:00
吴晟 Wu Sheng 7aa1996252
Polich 8.6.0 doc (#7079) 2021-06-08 09:05:41 +08:00
Wing 971360a7db
Refine backend (#3) (#7068)
* Refine backend-meter.md

* Refine backend-receivers.md
2021-06-04 20:00:11 +08:00
Wing da75a7f238
Refine backend (#2) (#7056) 2021-06-02 15:32:11 +08:00
wankai123 6a73607ad0
chore: fix some typos (#7036) 2021-05-29 11:46:57 +08:00
Zhenxu 1c51550830
Remove inexisting config item and doc (#7033) 2021-05-28 08:14:04 +08:00