1. 20 11月, 2021 1 次提交
  2. 26 10月, 2021 1 次提交
  3. 17 7月, 2021 1 次提交
    • wu-sheng's avatar
      Logically revert #6642 and partial #7153 to reduce unnecessary thread and... · a6afcac8
      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).
      a6afcac8
  4. 14 7月, 2021 1 次提交
    • wu-sheng's avatar
      Remove synchronous persistence mechanism in API level and ElasticSearch implementation (#7293) · de975c7e
      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.
      de975c7e
  5. 01 7月, 2021 1 次提交
  6. 30 6月, 2021 1 次提交
  7. 29 6月, 2021 1 次提交
  8. 02 4月, 2021 1 次提交
  9. 30 4月, 2020 1 次提交
  10. 29 4月, 2020 1 次提交
  11. 11 2月, 2020 1 次提交
    • K
      Set up more strict code styles and fix existing issues (#4337) · 5b255ba3
      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.
      5b255ba3
  12. 24 7月, 2019 1 次提交
  13. 21 7月, 2019 1 次提交
    • Reduce the number of threads to improve performance. (#3133) · 8306ad45
      彭勇升 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.
      8306ad45
  14. 20 7月, 2019 1 次提交
  15. 19 7月, 2019 1 次提交
  16. 14 7月, 2019 1 次提交
  17. 15 5月, 2019 1 次提交
    • New OAP annotations, they are friendly for streaming loader. (#2670) · 63fb961c
      彭勇升 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.
      63fb961c
  18. 10 5月, 2019 1 次提交
  19. 12 2月, 2019 1 次提交
    • wu-sheng's avatar
      Support Top sql (#2239) · 4babd6ff
      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
      4babd6ff
  20. 10 1月, 2019 1 次提交
    • wu-sheng's avatar
      Provide grafana settings for telemetry (#2138) · 5f57e561
      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
      5f57e561
  21. 08 1月, 2019 1 次提交
    • wu-sheng's avatar
      Implement Prometheus to oap backend telemetry (#2133) · 6499d4f5
      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
      6499d4f5
  22. 18 11月, 2018 1 次提交
  23. 19 9月, 2018 1 次提交
  24. 09 9月, 2018 1 次提交