This is an automated email from the ASF dual-hosted git repository. liujun pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/dubbo-go-samples.git
commit 13a002954bb6a78456153da2f0460b67ab850576 Merge: 68fcddb3 bff47903 Author: Ken Liu <[email protected]> AuthorDate: Thu Mar 14 14:47:09 2024 +0800 Merge pull request #717 from FoghostCn/metrics add k8s example to metrics sample metrics/Deployment.yml | 131 ++++++++++++++++++++++++++++++++++++++++++ metrics/README.md | 65 ++++++++++++++++++++- metrics/assert/podmonitor.png | Bin 0 -> 85451 bytes metrics/go-client/Dockerfile | 23 ++++++++ metrics/go-client/build.sh | 20 +++++++ metrics/go-client/cmd/main.go | 15 +++-- metrics/go-server/Dockerfile | 23 ++++++++ metrics/go-server/build.sh | 20 +++++++ metrics/go-server/cmd/main.go | 27 ++++++--- 9 files changed, 309 insertions(+), 15 deletions(-) diff --cc metrics/README.md index 481c589c,3e8a3b48..54975ffd --- a/metrics/README.md +++ b/metrics/README.md @@@ -25,9 -25,10 +25,10 @@@ curl ### Run client ```shell -go run ./client/main.go +go run ./go-client/cmd/main.go ``` + ## deploy to local install prometheus and open prometheus config file `prometheus.yml`, write the config like this ```yaml
