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

mark4z pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git


The following commit(s) were added to refs/heads/develop by this push:
     new c23d0934 update: propetheus metric config doc. (#581)
c23d0934 is described below

commit c23d0934e006a8cc8ac7be4649628e61e86336ce
Author: Phil <[email protected]>
AuthorDate: Sun Sep 24 20:01:28 2023 +0800

    update: propetheus metric config doc. (#581)
---
 docs/sample/others/prometheus.md | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/docs/sample/others/prometheus.md b/docs/sample/others/prometheus.md
index 981fb930..1219dfac 100644
--- a/docs/sample/others/prometheus.md
+++ b/docs/sample/others/prometheus.md
@@ -66,14 +66,20 @@ static_resources:
                     route:
                       cluster: user
                       cluster_not_found_response_code: 505
-                http_filters:
-                  - name: dgp.filter.http.prometheusmetric
+              http_filters:
+                - name: dgp.filter.http.httpproxy
+                  config:
+                    maxIdleConns: 100
+                    maxIdleConnsPerHost: 100
+                    MaxConnsPerHost: 100
+                - name: dgp.filter.http.prometheusmetric
+                  config:
                     metric_collect_rules:
                       metric_path: "/metrics"
                       push_gateway_url: "http://127.0.0.1:9091";
                       counter_push: true
                       push_interval_threshold: 10
-                      push_job_name: "prometheus"
+                      push_job_name: "pixiu"
       config:
         idle_timeout: 5s
         read_timeout: 5s

Reply via email to