You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by li...@apache.org on 2022/04/19 06:15:13 UTC
[servicecomb-docs] branch master updated: [#265]modified the right address for integrate with prometheus where should be : instead of port (#267)
This is an automated email from the ASF dual-hosted git repository.
liubao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-docs.git
The following commit(s) were added to refs/heads/master by this push:
new c4cfa7d [#265]modified the right address for integrate with prometheus where should be : instead of port (#267)
c4cfa7d is described below
commit c4cfa7d85968704e79a12d2492bbcb6f497e6d49
Author: chenyang(一YOC一) <86...@users.noreply.github.com>
AuthorDate: Tue Apr 19 14:15:08 2022 +0800
[#265]modified the right address for integrate with prometheus where should be : instead of port (#267)
---
java-chassis-reference/zh_CN/docs/general-development/metrics.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java-chassis-reference/zh_CN/docs/general-development/metrics.md b/java-chassis-reference/zh_CN/docs/general-development/metrics.md
index 8bb0064..1e01134 100644
--- a/java-chassis-reference/zh_CN/docs/general-development/metrics.md
+++ b/java-chassis-reference/zh_CN/docs/general-development/metrics.md
@@ -101,7 +101,7 @@ servicecomb的应用性能监控功能支持对接Prometheus,首先需要在您
servicecomb:
metrics:
prometheus:
- address: 9696
+ address: ${ip}:${port}
```
该配置项是设置普罗米修斯框架监听的端口,您只需使用浏览器访问对应的ip地址加该端口即http://ip:port/metrics 就可以获得如下格式的监控数据: