- 20 11月, 2021 1 次提交
-
-
由 kezhenxu94 提交于
The ES persistence execution is now asynchronous and the execution latency only counts the time to insert the requests into the bulk processor, instead of the time after the requests are flushed into the storage, this patch fixes that issue. There is the same issue in prepare latency but that needs more changes so I'll leave it to another pull request.
-
- 26 10月, 2021 1 次提交
-
-
由 Kirs 提交于
-
- 17 7月, 2021 1 次提交
-
-
由 wu-sheng 提交于
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).
-
- 14 7月, 2021 1 次提交
-
-
由 wu-sheng 提交于
* 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.
-
- 01 7月, 2021 1 次提交
-
-
由 wu-sheng 提交于
-
- 30 6月, 2021 1 次提交
-
-
由 wu-sheng 提交于
-
- 29 6月, 2021 1 次提交
-
-
由 Alvin 提交于
-
- 02 4月, 2021 1 次提交
-
-
由 Evan 提交于
* make sync metrics concurrency * add changelog * add changelog * polish codes * change default value * remove unnecessary codes Co-authored-by: NEvan <evanljp@outlook.com> Co-authored-by: NZhenxu Ke <kezhenxu94@apache.org> Co-authored-by: 吴晟 Wu Sheng <wu.sheng@foxmail.com>
-
- 30 4月, 2020 1 次提交
-
-
由 wu-sheng 提交于
-
- 29 4月, 2020 1 次提交
-
-
由 wu-sheng 提交于
* Rewrite the whole window and collection to new ReadWriteSafeCache. * Remove redundant fields.
-
- 11 2月, 2020 1 次提交
-
-
由 kezhenxu94 提交于
Motivation: Review code styles with some bots automatically. Modifications: Set up ReviewDog in GitHub Action to review code style. Add more check rules to checkstyle plugin. Result: Obvious code styles can be reviewed and commented automatically.
-
- 24 7月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* Feature of database session * Make it configurable. * Make the OAP server can't startup.
-
- 21 7月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* 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.
-
- 20 7月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* Improve OAP server performance.
-
- 19 7月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* Fixed the problem of dirty reading of the storage implementation of elasticsearch. * Fixed a mistake.
-
- 14 7月, 2019 1 次提交
-
-
由 wu-sheng 提交于
-
- 15 5月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* New stream annotation. - Inventory annotation example: @Stream(name = ServiceInventory.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_INVENTORY, storage = @storage(builder = ServiceInventory.Builder.class, deleteHistory = false), kind = StreamKind.Inventory) - Metrics annotation example: @Stream(name = ServiceRelationClientSideMetrics.INDEX_NAME, scopeId = DefaultScopeDefine.SERVICE_RELATION, storage = @storage(builder = ServiceRelationClientSideMetrics.Builder.class), kind = StreamKind.Metrics) - Record annotation example: @Stream(name = SegmentRecord.INDEX_NAME, scopeId = DefaultScopeDefine.SEGMENT, storage = @storage(builder = SegmentRecord.Builder.class), kind = StreamKind.Record) - TopN annotation example: @Stream(name = TopNDatabaseStatement.INDEX_NAME, scopeId = DefaultScopeDefine.DATABASE_SLOW_STATEMENT, storage = @storage(builder = TopNDatabaseStatement.Builder.class), kind = StreamKind.TopN) * no message * Stream annotation finish. * Make stream processors to be the singleton class. * Fixed the compile errors. * Modify the OAL module for this annotation refactor. * Add apache license header. * Duplicate import. * Fixed check style error.
-
- 10 5月, 2019 1 次提交
-
-
由 彭勇升 pengys 提交于
* Rename metric to metrics. * Fixed test case execute failure issues.
-
- 12 2月, 2019 1 次提交
-
-
由 wu-sheng 提交于
* The prototype of topN sql worker. * Add scope and new manual dispatcher. * no message * Finish topN persistence codes. Not test yet. And query have not added. * Finish the top n database statement persistent. * Support different slow thresholds for different db types. * Fix wrong db default threshold * Finish new query protocol binding. * Provide query empty implementation and sync ui. * Finish all codes, hope it works :P I will run the tests tonight. * Fix * Fix * Fix a startup issue. * Add time bucket to persistent. * Fix wrong query result column name. * Fix Database query. * Fix checkstyle. * Fix wrong order logic, and add a test case to verify, to fix https://github.com/apache/incubator-skywalking/pull/2239#discussion_r255948249
-
- 10 1月, 2019 1 次提交
-
-
由 wu-sheng 提交于
* Change a label name for sw instance to avoid confict. * Fix a wrong metric name. * Fix too many counter instances. * Set uptime to second. * Fix format. * Fix format * Remove two unnecessary counter. * Provide grafana dashboard settings and remove unnecessary metric. * Provide a simple UI brief doc. Fix #2137
-
- 08 1月, 2019 1 次提交
-
-
由 wu-sheng 提交于
* Finish the basic codes of telemetry. * Add many telemetry in oap. * Fix a test case. * Finish all telemetry metric. * Fix format. * Make telemetry works. * Support JVM metrics. * Add doc for telemetry. * Fix typo. * Fix #2135
-
- 18 11月, 2018 1 次提交
-
-
由 彭勇升 pengys 提交于
* OAP server testing module. #1930 * #Missing delete code.
-
- 19 9月, 2018 1 次提交
-
-
由 彭勇升 pengys 提交于
-
- 09 9月, 2018 1 次提交
-
-
由 彭勇升 pengys 提交于
* Add generate indicator and dispatcher about service topology but not test. * Delete call type from service relation. * Streaming analysis topology test success. * Fixed the check style error.
-