You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/12/26 11:11:02 UTC
[skywalking] branch master updated: correct the doc of backend
trace sampling with the latest configuration (#6085)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 1cc68b4 correct the doc of backend trace sampling with the latest configuration (#6085)
1cc68b4 is described below
commit 1cc68b48d8e1ac4df516d9778cf035454fde184e
Author: Viktor Yi <vi...@163.com>
AuthorDate: Sat Dec 26 19:10:42 2020 +0800
correct the doc of backend trace sampling with the latest configuration (#6085)
---
CHANGES.md | 1 +
docs/en/setup/backend/trace-sampling.md | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/CHANGES.md b/CHANGES.md
index 8a3a83d..918b005 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -59,6 +59,7 @@ Release Notes.
* Update the documents of backend fetcher and self observability about the latest configurations.
* Add documents about the group name of service.
* Update docs about the latest UI.
+* Update the document of backend trace sampling with the latest configuration.
All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/68?closed=1)
diff --git a/docs/en/setup/backend/trace-sampling.md b/docs/en/setup/backend/trace-sampling.md
index 70785e7..4c343e4 100644
--- a/docs/en/setup/backend/trace-sampling.md
+++ b/docs/en/setup/backend/trace-sampling.md
@@ -14,7 +14,7 @@ In **agent-analyzer** module, you will find `sampleRate` setting.
agent-analyzer:
default:
...
- sampleRate: ${SW_TRACE_SAMPLE_RATE:1000} # The sample rate precision is 1/10000. 10000 means 100% sample in default.
+ sampleRate: ${SW_TRACE_SAMPLE_RATE:10000} # The sample rate precision is 1/10000. 10000 means 100% sample in default.
forceSampleErrorSegment: ${SW_FORCE_SAMPLE_ERROR_SEGMENT:true} # When sampling mechanism activated, this config would make the error status segment sampled, ignoring the sampling rate.
slowTraceSegmentThreshold: ${SW_SLOW_TRACE_SEGMENT_THRESHOLD:-1} # Setting this threshold about the latency would make the slow trace segments sampled if they cost more time, even the sampling mechanism activated. The default value is `-1`, which means would not sample slow traces. Unit, millisecond.
```