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/09 00:23:22 UTC

[skywalking] branch 8.3.0/docs-hotfix created (now 81a0aa4)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a change to branch 8.3.0/docs-hotfix
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 81a0aa4  Update backend-fetcher.md (#5972)

This branch includes the following new commits:

     new 81a0aa4  Update backend-fetcher.md (#5972)

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[skywalking] 01/01: Update backend-fetcher.md (#5972)

Posted by wu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch 8.3.0/docs-hotfix
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 81a0aa424a86c23c003d6ac8f352fe1ace776461
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 3acc1c7..ed67997 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -14,7 +14,7 @@ Release Notes.
 
 
 #### 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 95a5818..dd7c376 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.