1. 05 2月, 2020 1 次提交
  2. 03 2月, 2020 1 次提交
  3. 02 2月, 2020 3 次提交
    • K
      Clean up legacy v1 header logic, use built-in Base64 since JDK8 (#4307) · bf38e43d
      kezhenxu94 提交于
      ### Motivation:
      
      Codes clean up
      
      ### Modifications:
      
      - Remove v1 header, follow up #4244
      
      - Use built-in Base64 class (since JDK8)
      
      ### Result:
      
      - No more legacy v1 headers
      
      - No unnecessary codes concerns by using built-in ability
      bf38e43d
    • K
      Make traces verification loosely (#4306) · 408a777d
      kezhenxu94 提交于
      ### Motivation:
      
      Make E2E tests more stable.
      
      ### Modifications:
      
      Verify the traces loosely as other tests, and remove the `verify` method which verifies traces strictly, as we have preparation that also generates traces.
      
      ### Result:
      
      E2E tests are more stable.
      408a777d
    • K
      Performance tuning, replace AtomicInteger with AtomicIntegerFieldUpdater (#4305) · 360eae22
      kezhenxu94 提交于
      Motivation:
      
      Reduce unnecessary memory allocation in frequently used class.
      
      Modifications:
      
      Replace the `AtomicInteger` with `AtomicIntegerFieldUpdater`
      
      Result:
      
      We can save 4 bytes (for the reference to `AtomicInteger` itself) for each `TracingContext`, which saves credible memory in a high-concurrent agent service.
      360eae22
  4. 01 2月, 2020 1 次提交
  5. 31 1月, 2020 2 次提交
  6. 30 1月, 2020 3 次提交
  7. 29 1月, 2020 3 次提交
  8. 20 1月, 2020 3 次提交
  9. 19 1月, 2020 1 次提交
  10. 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
  11. 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
  12. 16 1月, 2020 2 次提交
  13. 15 1月, 2020 1 次提交
  14. 13 1月, 2020 4 次提交
  15. 12 1月, 2020 3 次提交
    • J
      add token authentication between agent and oap receiver. (#4197) · 13107196
      Jared Tan 提交于
      * add token authentication between agent and oap receiver.
      
      * revert ui.
      
      * fix code style.
      
      * update docs.
      
      * Update docs/en/setup/backend/backend-token-auth.md
      Co-Authored-By: Nkezhenxu94 <kezhenxu94@apache.org>
      
      * fix hits.
      
      * filter
      
      * revert yml.
      
      * update logical.
      
      * fix codestyle check.
      
      * fix ci and add e2e test case.
      
      * revert mistake commit.
      
      * fix ci
      
      * remove duplicate maven dependency.
      
      * revert pom
      
      * revert unchanged.
      
      * update javadocs.
      
      * update logical.
      Co-authored-by: Nkezhenxu94 <kezhenxu94@163.com>
      13107196
    • wu-sheng's avatar
      Support multiple linear values and merging p50/75/90/95/99 into percentile (#4214) · 9149de2a
      wu-sheng 提交于
      * Support new percentile func with new alarm and exporter for this new func.
      
      * Fix e2e and OAL script
      
      * Fix wrong column.
      
      * Fix percentile bug and oal engine bug.
      
      * Update query protocol and add percentile test case
      
      * Support new query
      
      * Adopt GraphQL requirement
      
      * Fix wrong type cast.
      
      * Fix query in H2 and ES.
      
      * Fix docs and comments.
      
      * Fix an e2e compile issue
      
      * Fix javadoc issue and e2e test issue.
      
      * Change CPM to Apdex in TTL test.
      
      * Fix OAL for TTL e2e
      
      * Add metrics query for service percentile.
      
      * Fix OAL engine bug. Method deserialize is not working when more than two field types are IntKeyLongValueHashMap
      
      * Support multiple IntKeyLongValueHashMap fields in remote. About serialize/deserialize methods.
      
      * Fix graphql statement error in e2e.
      
      * Fix serialize not working and add generated serialize/deserialize of percentile into test cases.
      
      * Fix test case format
      
      * Remove generated code test.
      
      * Fix failed e2e test
      
      * Use avg resp time to apdex in the TTL test.
      
      * ADD multiple linear metrics check for endpoint in e2e cluster.
      
      * Support `-` to represent no threshold and doc of alarm about this.
      
      * Move break to right place.
      
      * Fix wrong break(s)
      
      * Fix break and add a test case for multiple values alarm.
      
      * Fix format.
      
      * Add more doc for this new feature and GraphQL query protocol.
      Co-authored-by: NJared Tan <jian.tan@daocloud.io>
      Co-authored-by: Nkezhenxu94 <kezhenxu94@163.com>
      9149de2a
    • K
      Optimize trace ignore plugin (#4209) · dcb71cde
      Kanro 提交于
      * Optimize trace ignore plugin
      
      * Add license for FastPathMatcher
      
      * Boot again after setting config in test
      
      * Fix check style
      
      * Fix typos
      Co-authored-by: Nkezhenxu94 <kezhenxu94@163.com>
      dcb71cde
  16. 11 1月, 2020 1 次提交
  17. 10 1月, 2020 3 次提交
  18. 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
  19. 07 1月, 2020 3 次提交
  20. 06 1月, 2020 2 次提交