You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2020/12/08 08:00:55 UTC

[skywalking] branch hanahmily-patch-1 created (now 020f46d)

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

hanahmily pushed a change to branch hanahmily-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git.


      at 020f46d  Update backend-fetcher.md

This branch includes the following new commits:

     new 020f46d  Update backend-fetcher.md

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

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

hanahmily pushed a commit to branch hanahmily-patch-1
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 020f46d38d18c11f99ff48eaef9168c3aa8ae236
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Tue Dec 8 16:00:27 2020 +0800

    Update backend-fetcher.md
---
 docs/en/setup/backend/backend-fetcher.md | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/en/setup/backend/backend-fetcher.md b/docs/en/setup/backend/backend-fetcher.md
index 764e9b2..83918fc 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 `metric-custom.yaml` stored at `fetcher-prom-rules`, append its name to `enabledRules` of 
+ `promethues-fetcher` as below:
+ 
 ```yaml
 prometheus-fetcher:
-  selector: ${SW_PROMETHEUS_FETCHER:default}
+  selector: ${SW_PROMETHEUS_FETCHER:-}
   default:
-    active: ${SW_PROMETHEUS_FETCHER_ACTIVE:false}
+    enabledRules: ${SW_PROMETHEUS_FETCHER_ENABLED_RULES:"self,metric-custom"}
 ```
 
 ### Configuration file