This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git
The following commit(s) were added to refs/heads/master by this push:
new e2d99878d1 📝Optimize some details in metrics start (#2551)
e2d99878d1 is described below
commit e2d99878d1b45733c2817c732334be8a69d66217
Author: songxiaosheng <[email protected]>
AuthorDate: Thu Apr 20 16:26:53 2023 +0800
📝Optimize some details in metrics start (#2551)
* :memo: metrics start
* :memo: add metrics start doc
* :memo: add metrics start doc
* :memo: add metrics start doc
* :memo:Optimize some details
---
content/zh-cn/overview/tasks/observability/metrics-start.md | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/content/zh-cn/overview/tasks/observability/metrics-start.md
b/content/zh-cn/overview/tasks/observability/metrics-start.md
index 7764de5b3b..1395ab3cff 100644
--- a/content/zh-cn/overview/tasks/observability/metrics-start.md
+++ b/content/zh-cn/overview/tasks/observability/metrics-start.md
@@ -6,7 +6,7 @@ linkTitle: 指标入门
no_list: true
title: 指标监控入门指南
type: docs
-weight: 10
+weight: 2
---
@@ -33,7 +33,7 @@ Dubbo官方案例中提供了指标埋点的示例,可以访问如下地址获
- SpringBoot项目参考案例:
[dubbo-samples-metrics-spring-boot](https://github.com/apache/dubbo-samples/tree/master/4-governance/dubbo-samples-metrics-spring-boot)
### 依赖
-目前Dubbo的指标埋点仅支持3.2及以上版本,同时需要额外引入dubbo-metrics-prometheus依赖如下所示:
+目前Dubbo的指标埋点仅支持3.2及以上版本,同时需要额外引入dubbo-spring-boot-observability-starter依赖如下所示:
```xml
<dependency>
<groupId>org.apache.dubbo</groupId>
@@ -90,8 +90,5 @@ dubbo.metrics.protocol=prometheus
如果需要测试指标数据可以直接在服务器上面执行如下命令:
```bash
-curl http://localhost:22222
-```
-
-
-
\ No newline at end of file
+curl http://localhost:22222/metrics
+```
\ No newline at end of file