HendSame opened a new pull request #7194:
URL: https://github.com/apache/skywalking/pull/7194


   ### <Feature description>
   - As we know, it supports configure `sampling rate` and `trace latency` on 
the backend side, but it is global.
   - Can I configure sampling rate dynamically follow every service or instance 
or interface latitude in some cases when I only want to see the exception 
trace, or  the trace that has cost a very long time? But I do not want to 
configure the global `sampling rate` and `trace latency`, by reason of the 
storage layer cannot support large data load.
   - We  can configure in a yaml:
   ```
   services:
     - name: serverName # the server name which show skywalking-ui
       instances:
         - name: [email protected] # the server instance which show 
skywalking-ui
           sampleRate: 900 # instance latitude
           duration: 10000 # trace latency time
       endpoints:
         - name: '/url' # the endpoint
           sampleRate: 800
           duration: 10000 # trace latency time
       sampleRate: 1000 # endpoint latitude
       duration: 10000 # trace latency time
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to