1. 23 3月, 2020 1 次提交
  2. 18 1月, 2020 1 次提交
    • 静夜思朝颜's avatar
      Sniffer processing profile task and report status and snapshot (#4220) · 90f3c4de
      静夜思朝颜 提交于
      * sniffer processing profile task and report status and snapshot
      
      * resolve testServiceDependencies test case error, use same register with `TraceSegmentServiceClient`
      
      * resolve names
      
      * change profile to single one thread run.
      
      * 1. change to the ArrayList, because known the max size
      2. rename issue resolved
      
      * add profiling status enum
      
      * change sniffer use full name issue
      
      * 1. remove `prepareProfiling` method, build profiling status when construct `TracingContext`
      2. add `TracingThreadListenerManager`, notify when tracing main thread finish
      3. change ProfileThread start when process new profile task
      
      * remove unnecessary getter
      
      * add test assert error message
      
      * adding `AgentServiceRule`
      
      * revert original assert
      
      * remove unnecessary getter
      
      * resolve issues
      
      * reduce findService invoke
      
      * resolve style error
      
      * recheck profiling when change first span operatin name
      
      * resolve issues
      1. remove `ContextManager#profilingRecheck`, only check on `TracingContext`
      2. rename comments
      3. resolve volatile array setting
      
      * remove article link
      
      * add `ProfileTask#maxSamplingCount` check
      
      * resolve conflict (Downstream -> Commands)
      
      * 1. change profilingSegmentSlots init on construct
      2. if is profiling, recheck dont need to stop
      3. total profiling count increment on first dump
      
      * remove unused return val
      
      * remove some `@param` and `@return`
      
      * add profile task check result data bean
      
      * change profiler slot to `AtomicReferenceArray`
      
      * resolved java doc error
      
      * fix doc error, remove meaningless descriptions
      
      * resolve missed profile receiver on oap starter
      
      * resolve method invoke error
      Co-authored-by: wu-sheng's avatar吴晟 Wu Sheng <wu.sheng@foxmail.com>
      Co-authored-by: Nkezhenxu94 <kezhenxu94@163.com>
      90f3c4de
  3. 17 1月, 2020 1 次提交
    • K
      Drop support of protocol v1 (sw3) (#4244) · 019af3e3
      kezhenxu94 提交于
      * Drop support of protocol v1 (sw3)
      
      * Remove versioning logic further
      
      * Remove more version5-only classes
      
      * Commit missing files
      
      * Update submodule and address review comment
      
      * Fix failed tests
      019af3e3
  4. 09 1月, 2020 1 次提交
    • 静夜思朝颜's avatar
      Provide profile task downstream to sniffer (#4172) · 4cf0600f
      静夜思朝颜 提交于
      * Provide profile task downstream to sniffer
      
      * fix agent unit testcase issue
      
      * add profile switch config on sniffer
      
      * fix es error
      
      * 1. add @DefaultImplementor on the sniffer profile task service
      2. change ProfileTaskExecutionService#PROFILE_TASK_READY_SCHEDULE to final and remove volatile
      2. fix style error
      
      * change timeFromStartMills use `<` to compare
      
      * 1. add `maxSamplingCount` to profile task
      2. make profile task limit to the common package
      
      * 1. change `agent.active_profile` to `profile.active` and make true on default
      2. add `maxSamplingCount` in profile task
      3. use `createTime` to check has new command list
      4. add task re-check before process profile task
      
      * 1. add `profile-receiver` document
      2. change `ProfileTaskExecutionService` use single schedule thread pool
      3. cache dont need fetch data when no data, use auto-fresh mechanism only
      
      * remove navigate time judge, fix comment wrong meaning
      4cf0600f
  5. 04 1月, 2020 1 次提交
  6. 03 1月, 2020 2 次提交
  7. 30 12月, 2019 1 次提交
  8. 26 12月, 2019 1 次提交
  9. 25 12月, 2019 3 次提交
  10. 21 12月, 2019 1 次提交
  11. 17 12月, 2019 2 次提交
  12. 15 12月, 2019 1 次提交
    • wu-sheng's avatar
      Remove the local/exit span register mechanism in Java agent scenario (#4059) · 4e501328
      wu-sheng 提交于
      * 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.
      4e501328
  13. 27 11月, 2019 1 次提交
  14. 20 11月, 2019 1 次提交
  15. 19 11月, 2019 1 次提交
  16. 10 11月, 2019 1 次提交
  17. 28 10月, 2019 1 次提交
  18. 06 10月, 2019 1 次提交
  19. 20 9月, 2019 1 次提交
  20. 19 9月, 2019 1 次提交
  21. 18 9月, 2019 1 次提交
    • L
      Add Light4j plugin (#3323) · 72f07b81
      Louis Tsui 提交于
      * Add Light4J 1.6.x plug-in
      
      * Add unit test for Light4J plug-in
      
      * Add missing id to server-starter
      
      * Remove mentions of version 1.6.x
      
      Some local testing showed that the plugin successfully generated traces for a light4j project built with light-codegen v2.x. Therefore, there is no need for a separate plugin for v2.x and no distinction needs to be made with light4j v1.6.x.
      
      * Update supported light4j versions
      
      * Use ContextSnapshot to maintain trace
      
      In a typical Light4j project, the ExceptionHandler#handleRequest is the asynchronous execution point. The flow is ExceptionHandler#handleRequest -> HttpServerExchange#dispatch -> ... -> ExceptionHandler#handleRequest. This means that handleRequest is being intercepted twice and each time a LocalSpan is created. Without handling thread propagation, the trace segment gets split up.
      
      By saving a ContextSnapshot into the enhanced object (ExceptionHandler), we can determine if it is necessary to continue the segment.
      
      * Update logic for span creation in trace
      
      By default, the Light4J plugin now overrides the Undertow plugin's entry span with its own. This new entry span is created just before execution of the ExceptionHandler#handleRequest in the I/O thread. The entry span is generated here because it is considered the starting point of the Light4J handler chain.
      
      There is now also the option to enable detailed span creation when tracing requests through Light4J. These local spans mark which middleware and business handlers are involved with handling the HTTP request to a Light4J service.
      
      * Update skywalking version
      
      * Update light4j version
      
      * Fix LightInstrumentation javadoc
      
      * Remove import violating checkstyle
      
      This import was added from the link reference in the javadoc. The javadoc has now been changed to just reference the method name.
      
      * Move light4j agent config property
      
      * Sync UI
      72f07b81
  22. 17 9月, 2019 1 次提交
  23. 29 8月, 2019 1 次提交
  24. 28 8月, 2019 1 次提交
    • S
      ADD: add operationName length threshold (#3357) · 3d00d83f
      Stalary 提交于
      * ADD: add operationName length threshold
      
      * MOD:move operationName threshold to Config, simplified code
      
      * MOD:update agent set-up document, clean code
      
      * MOD:add agent.operation_name_threshold conf prefix
      3d00d83f
  25. 27 8月, 2019 1 次提交
    • wu-sheng's avatar
      Support op group name in agent config core. (#3299) · a3241f0a
      wu-sheng 提交于
      * Support op group name in agent config core.
      
      * Provide core API for operation name grouping, rest template plugin update, and doc update.
      
      * Fix doc
      
      * Fix test case.
      
      * Fix missing changes.
      
      * add shuyun to powered-by.md (#3341)
      
      * add shuyun to powered-by.md
      
      * update powered-by.md
      
      * Remove static method.
      a3241f0a
  26. 14 8月, 2019 2 次提交
  27. 11 8月, 2019 1 次提交
  28. 03 8月, 2019 1 次提交
    • L
      Add jdk http plugin (#3171) · 6e837153
      li.can 提交于
      * add http
      
      * update plugin
      
      * Add StaticMethodsAroundInterceptor to be injected.
      
      * move to options plugin
      
      * move folder
      
      * update pom
      
      * support https
      
      * add witness class
      
      * Make JDK9-11 available for bootstrap instrumentation
      
      * Remove temp folder of old bootstrap instrumentation requirement.
      
      * remove witness ,work for jdk6,7,8,9,10,11
      
      * Make JDK 12 works.
      
      * move jdk-http-plugin to bootstrap-plugins folder
      
      * add httpsclient
      
      * update README.md
      6e837153
  29. 02 8月, 2019 1 次提交
  30. 31 7月, 2019 2 次提交
  31. 28 7月, 2019 1 次提交
  32. 25 7月, 2019 1 次提交
  33. 20 7月, 2019 1 次提交
  34. 23 6月, 2019 1 次提交
    • wu-sheng's avatar
      Fix OOM by empty stack of exception. (#2931) · d844a525
      wu-sheng 提交于
      * Support bootstrap class enhance and fix OOM by empty stack of exception.
      
      * Agent document update
      
      * Remove a word.
      
      * Fix wrong cause exception search.
      
      * Fix the condition
      
      * Revert bootstrap class loader enhance.
      
      * Remove import.
      
      * no message
      d844a525