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/08 15:07:08 UTC

[skywalking] branch master updated: Update backend-fetcher.md (#5972)

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 0a9a746  Update backend-fetcher.md (#5972)
0a9a746 is described below

commit 0a9a746efb3d9d93e7041e3a82b45621f679e162
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Tue Dec 8 23:02:31 2020 +0800

    Update backend-fetcher.md (#5972)
---
 CHANGES.md                                 | 2 +-
 docs/en/setup/backend/backend-fetcher.md   | 5 ++++-
 docs/en/setup/backend/backend-telemetry.md | 2 +-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 5952e0a..4e39de9 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -28,7 +28,7 @@ Release Notes.
 * Fix trace instance selector bug.
 
 #### Documentation
-
+* Update the documents of backend fetcher and self observability about the latest configurations.
 
 All issues and pull requests are [here](https://github.com/apache/skywalking/milestone/68?closed=1)
 
diff --git a/docs/en/setup/backend/backend-fetcher.md b/docs/en/setup/backend/backend-fetcher.md
index 764e9b2..10686c5 100644
--- a/docs/en/setup/backend/backend-fetcher.md
+++ b/docs/en/setup/backend/backend-fetcher.md
@@ -3,11 +3,14 @@ Fetcher is a concept in SkyWalking backend. It uses pulling mode rather than [re
 read the data from the target systems. This mode is typically in some metrics SDKs, such as Prometheus.
 
 ## Prometheus Fetcher
+Suppose you want to enable some `metric-custom.yaml` files stored at `fetcher-prom-rules`, append its name to `enabledRules` of 
+ `promethues-fetcher` as below:
+ 
 ```yaml
 prometheus-fetcher:
   selector: ${SW_PROMETHEUS_FETCHER:default}
   default:
-    active: ${SW_PROMETHEUS_FETCHER_ACTIVE:false}
+    enabledRules: ${SW_PROMETHEUS_FETCHER_ENABLED_RULES:"self,metric-custom"}
 ```
 
 ### Configuration file
diff --git a/docs/en/setup/backend/backend-telemetry.md b/docs/en/setup/backend/backend-telemetry.md
index 7f7efc0..5f9e3f0 100644
--- a/docs/en/setup/backend/backend-telemetry.md
+++ b/docs/en/setup/backend/backend-telemetry.md
@@ -74,7 +74,7 @@ telemetry:
 prometheus-fetcher:
   selector: ${SW_PROMETHEUS_FETCHER:default}
   default:
-    active: ${SW_PROMETHEUS_FETCHER_ACTIVE:true}
+    enabledRules: ${SW_PROMETHEUS_FETCHER_ENABLED_RULES:"self"}
 ``` 
 
 3. Make sure `config/fetcher-prom-rules/self.yaml` exists.