Commit Graph

21 Commits

Author SHA1 Message Date
吴晟 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
Wing 54997d1ecc
Refine FAQ (#6591) 2021-03-22 07:57:03 +08:00
吴晟 Wu Sheng 9268b987af
Fix wrong FAQ catalog (#6254) 2021-01-25 20:20:46 +08:00
zifeihan 43e2458e6b
[FAQ doc] Fix compiling on Mac M1 chip (#6241) 2021-01-22 09:03:50 +08:00
吴晟 Wu Sheng d1c8831d31
Add FAQ about VNode on the UI. (#5768)
* Add FAQ about VNode on the UI.

Co-authored-by: kezhenxu94 <kezhenxu94@apache.org>
2020-11-02 15:51:21 +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
于玉桔 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 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
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
mrproliu 0df2d0a5e9
Provide profile exporter tool (#4416) 2020-03-04 20:28:14 +08:00
吴晟 Wu Sheng 329f7e150b
Support Downsampling Data Packing feature in ES storage implementation (#4364)
* Support day/hour/minute metrics merging into one index. Reduce the number of index 50%.
2020-02-16 09:03:30 +08:00
吴晟 Wu Sheng 421ba88dbf
Provide the new version upgrade documentation/FAQ. (#4311)
* Provide the new version upgrade documentation/FAQ.

* Make the sentence more clear.
2020-02-04 17:40:12 +08:00
吴晟 Wu Sheng 4e50132817
Remove the local/exit span register mechanism in Java agent scenario (#4059)
* Remove the local span and exit span register mechanism in Java agent scenario.

* Fix config, plugin, and document, as exit span is not required register anymore.

* Try to fix the test case expected data due to no register for exit span.

* Fix toolkit case.

* Remove exit span from plugin test framework document.

* Update protocol, FAQ, and CHANGELOG documents to highlight this change.

* Fix NPE when no entry span in the whole segment. Set endpoint to null in segment entity.

* Fix the snapshot and add inexistence operation name id.

* Fix several async cases.

* Fix undertow test case.

* Fix wrong error log name.

* Keep name consistent with 6.x concepts.

* Try to fix 3 async scenarios.

* Fix okhttp case.

* Fix Spring Async case.

* Fix another NPE

* Fix NPE when first span has no endpoint id when it is local or exit span.

* Still fill first operation name when no endpoint id.
2019-12-15 19:15:47 +08:00
Videl Smith daabc1f5b6 Documentation proofreading (#3999)
* Fixes: README.md

* Adds: new FAQ

See issues #3924, #3935, #3975

* Fixes: setup documentation

* Update README.md
2019-12-13 11:08:36 +08:00
Jared Tan a848033a75 add faq with es. (#3599)
* add faq with es.

* Update README.md
2019-10-11 17:14:26 +08:00
吴晟 Wu Sheng e1ce6edfab Fill my FAQ reply in official document. (#3450)
* Fill my FAQ reply in official document.

* Add image.
2019-09-11 07:09:50 +08:00
吴晟 Wu Sheng 825a52195d
Summary FAQ of WebSphere installation. (#2911)
* Create install_agent_on_websphere.md

* Update README.md
2019-06-19 22:40:55 +08:00
吴晟 Wu Sheng c3de8e8b7c
Add FAQ for ElasticSearch server side setting (#2859)
* Create ES-Server-FAQ.md

* Update README.md

* Update ES-Server-FAQ.md
2019-06-13 17:56:00 +08:00
Wu Sheng f121730ede Finish the new document structure. 2018-07-08 21:04:50 -07:00